@nestjs/schematics 10.1.1 → 10.1.3

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const path_1 = require("path");
@@ -14,7 +14,6 @@ function main(options) {
14
14
  options = transform(options);
15
15
  return (0, schematics_1.mergeWith)(generate(options, path));
16
16
  }
17
- exports.main = main;
18
17
  function transform(options) {
19
18
  const target = Object.assign({}, options);
20
19
  target.author = !!target.author ? target.author : defaults_1.DEFAULT_AUTHOR;
@@ -22,17 +22,17 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@nestjs/testing": "^10.0.0",
25
- "@babel/core": "7.23.9",
26
- "@babel/node": "7.23.9",
27
- "@babel/plugin-proposal-decorators": "7.23.9",
28
- "@babel/plugin-transform-runtime": "7.23.9",
29
- "@babel/preset-env": "7.23.9",
30
- "@babel/register": "7.23.7",
31
- "@babel/runtime": "7.23.9",
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",
32
32
  "jest": "29.7.0",
33
- "nodemon": "3.0.3",
34
- "prettier": "3.2.5",
35
- "supertest": "6.3.4"
33
+ "nodemon": "3.1.4",
34
+ "prettier": "3.3.3",
35
+ "supertest": "7.0.0"
36
36
  },
37
37
  "jest": {
38
38
  "moduleFileExtensions": [
@@ -34,15 +34,15 @@
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": "^6.0.0",
38
- "@typescript-eslint/parser": "^6.0.0",
37
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
38
+ "@typescript-eslint/parser": "^7.0.0",
39
39
  "eslint": "^8.42.0",
40
40
  "eslint-config-prettier": "^9.0.0",
41
41
  "eslint-plugin-prettier": "^5.0.0",
42
42
  "jest": "^29.5.0",
43
43
  "prettier": "^3.0.0",
44
44
  "source-map-support": "^0.5.21",
45
- "supertest": "^6.3.3",
45
+ "supertest": "^7.0.0",
46
46
  "ts-jest": "^29.1.0",
47
47
  "ts-loader": "^9.4.3",
48
48
  "ts-node": "^10.9.1",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -11,7 +11,6 @@ function main(options) {
11
11
  options = transform(options);
12
12
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
13
13
  }
14
- exports.main = main;
15
14
  function transform(options) {
16
15
  const target = Object.assign({}, options);
17
16
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const path_1 = require("path");
@@ -20,7 +20,6 @@ function main(options) {
20
20
  ]))(tree, context);
21
21
  };
22
22
  }
23
- exports.main = main;
24
23
  function transform(source) {
25
24
  const target = Object.assign({}, source);
26
25
  target.directory = target.name ? core_1.strings.dasherize(target.name) : 'client';
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const defaults_1 = require("../defaults");
7
7
  function main(options) {
8
8
  return (0, schematics_1.mergeWith)(generate(transform(options)));
9
9
  }
10
- exports.main = main;
11
10
  function transform(options) {
12
11
  const target = Object.assign({}, options);
13
12
  target.language =
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -21,7 +21,6 @@ function main(options) {
21
21
  ]))(tree, context);
22
22
  };
23
23
  }
24
- exports.main = main;
25
24
  function transform(source) {
26
25
  const target = Object.assign({}, source);
27
26
  target.metadata = ELEMENT_METADATA;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -18,7 +18,6 @@ function main(options) {
18
18
  ]))(tree, context);
19
19
  };
20
20
  }
21
- exports.main = main;
22
21
  function transform(options) {
23
22
  const target = Object.assign({}, options);
24
23
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const jsonc_parser_1 = require("jsonc-parser");
@@ -17,7 +17,6 @@ function main(options) {
17
17
  (0, schematics_1.branchAndMerge)((0, schematics_1.mergeWith)(generate(options))),
18
18
  ]);
19
19
  }
