cook your project
NodeJS cli tool to populate project with most used files(eg: Docker configuration)
Technologies used:
- ⚛️ NodeJS
- 🌐 Inquirere — Library to create CLI tools
- 🌐 Docker - Containerization sistem
npm install -g preparatorul
OR
npx preparatorul
Go to your project and
preparatorul
run
node src/index.js
npm run lint
- increment "version": in package.json
- push to master branch
- npm-publish.yml will do the work
- run docker-compose up -d inside root
The package can be configured according to the needs of each one.
For this you must add the desired template in the installation location of the package.
eg:
$USERPROFILE\AppData\Roaming\npm\node_modules\preparatorul\src\templates\
/usr/local/lib/node_modules/preparatorul/src/templates
- increment version only when merging to dev
- automatic version update when push to master (npm --no-git-tag-version version minor, patch etc) / check from the last push if version was changed