@nestjs/schematics 10.1.4 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,15 +22,15 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@nestjs/testing": "^10.0.0",
25
- "@babel/core": "7.25.2",
26
- "@babel/node": "7.25.0",
27
- "@babel/plugin-proposal-decorators": "7.24.7",
28
- "@babel/plugin-transform-runtime": "7.24.7",
29
- "@babel/preset-env": "7.25.3",
30
- "@babel/register": "7.24.6",
31
- "@babel/runtime": "7.25.0",
25
+ "@babel/core": "7.25.8",
26
+ "@babel/node": "7.25.7",
27
+ "@babel/plugin-proposal-decorators": "7.25.7",
28
+ "@babel/plugin-transform-runtime": "7.25.7",
29
+ "@babel/preset-env": "7.25.8",
30
+ "@babel/register": "7.25.7",
31
+ "@babel/runtime": "7.25.7",
32
32
  "jest": "29.7.0",
33
- "nodemon": "3.1.4",
33
+ "nodemon": "3.1.7",
34
34
  "prettier": "3.3.3",
35
35
  "supertest": "7.0.0"
36
36
  },
@@ -3,6 +3,6 @@ import { AppModule } from './app.module';
3
3
 
4
4
  async function bootstrap() {
5
5
  const app = await NestFactory.create(AppModule);
6
- await app.listen(3000);
6
+ await app.listen(process.env.PORT || 3000);
7
7
  }
8
8
  bootstrap();
@@ -58,6 +58,19 @@ $ <%= packageManager %> run test:e2e
58
58
  $ <%= packageManager %> run test:cov
59
59
  ```
60
60
 
61
+ ## Deployment
62
+
63
+ When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the [deployment documentation](https://docs.nestjs.com/deployment) for more information.
64
+
65
+ If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com), our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:
66
+
67
+ ```bash
68
+ $ <%= packageManager %> install -g mau
69
+ $ mau deploy
70
+ ```
71
+
72
+ With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.
73
+
61
74
  ## Resources
62
75
 
63
76
  Check out a few resources that may come in handy when working with NestJS:
@@ -65,6 +78,7 @@ Check out a few resources that may come in handy when working with NestJS:
65
78
  - Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
66
79
  - For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
67
80
  - To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
81
+ - Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
68
82
  - Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
69
83
  - Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
70
84
  - To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
@@ -30,13 +30,13 @@
30
30
  "@nestjs/cli": "^10.0.0",
31
31
  "@nestjs/schematics": "^10.0.0",
32
32
  "@nestjs/testing": "^10.0.0",
33
- "@types/express": "^4.17.17",
33
+ "@types/express": "^5.0.0",
34
34
  "@types/jest": "^29.5.2",
35
35
  "@types/node": "^20.3.1",
36
36
  "@types/supertest": "^6.0.0",
37
37
  "@typescript-eslint/eslint-plugin": "^8.0.0",
38
38
  "@typescript-eslint/parser": "^8.0.0",
39
- "eslint": "^8.42.0",
39
+ "eslint": "^9.0.0",
40
40
  "eslint-config-prettier": "^9.0.0",
41
41
  "eslint-plugin-prettier": "^5.0.0",
42
42
  "jest": "^29.5.0",
@@ -3,6 +3,6 @@ import { AppModule } from './app.module';
3
3
 
4
4
  async function bootstrap() {
5
5
  const app = await NestFactory.create(AppModule);
6
- await app.listen(3000);
6
+ await app.listen(process.env.PORT ?? 3000);
7
7
  }
8
8
  bootstrap();
@@ -11,6 +11,7 @@
11
11
  "outDir": "./dist",
12
12
  "baseUrl": "./",
13
13
  "incremental": true,
14
+ "forceConsistentCasingInFileNames": true,
14
15
  "skipLibCheck": true,
15
16
  "strictNullChecks": <%= strict %>,
16
17
  "noImplicitAny": <%= strict %>,
@@ -3,6 +3,6 @@ import { AppModule } from './app.module';
3
3
 
4
4
  async function bootstrap() {
5
5
  const app = await NestFactory.create(AppModule);
6
- await app.listen(3000);
6
+ await app.listen(process.env.PORT || 3000);
7
7
  }
8
8
  bootstrap();
@@ -3,6 +3,6 @@ import { <%= classify(name) %>Module } from './<%= name %>.module';
3
3
 
4
4
  async function bootstrap() {
5
5
  const app = await NestFactory.create(<%= classify(name) %>Module);
6
- await app.listen(3000);
6
+ await app.listen(process.env.port ?? 3000);
7
7
  }
8
8
  bootstrap();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/schematics",
3
- "version": "10.1.4",
3
+ "version": "10.2.1",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -41,32 +41,32 @@
41
41
  },
42
42
  "homepage": "https://github.com/nestjs/schematics#readme",
43
43
  "dependencies": {
44
- "@angular-devkit/core": "17.3.8",
45
- "@angular-devkit/schematics": "17.3.8",
46
- "comment-json": "4.2.3",
44
+ "@angular-devkit/core": "17.3.10",
45
+ "@angular-devkit/schematics": "17.3.10",
46
+ "comment-json": "4.2.5",
47
47
  "jsonc-parser": "3.3.1",
48
48
  "pluralize": "8.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@commitlint/cli": "19.4.0",
52
- "@commitlint/config-angular": "19.3.0",
53
- "@types/jest": "29.5.12",
54
- "@types/node": "20.16.1",
55
- "@typescript-eslint/eslint-plugin": "8.1.0",
56
- "@typescript-eslint/parser": "8.1.0",
57
- "cpx2": "7.0.1",
58
- "eslint": "8.57.0",
51
+ "@commitlint/cli": "19.5.0",
52
+ "@commitlint/config-angular": "19.5.0",
53
+ "@types/jest": "29.5.13",
54
+ "@types/node": "20.16.12",
55
+ "@typescript-eslint/eslint-plugin": "8.9.0",
56
+ "@typescript-eslint/parser": "8.9.0",
57
+ "cpx2": "8.0.0",
58
+ "eslint": "9.12.0",
59
59
  "eslint-config-prettier": "9.1.0",
60
- "eslint-plugin-import": "2.29.1",
60
+ "eslint-plugin-import": "2.31.0",
61
61
  "gulp": "5.0.0",
62
62
  "gulp-clean": "0.4.0",
63
- "husky": "9.1.4",
63
+ "husky": "9.1.6",
64
64
  "jest": "29.7.0",
65
- "nyc": "17.0.0",
66
- "release-it": "17.6.0",
67
- "ts-jest": "29.2.4",
65
+ "nyc": "17.1.0",
66
+ "release-it": "17.8.2",
67
+ "ts-jest": "29.2.5",
68
68
  "ts-node": "10.9.2",
69
- "typescript": "5.5.4"
69
+ "typescript": "5.6.3"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "typescript": ">=4.8.2"