DEV Community

ILshat Khamitov
ILshat Khamitov

Posted on • Edited 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

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay