@nestjs/schematics 11.0.0 → 11.0.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.
- package/dist/lib/application/files/js/package.json +5 -5
- package/dist/lib/application/files/ts/tsconfig.json +1 -1
- package/dist/lib/library/files/js/jsconfig.json +1 -1
- package/dist/lib/readers/file-system.reader.js +1 -0
- package/dist/lib/sub-app/files/js/jsconfig.json +1 -1
- package/dist/lib/sub-app/workspace/js/jsconfig.json +1 -1
- package/dist/utils/json-file.util.js +4 -0
- package/dist/utils/metadata.manager.js +1 -0
- package/dist/utils/module-import.declarator.js +1 -0
- package/dist/utils/module.declarator.js +2 -0
- package/dist/utils/module.finder.js +1 -0
- package/package.json +13 -13
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@nestjs/testing": "^11.0.1",
|
|
25
|
-
"@babel/core": "7.26.
|
|
25
|
+
"@babel/core": "7.26.9",
|
|
26
26
|
"@babel/node": "7.26.0",
|
|
27
27
|
"@babel/plugin-proposal-decorators": "7.25.9",
|
|
28
|
-
"@babel/plugin-transform-runtime": "7.
|
|
29
|
-
"@babel/preset-env": "7.26.
|
|
28
|
+
"@babel/plugin-transform-runtime": "7.26.9",
|
|
29
|
+
"@babel/preset-env": "7.26.9",
|
|
30
30
|
"@babel/register": "7.25.9",
|
|
31
|
-
"@babel/runtime": "7.26.
|
|
31
|
+
"@babel/runtime": "7.26.9",
|
|
32
32
|
"jest": "29.7.0",
|
|
33
33
|
"nodemon": "3.1.9",
|
|
34
|
-
"prettier": "3.
|
|
34
|
+
"prettier": "3.5.1",
|
|
35
35
|
"supertest": "7.0.0"
|
|
36
36
|
},
|
|
37
37
|
"jest": {
|
|
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.JSONFile = void 0;
|
|
4
4
|
const jsonc_parser_1 = require("jsonc-parser");
|
|
5
5
|
class JSONFile {
|
|
6
|
+
host;
|
|
7
|
+
path;
|
|
8
|
+
content;
|
|
6
9
|
constructor(host, path) {
|
|
7
10
|
this.host = host;
|
|
8
11
|
this.path = path;
|
|
@@ -14,6 +17,7 @@ class JSONFile {
|
|
|
14
17
|
throw new Error(`Could not read '${path}'.`);
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
_jsonAst;
|
|
17
21
|
get JsonAst() {
|
|
18
22
|
if (this._jsonAst) {
|
|
19
23
|
return this._jsonAst;
|
|
@@ -5,6 +5,8 @@ const strings_1 = require("@angular-devkit/core/src/utils/strings");
|
|
|
5
5
|
const module_import_declarator_1 = require("./module-import.declarator");
|
|
6
6
|
const module_metadata_declarator_1 = require("./module-metadata.declarator");
|
|
7
7
|
class ModuleDeclarator {
|
|
8
|
+
imports;
|
|
9
|
+
metadata;
|
|
8
10
|
constructor(imports = new module_import_declarator_1.ModuleImportDeclarator(), metadata = new module_metadata_declarator_1.ModuleMetadataDeclarator()) {
|
|
9
11
|
this.imports = imports;
|
|
10
12
|
this.metadata = metadata;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/schematics",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@schematics)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -41,34 +41,34 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://github.com/nestjs/schematics#readme",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@angular-devkit/core": "19.
|
|
45
|
-
"@angular-devkit/schematics": "19.
|
|
44
|
+
"@angular-devkit/core": "19.1.7",
|
|
45
|
+
"@angular-devkit/schematics": "19.1.7",
|
|
46
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.
|
|
52
|
-
"@commitlint/config-angular": "19.7.
|
|
51
|
+
"@commitlint/cli": "19.7.1",
|
|
52
|
+
"@commitlint/config-angular": "19.7.1",
|
|
53
53
|
"@eslint/eslintrc": "3.2.0",
|
|
54
|
-
"@eslint/js": "9.
|
|
54
|
+
"@eslint/js": "9.20.0",
|
|
55
55
|
"@types/jest": "29.5.14",
|
|
56
|
-
"@types/node": "22.
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
58
|
-
"@typescript-eslint/parser": "8.
|
|
56
|
+
"@types/node": "22.13.4",
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "8.24.0",
|
|
58
|
+
"@typescript-eslint/parser": "8.24.0",
|
|
59
59
|
"cpx2": "8.0.0",
|
|
60
|
-
"eslint": "9.
|
|
60
|
+
"eslint": "9.20.1",
|
|
61
61
|
"eslint-config-prettier": "10.0.1",
|
|
62
62
|
"eslint-plugin-import": "2.31.0",
|
|
63
63
|
"eslint-plugin-prettier": "^5.2.1",
|
|
64
|
-
"globals": "15.
|
|
64
|
+
"globals": "15.15.0",
|
|
65
65
|
"gulp": "5.0.0",
|
|
66
66
|
"gulp-clean": "0.4.0",
|
|
67
67
|
"husky": "9.1.7",
|
|
68
68
|
"jest": "29.7.0",
|
|
69
69
|
"nyc": "17.1.0",
|
|
70
|
-
"prettier": "3.
|
|
71
|
-
"release-it": "18.1.
|
|
70
|
+
"prettier": "3.5.1",
|
|
71
|
+
"release-it": "18.1.2",
|
|
72
72
|
"ts-jest": "29.2.5",
|
|
73
73
|
"ts-node": "10.9.2",
|
|
74
74
|
"typescript": "5.7.3",
|