New project
# Create empty nx project
npx --yes [email protected] --name=project-name --preset=apps --interactive=false --ci=skip # Go to created project
cd project-name # Install all need main dev-dependencies
npm install --save-dev @nestjs-mod/schematics@latest # Create NestJS-mod application
./node_modules/.bin/nx g @nestjs-mod/schematics:application --directory=apps/app-name --name=app-name --projectNameAndRootFormat=as-provided --strict=true
Update exists project:
npm run nx -- migrate latest
npm run nx -- migrate --run-migrations
npx -y npm-check-updates @nestjs-mod/* nestjs-mod @theunderscorer/* rucken @angular* *authorizerdev* *prisma* *redis* *nats* *minio* *pino* -u && npm i
Links
Like this:
Like Loading...
Related
Discover more from Coursity
Subscribe to get the latest posts sent to your email.