20
- exports.main = main;
21
20
  function getDefaultLibraryPrefix(defaultLibraryPrefix = '@app') {
22
21
  const fileSystemReader = new readers_1.FileSystemReader(process.cwd());
23
22
  const content = fileSystemReader.readSyncAnyOf([
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -18,7 +18,6 @@ function main(options) {
18
18
  ]))(tree, context);
19
19
  };
20
20
  }
21
- exports.main = main;
22
21
  function transform(source) {
23
22
  const target = Object.assign({}, source);
24
23
  target.metadata = 'imports';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -10,7 +10,6 @@ function main(options) {
10
10
  options = transform(options);
11
11
  return (0, schematics_1.chain)([(0, source_root_helpers_1.mergeSourceRoot)(options), (0, schematics_1.mergeWith)(generate(options))]);
12
12
  }
13
- exports.main = main;
14
13
  function transform(options) {
15
14
  const target = Object.assign({}, options);
16
15
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -18,7 +18,6 @@ function main(options) {
18
18
  ]))(tree, context);
19
19
  };
20
20
  }
21
- exports.main = main;
22
21
  function transform(options) {
23
22
  const target = Object.assign({}, options);
24
23
  target.metadata = 'providers';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const formatting_1 = require("../../utils/formatting");
@@ -18,7 +18,6 @@ function main(options) {
18
18
  ]))(tree, context);
19
19
  };
20
20
  }
21
- exports.main = main;
22
21
  function transform(options) {
23
22
  const target = Object.assign({}, options);
24
23
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const strings_1 = require("@angular-devkit/core/src/utils/strings");
6
6
  const schematics_1 = require("@angular-devkit/schematics");
@@ -22,7 +22,6 @@ function main(options) {
22
22
  ]))(tree, context);
23
23
  };
24
24
  }
25
- exports.main = main;
26
25
  function transform(options) {
27
26
  const target = Object.assign({}, options);
28
27
  if (!target.name) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const util_1 = require("util");
@@ -19,7 +19,6 @@ function main(options) {
19
19
  ]))(tree, context);
20
20
  };
21
21
  }
22
- exports.main = main;
23
22
  function transform(source) {
24
23
  const target = Object.assign({}, source);
25
24
  target.metadata = 'providers';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.main = void 0;
3
+ exports.main = main;
4
4
  const core_1 = require("@angular-devkit/core");
5
5
  const schematics_1 = require("@angular-devkit/schematics");
6
6
  const fs_1 = require("fs");
@@ -23,7 +23,6 @@ function main(options) {
23
23
  (0, schematics_1.branchAndMerge)((0, schematics_1.mergeWith)(generate(options))),
24
24
  ]);
25
25
  }
