@nestjs/schematics 10.1.3 → 10.2.0

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.24.9",
26
- "@babel/node": "7.24.8",
27
- "@babel/plugin-proposal-decorators": "7.24.7",
28
- "@babel/plugin-transform-runtime": "7.24.7",
29
- "@babel/preset-env": "7.24.8",
30
- "@babel/register": "7.24.6",
31
- "@babel/runtime": "7.24.8",
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();
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a>
2
+ <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
3
3
  </p>
4
4
 
5
5
  [circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
@@ -15,9 +15,9 @@
15
15
  <a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
16
16
  <a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
17
17
  <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
18
- <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
18
+ <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg" alt="Donate us"/></a>
19
19
  <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
20
- <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
20
+ <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow" alt="Follow us on Twitter"></a>
21
21
  </p>
22
22
  <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
23
23
  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->
@@ -26,13 +26,13 @@
26
26
 
27
27
  [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
28
28
 
29
- ## Installation
29
+ ## Project setup
30
30
 
31
31
  ```bash
32
32
  $ <%= packageManager %> install
33
33
  ```
34
34
 
35
- ## Running the app
35
+ ## Compile and run the project
36
36
 
37
37
  ```bash
38
38
  # development
@@ -45,7 +45,7 @@ $ <%= packageManager %> run start:dev
45
45
  $ <%= packageManager %> run start:prod
46
46
  ```
47
47
 
48
- ## Test
48
+ ## Run tests
49
49
 
50
50
  ```bash
51
51
  # unit tests
@@ -58,16 +58,29 @@ $ <%= packageManager %> run test:e2e
58
58
  $ <%= packageManager %> run test:cov
59
59
  ```
60
60
 
61
+ ## Resources
62
+
63
+ Check out a few resources that may come in handy when working with NestJS:
64
+
65
+ - Visit the [NestJS Documentation](https://docs.nestjs.com) to learn more about the framework.
66
+ - For questions and support, please visit our [Discord channel](https://discord.gg/G7Qnnhy).
67
+ - To dive deeper and get more hands-on experience, check out our official video [courses](https://courses.nestjs.com/).
68
+ - Deploy your application to AWS with the help of [NestJS Mau](https://mau.nestjs.com) in just a few clicks.
69
+ - Visualize your application graph and interact with the NestJS application in real-time using [NestJS Devtools](https://devtools.nestjs.com).
70
+ - Need help with your project (part-time to full-time)? Check out our official [enterprise support](https://enterprise.nestjs.com).
71
+ - To stay in the loop and get updates, follow us on [X](https://x.com/nestframework) and [LinkedIn](https://linkedin.com/company/nestjs).
72
+ - Looking for a job, or have a job to offer? Check out our official [Jobs board](https://jobs.nestjs.com).
73
+
61
74
  ## Support
62
75
 
63
76
  Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
64
77
 
65
78
  ## Stay in touch
66
79
 
67
- - Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
80
+ - Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
68
81
  - Website - [https://nestjs.com](https://nestjs.com/)
69
82
  - Twitter - [@nestframework](https://twitter.com/nestframework)
70
83
 
71
84
  ## License
72
85
 
73
- Nest is [MIT licensed](LICENSE).
86
+ Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
@@ -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
- "@typescript-eslint/eslint-plugin": "^7.0.0",
38
- "@typescript-eslint/parser": "^7.0.0",
39
- "eslint": "^8.42.0",
37
+ "@typescript-eslint/eslint-plugin": "^8.0.0",
38
+ "@typescript-eslint/parser": "^8.0.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.3",
3
+ "version": "10.2.0",
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.3.0",
52
- "@commitlint/config-angular": "19.3.0",
53
- "@types/jest": "29.5.12",
54
- "@types/node": "20.14.12",
55
- "@typescript-eslint/eslint-plugin": "7.17.0",
56
- "@typescript-eslint/parser": "7.17.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.11",
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.1",
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.3",
65
+ "nyc": "17.1.0",
66
+ "release-it": "17.10.0",
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"