@a-source/produce
v0.1.5
Published
poly-repo mono builder
Downloads
18
Readme
produce
A command-line utility to help you build your microservices from a number of github repositories.
pain point
You have a bunch of repos in different programming languages. You do not want to have a mono-repo. You want to centrally build them.
install
- yarn:
yarn global add @a-source/produce
- npm:
npm i -g @a-source/produce
what it does
produce setup
- initializes the build system itselfproduce init
- initializes all the projectsproduce tests
- runs all the test commandsproduce builds
- builds all the projectsproduce containers
- creates all the containers
what it does not do
It hopefully never does any pushing back to github. Or should it?
plans
For now the produce
is somehow tested on node projects only.
Further on I will test it on rust projects.
SYSTEM.js
The SYSTEM.js contains for now naïve implementation of commands' definitions.
NB
repository
field must usehttps
protocol- the
test
,build
, andcontainerize
commands must be defined to at least containecho OK > /dev/null
module.exports = {
jsa: {
repository: 'https://github.com/a-source/JSA.git',
commands: {
init: 'yarn',
test: 'yarn run test',
build: 'yarn run build',
containerize: 'yarn run containerize',
},
},
jsb: {
repository: 'https://github.com/a-source/JSB.git',
commands: {
init: 'yarn',
test: 'yarn run test',
build: 'yarn run build',
containerize: 'yarn run containerize',
},
},
jsc: {
commands: {
init: 'yarn',
test: 'yarn run test',
build: 'yarn run build',
containerize: 'yarn run containerize',
},
},
};