26
- exports.main = main;
27
26
  function getAppNameFromPackageJson() {
28
27
  try {
29
28
  if (!(0, fs_1.existsSync)('./package.json')) {
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPackageJsonDependency = exports.addPackageJsonDependency = exports.NodeDependencyType = void 0;
3
+ exports.NodeDependencyType = void 0;
4
+ exports.addPackageJsonDependency = addPackageJsonDependency;
5
+ exports.getPackageJsonDependency = getPackageJsonDependency;
4
6
  const json_file_util_1 = require("./json-file.util");
5
7
  const PKG_JSON_PATH = '/package.json';
6
8
  var NodeDependencyType;
@@ -24,7 +26,6 @@ function addPackageJsonDependency(tree, dependency, pkgJsonPath = PKG_JSON_PATH)
24
26
  json.modify(path, version);
25
27
  }
26
28
  }
27
- exports.addPackageJsonDependency = addPackageJsonDependency;
28
29
  function getPackageJsonDependency(tree, name, pkgJsonPath = PKG_JSON_PATH) {
29
30
  const json = new json_file_util_1.JSONFile(tree, pkgJsonPath);
30
31
  for (const depType of ALL_DEPENDENCY_TYPE) {
@@ -39,4 +40,3 @@ function getPackageJsonDependency(tree, name, pkgJsonPath = PKG_JSON_PATH) {
39
40
  }
40
41
  return null;
41
42
  }
42
- exports.getPackageJsonDependency = getPackageJsonDependency;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.normalizeToKebabOrSnakeCase = void 0;
3
+ exports.normalizeToKebabOrSnakeCase = normalizeToKebabOrSnakeCase;
4
4
  function normalizeToKebabOrSnakeCase(str) {
5
5
  const STRING_DASHERIZE_REGEXP = /\s/g;
6
6
  const STRING_DECAMELIZE_REGEXP = /([a-z\d])([A-Z])/g;
@@ -10,4 +10,3 @@ function normalizeToKebabOrSnakeCase(str) {
10
10
  ?.toLowerCase()
11
11
  ?.replace(STRING_DASHERIZE_REGEXP, '-');
12
12
  }
13
- exports.normalizeToKebabOrSnakeCase = normalizeToKebabOrSnakeCase;
@@ -3,7 +3,7 @@ export declare class MetadataManager {
3
3
  private content;
4
4
  constructor(content: string);
5
5
  insert(metadata: string, symbol: string, staticOptions?: DeclarationOptions['staticOptions']): string | undefined;
6
- private getDecoratorMetadata;
6
+ private findFirstDecoratorMetadata;
7
7
  private getSourceNodes;
8
8
  private insertMetadataToEmptyModuleDecorator;
9
9
  private insertNewMetadataToDecorator;
@@ -8,12 +8,11 @@ class MetadataManager {
8
8
  }
9
9
  insert(metadata, symbol, staticOptions) {
10
10
  const source = (0, typescript_1.createSourceFile)('filename.ts', this.content, typescript_1.ScriptTarget.ES2017);
11
- const decoratorNodes = this.getDecoratorMetadata(source, '@Module');
12
- const node = decoratorNodes[0];
13
- if (!node) {
11
+ const moduleDecoratorNode = this.findFirstDecoratorMetadata(source, 'Module');
12
+ if (!moduleDecoratorNode) {
14
13
  return;
15
14
  }
16
- const matchingProperties = node.properties
15
+ const matchingProperties = moduleDecoratorNode.properties
17
16
  .filter((prop) => prop.kind === typescript_1.SyntaxKind.PropertyAssignment)
18
17
  .filter((prop) => {
19
18
  const name = prop.name;
@@ -31,7 +30,7 @@ class MetadataManager {
31
30
  symbol = staticOptions ? this.addBlankLines(symbol) : symbol;
32
31
  };
33
32
  if (matchingProperties.length === 0) {
34
- const expr = node;
33
+ const expr = moduleDecoratorNode;
35
34
  if (expr.properties.length === 0) {
36
35
  addBlankLinesIfDynamic();
37
36
  return this.insertMetadataToEmptyModuleDecorator(expr, metadata, symbol);
@@ -45,14 +44,26 @@ class MetadataManager {
45
44
  return this.insertSymbolToMetadata(source, matchingProperties, symbol, staticOptions);
46
45
  }
47
46
  }
48
- getDecoratorMetadata(source, identifier) {
49
- return this.getSourceNodes(source)
50
- .filter((node) => node.kind === typescript_1.SyntaxKind.Decorator &&
51
- node.expression.kind === typescript_1.SyntaxKind.CallExpression)
52
- .map((node) => node.expression)
53
- .filter((expr) => expr.arguments[0] &&
54
- expr.arguments[0].kind === typescript_1.SyntaxKind.ObjectLiteralExpression)
55
- .map((expr) => expr.arguments[0]);
47
+ findFirstDecoratorMetadata(source, identifier) {
48
+ for (const node of this.getSourceNodes(source)) {
49
+ const isDecoratorFactoryNode = node.kind === typescript_1.SyntaxKind.Decorator &&
50
+ node.expression.kind === typescript_1.SyntaxKind.CallExpression;
51
+ if (!isDecoratorFactoryNode)
52
+ continue;
53
+ const expr = node.expression;
54
+ const isExpectedExpression = expr.arguments[0]?.kind === typescript_1.SyntaxKind.ObjectLiteralExpression;
55
+ if (!isExpectedExpression)
56
+ continue;
57
+ if (expr.expression.kind === typescript_1.SyntaxKind.Identifier) {
58
+ const escapedText = expr.expression.escapedText;
59
+ const isTargetIdentifier = escapedText
60
+ ? escapedText.toLowerCase() === identifier.toLowerCase()
61
+ : true;
62
+ if (isTargetIdentifier) {
63
+ return expr.arguments[0];
64
+ }
65
+ }
66
+ }
56
67
  }
57
68
  getSourceNodes(sourceFile) {
58
69
  const nodes = [sourceFile];
@@ -62,7 +73,7 @@ class MetadataManager {
62
73
  if (node) {
63
74
  result.push(node);
64
75
  if (node.getChildCount(sourceFile) >= 0) {
65
- nodes.unshift(...node.getChildren());
76
+ nodes.unshift(...node.getChildren(sourceFile));
66
77
  }
67
78
  }
68
79
  }
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mergeSourceRoot = exports.isInRootDirectory = void 0;
3
+ exports.isInRootDirectory = isInRootDirectory;
4
+ exports.mergeSourceRoot = mergeSourceRoot;
4
5
  const core_1 = require("@angular-devkit/core");
5
6
  const defaults_1 = require("../lib/defaults");
6
7
  function isInRootDirectory(host, extraFiles = []) {
7
8
  const files = ['nest-cli.json', 'nest.json'].concat(extraFiles || []);
8
9
  return files.map(file => host.exists(file)).some(isPresent => isPresent);
9
10
  }
10
- exports.isInRootDirectory = isInRootDirectory;
11
11
  function mergeSourceRoot(options) {
12
12
  return (host) => {
13
13
  const isInRoot = isInRootDirectory(host, ['tsconfig.json', 'package.json']);
@@ -22,4 +22,3 @@ function mergeSourceRoot(options) {
22
22
  return host;
23
23
  };
24
24
  }
25
- exports.mergeSourceRoot = mergeSourceRoot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/schematics",
3
- "version": "10.1.1",
3
+ "version": "10.1.3",
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.1.2",
45
- "@angular-devkit/schematics": "17.1.2",
44
+ "@angular-devkit/core": "17.3.8",
45
+ "@angular-devkit/schematics": "17.3.8",
46
46
  "comment-json": "4.2.3",
47
- "jsonc-parser": "3.2.1",
47
+ "jsonc-parser": "3.3.1",
48
48
  "pluralize": "8.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@commitlint/cli": "18.6.0",
52
- "@commitlint/config-angular": "18.6.0",
51
+ "@commitlint/cli": "19.3.0",
52
+ "@commitlint/config-angular": "19.3.0",
53
53
  "@types/jest": "29.5.12",
54
- "@types/node": "20.11.16",
55
- "@typescript-eslint/eslint-plugin": "6.21.0",
56
- "@typescript-eslint/parser": "6.21.0",
57
- "cpx": "1.5.0",
58
- "eslint": "8.56.0",
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",
59
59
  "eslint-config-prettier": "9.1.0",
60
60
  "eslint-plugin-import": "2.29.1",
61
- "gulp": "4.0.2",
61
+ "gulp": "5.0.0",
62
62
  "gulp-clean": "0.4.0",
63
- "husky": "9.0.10",
63
+ "husky": "9.1.1",
64
64
  "jest": "29.7.0",
65
- "nyc": "15.1.0",
66
- "release-it": "17.0.3",
67
- "ts-jest": "29.1.2",
65
+ "nyc": "17.0.0",
66
+ "release-it": "17.6.0",
67
+ "ts-jest": "29.2.3",
68
68
  "ts-node": "10.9.2",
69
- "typescript": "5.3.3"
69
+ "typescript": "5.5.4"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "typescript": ">=4.8.2"