DEV Community

ILshat Khamitov
ILshat Khamitov

Posted on • Updated on

NestJs-mod updated for work with NX v.19.5.3

New project

# Create empty nx project
npx --yes create-nx-workspace@19.5.3 --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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Links

Top comments (0)