@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.
@@ -22,16 +22,16 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@nestjs/testing": "^11.0.1",
25
- "@babel/core": "7.26.0",
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.25.9",
29
- "@babel/preset-env": "7.26.0",
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.0",
31
+ "@babel/runtime": "7.26.9",
32
32
  "jest": "29.7.0",
33
33
  "nodemon": "3.1.9",
34
- "prettier": "3.4.2",
34
+ "prettier": "3.5.1",
35
35
  "supertest": "7.0.0"
36
36
  },
37
37
  "jest": {
@@ -6,7 +6,7 @@
6
6
  "emitDecoratorMetadata": true,
7
7
  "experimentalDecorators": true,
8
8
  "allowSyntheticDefaultImports": true,
9
- "target": "ES2021",
9
+ "target": "ES2023",
10
10
  "sourceMap": true,
11
11
  "outDir": "./dist",
12
12
  "baseUrl": "./",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2021",
3
+ "target": "ES2023",
4
4
  "experimentalDecorators": true
5
5
  },
6
6
  "exclude": [
@@ -4,6 +4,7 @@ exports.FileSystemReader = void 0;
4
4
  const fs = require("fs");
5
5
  const path = require("path");
6
6
  class FileSystemReader {
7
+ directory;
7
8
  constructor(directory) {
8
9
  this.directory = directory;
9
10
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2021",
3
+ "target": "ES2023",
4
4
  "experimentalDecorators": true
5
5
  },
6
6
  "exclude": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2021",
3
+ "target": "ES2023",
4
4
  "experimentalDecorators": true
5
5
  },
6
6
  "exclude": [
@@ -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;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MetadataManager = void 0;
4
4
  const typescript_1 = require("typescript");
5
5
  class MetadataManager {
6
+ content;
6
7
  constructor(content) {
7
8
  this.content = content;
8
9
  }
@@ -4,6 +4,7 @@ exports.ModuleImportDeclarator = void 0;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const path_solver_1 = require("./path.solver");
6
6
  class ModuleImportDeclarator {
7
+ solver;
7
8
  constructor(solver = new path_solver_1.PathSolver()) {
8
9
  this.solver = solver;
9
10
  }
@@ -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;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModuleFinder = void 0;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  class ModuleFinder {
6
+ tree;
6
7
  constructor(tree) {
7
8
  this.tree = tree;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/schematics",
3
- "version": "11.0.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.0.1",
45
- "@angular-devkit/schematics": "19.0.1",
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.6.1",
52
- "@commitlint/config-angular": "19.7.0",
51
+ "@commitlint/cli": "19.7.1",
52
+ "@commitlint/config-angular": "19.7.1",
53
53
  "@eslint/eslintrc": "3.2.0",
54
- "@eslint/js": "9.18.0",
54
+ "@eslint/js": "9.20.0",
55
55
  "@types/jest": "29.5.14",
56
- "@types/node": "22.10.7",
57
- "@typescript-eslint/eslint-plugin": "8.20.0",
58
- "@typescript-eslint/parser": "8.20.0",
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.18.0",
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.14.0",
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.3.3",
71
- "release-it": "18.1.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",