@nestjs/schematics 8.0.8 → 8.0.11
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.
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/dist/lib/application/application.factory.js +2 -2
- package/dist/lib/application/files/js/nest-cli.json +1 -0
- package/dist/lib/application/files/js/package.json +11 -11
- package/dist/lib/application/files/ts/.eslintrc.js +1 -0
- package/dist/lib/application/files/ts/README.md +1 -1
- package/dist/lib/application/files/ts/nest-cli.json +1 -0
- package/dist/lib/application/files/ts/package.json +4 -4
- package/dist/lib/application/schema.json +4 -1
- package/dist/lib/configuration/files/js/nest-cli.json +1 -0
- package/dist/lib/configuration/files/ts/nest-cli.json +1 -0
- package/package.json +16 -16
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/
|
|
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
|
<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
|
|
@@ -20,7 +20,7 @@ The Nest CLI is a command-line interface tool that helps you to initialize, deve
|
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
22
22
|
|
|
23
|
-
```
|
|
23
|
+
```bash
|
|
24
24
|
$ npm install -g @nestjs/schematics
|
|
25
25
|
```
|
|
26
26
|
|
|
@@ -7,7 +7,7 @@ const path_1 = require("path");
|
|
|
7
7
|
const formatting_1 = require("../../utils/formatting");
|
|
8
8
|
const defaults_1 = require("../defaults");
|
|
9
9
|
function main(options) {
|
|
10
|
-
options.name = (0, formatting_1.normalizeToKebabOrSnakeCase)(options.name);
|
|
10
|
+
options.name = (0, formatting_1.normalizeToKebabOrSnakeCase)(options.name.toString());
|
|
11
11
|
const path = !options.directory || options.directory === 'undefined'
|
|
12
12
|
? options.name
|
|
13
13
|
: options.directory;
|
|
@@ -22,7 +22,7 @@ function transform(options) {
|
|
|
22
22
|
? target.description
|
|
23
23
|
: defaults_1.DEFAULT_DESCRIPTION;
|
|
24
24
|
target.language = !!target.language ? target.language : defaults_1.DEFAULT_LANGUAGE;
|
|
25
|
-
target.name = resolvePackageName(target.name);
|
|
25
|
+
target.name = resolvePackageName(target.name.toString());
|
|
26
26
|
target.version = !!target.version ? target.version : defaults_1.DEFAULT_VERSION;
|
|
27
27
|
target.packageManager =
|
|
28
28
|
!target.packageManager || target.packageManager === 'undefined'
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@nestjs/testing": "^8.0.0",
|
|
25
|
-
"@babel/core": "7.17.
|
|
26
|
-
"@babel/node": "7.
|
|
27
|
-
"@babel/plugin-proposal-decorators": "7.17.
|
|
28
|
-
"@babel/plugin-transform-runtime": "7.17.
|
|
29
|
-
"@babel/preset-env": "7.
|
|
30
|
-
"@babel/register": "7.17.
|
|
31
|
-
"@babel/runtime": "7.17.
|
|
32
|
-
"jest": "
|
|
33
|
-
"nodemon": "2.0.
|
|
34
|
-
"prettier": "2.
|
|
35
|
-
"supertest": "6.2.
|
|
25
|
+
"@babel/core": "7.17.10",
|
|
26
|
+
"@babel/node": "7.17.10",
|
|
27
|
+
"@babel/plugin-proposal-decorators": "7.17.9",
|
|
28
|
+
"@babel/plugin-transform-runtime": "7.17.10",
|
|
29
|
+
"@babel/preset-env": "7.17.10",
|
|
30
|
+
"@babel/register": "7.17.7",
|
|
31
|
+
"@babel/runtime": "7.17.9",
|
|
32
|
+
"jest": "28.0.3",
|
|
33
|
+
"nodemon": "2.0.16",
|
|
34
|
+
"prettier": "2.6.2",
|
|
35
|
+
"supertest": "6.2.3"
|
|
36
36
|
},
|
|
37
37
|
"jest": {
|
|
38
38
|
"moduleFileExtensions": [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/
|
|
2
|
+
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" 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
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@nestjs/schematics": "^8.0.0",
|
|
34
34
|
"@nestjs/testing": "^8.0.0",
|
|
35
35
|
"@types/express": "^4.17.13",
|
|
36
|
-
"@types/jest": "27.
|
|
36
|
+
"@types/jest": "27.5.0",
|
|
37
37
|
"@types/node": "^16.0.0",
|
|
38
38
|
"@types/supertest": "^2.0.11",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"eslint": "^8.0.1",
|
|
42
42
|
"eslint-config-prettier": "^8.3.0",
|
|
43
43
|
"eslint-plugin-prettier": "^4.0.0",
|
|
44
|
-
"jest": "
|
|
44
|
+
"jest": "28.0.3",
|
|
45
45
|
"prettier": "^2.3.2",
|
|
46
46
|
"source-map-support": "^0.5.20",
|
|
47
47
|
"supertest": "^6.1.3",
|
|
48
|
-
"ts-jest": "
|
|
48
|
+
"ts-jest": "28.0.1",
|
|
49
49
|
"ts-loader": "^9.2.3",
|
|
50
50
|
"ts-node": "^10.0.0",
|
|
51
|
-
"tsconfig-paths": "
|
|
51
|
+
"tsconfig-paths": "4.0.0",
|
|
52
52
|
"typescript": "^4.3.5"
|
|
53
53
|
},
|
|
54
54
|
"jest": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/schematics",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.11",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -40,33 +40,33 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/nestjs/schematics#readme",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@angular-devkit/core": "13.
|
|
44
|
-
"@angular-devkit/schematics": "13.
|
|
45
|
-
"fs-extra": "10.0
|
|
43
|
+
"@angular-devkit/core": "13.3.5",
|
|
44
|
+
"@angular-devkit/schematics": "13.3.5",
|
|
45
|
+
"fs-extra": "10.1.0",
|
|
46
46
|
"jsonc-parser": "3.0.0",
|
|
47
47
|
"pluralize": "8.0.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@commitlint/cli": "16.2.
|
|
51
|
-
"@commitlint/config-angular": "16.2.
|
|
50
|
+
"@commitlint/cli": "16.2.4",
|
|
51
|
+
"@commitlint/config-angular": "16.2.4",
|
|
52
52
|
"@types/fs-extra": "9.0.13",
|
|
53
|
-
"@types/jest": "27.
|
|
54
|
-
"@types/node": "16.11.
|
|
55
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
56
|
-
"@typescript-eslint/parser": "5.
|
|
53
|
+
"@types/jest": "27.5.0",
|
|
54
|
+
"@types/node": "16.11.33",
|
|
55
|
+
"@typescript-eslint/eslint-plugin": "5.22.0",
|
|
56
|
+
"@typescript-eslint/parser": "5.22.0",
|
|
57
57
|
"cpx": "1.5.0",
|
|
58
|
-
"eslint": "8.
|
|
58
|
+
"eslint": "8.14.0",
|
|
59
59
|
"eslint-config-prettier": "8.5.0",
|
|
60
|
-
"eslint-plugin-import": "2.
|
|
60
|
+
"eslint-plugin-import": "2.26.0",
|
|
61
61
|
"gulp": "4.0.2",
|
|
62
62
|
"gulp-clean": "0.4.0",
|
|
63
63
|
"husky": "7.0.4",
|
|
64
|
-
"jest": "
|
|
64
|
+
"jest": "28.0.3",
|
|
65
65
|
"nyc": "15.1.0",
|
|
66
|
-
"release-it": "
|
|
67
|
-
"ts-jest": "
|
|
66
|
+
"release-it": "15.0.0",
|
|
67
|
+
"ts-jest": "28.0.1",
|
|
68
68
|
"ts-node": "10.7.0",
|
|
69
|
-
"typescript": "4.6.
|
|
69
|
+
"typescript": "4.6.4"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"typescript": "^3.4.5 || ^4.3.5"
|