@nx/node 23.0.0-beta.22 → 23.0.0-beta.24

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.
Files changed (113) hide show
  1. package/{index.d.ts → dist/index.d.ts} +0 -1
  2. package/dist/internal.d.ts +2 -0
  3. package/dist/internal.js +5 -0
  4. package/{src → dist/src}/generators/application/application.d.ts +0 -1
  5. package/{src → dist/src}/generators/application/application.js +6 -34
  6. package/{src → dist/src}/generators/application/lib/add-dependencies.d.ts +0 -1
  7. package/{src → dist/src}/generators/application/lib/add-linting.d.ts +0 -1
  8. package/{src → dist/src}/generators/application/lib/add-proxy.d.ts +0 -1
  9. package/{src → dist/src}/generators/application/lib/create-files.d.ts +0 -1
  10. package/{src → dist/src}/generators/application/lib/create-project.d.ts +0 -1
  11. package/{src → dist/src}/generators/application/lib/create-project.js +2 -2
  12. package/{src → dist/src}/generators/application/lib/create-targets.d.ts +0 -1
  13. package/{src → dist/src}/generators/application/lib/create-targets.js +2 -2
  14. package/{src → dist/src}/generators/application/lib/index.d.ts +0 -1
  15. package/{src → dist/src}/generators/application/lib/normalize-options.d.ts +0 -1
  16. package/{src → dist/src}/generators/application/lib/normalized-schema.d.ts +0 -1
  17. package/{src → dist/src}/generators/application/schema.d.ts +0 -1
  18. package/{src → dist/src}/generators/application/schema.json +0 -6
  19. package/{src → dist/src}/generators/e2e-project/e2e-project.d.ts +0 -1
  20. package/{src → dist/src}/generators/init/init.d.ts +0 -1
  21. package/{src → dist/src}/generators/library/library.d.ts +0 -1
  22. package/{src → dist/src}/generators/library/schema.d.ts +0 -1
  23. package/{src → dist/src}/generators/library/schema.json +0 -6
  24. package/{src → dist/src}/generators/setup-docker/setup-docker.d.ts +0 -1
  25. package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.d.ts +3 -0
  26. package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.js +197 -0
  27. package/{src → dist/src}/utils/assert-supported-framework-version.d.ts +0 -1
  28. package/{src → dist/src}/utils/has-webpack-plugin.d.ts +0 -1
  29. package/{src → dist/src}/utils/kill-port.d.ts +0 -1
  30. package/{src → dist/src}/utils/versions.d.ts +0 -1
  31. package/{src → dist/src}/utils/versions.js +2 -1
  32. package/{src → dist/src}/utils/vscode-debug-config.d.ts +0 -1
  33. package/{src → dist/src}/utils/wait-for-port-open.d.ts +0 -1
  34. package/{utils.d.ts → dist/utils.d.ts} +0 -1
  35. package/generators.json +8 -8
  36. package/migrations.json +7 -1
  37. package/package.json +49 -11
  38. package/index.d.ts.map +0 -1
  39. package/src/generators/application/application.d.ts.map +0 -1
  40. package/src/generators/application/lib/add-dependencies.d.ts.map +0 -1
  41. package/src/generators/application/lib/add-linting.d.ts.map +0 -1
  42. package/src/generators/application/lib/add-proxy.d.ts.map +0 -1
  43. package/src/generators/application/lib/create-files.d.ts.map +0 -1
  44. package/src/generators/application/lib/create-project.d.ts.map +0 -1
  45. package/src/generators/application/lib/create-targets.d.ts.map +0 -1
  46. package/src/generators/application/lib/index.d.ts.map +0 -1
  47. package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
  48. package/src/generators/application/lib/normalized-schema.d.ts.map +0 -1
  49. package/src/generators/e2e-project/e2e-project.d.ts.map +0 -1
  50. package/src/generators/init/init.d.ts.map +0 -1
  51. package/src/generators/library/library.d.ts.map +0 -1
  52. package/src/generators/setup-docker/setup-docker.d.ts.map +0 -1
  53. package/src/utils/assert-supported-framework-version.d.ts.map +0 -1
  54. package/src/utils/has-webpack-plugin.d.ts.map +0 -1
  55. package/src/utils/kill-port.d.ts.map +0 -1
  56. package/src/utils/versions.d.ts.map +0 -1
  57. package/src/utils/vscode-debug-config.d.ts.map +0 -1
  58. package/src/utils/wait-for-port-open.d.ts.map +0 -1
  59. package/utils.d.ts.map +0 -1
  60. /package/{LICENSE → dist/LICENSE} +0 -0
  61. /package/{index.js → dist/index.js} +0 -0
  62. /package/{src → dist/src}/generators/application/files/common/src/assets/.gitkeep +0 -0
  63. /package/{src → dist/src}/generators/application/files/common/src/main.ts__tmpl__ +0 -0
  64. /package/{src → dist/src}/generators/application/files/common/tsconfig.app.json +0 -0
  65. /package/{src → dist/src}/generators/application/files/common/tsconfig.json +0 -0
  66. /package/{src → dist/src}/generators/application/files/common/webpack.config.js__tmpl__ +0 -0
  67. /package/{src → dist/src}/generators/application/files/express/src/main.ts__tmpl__ +0 -0
  68. /package/{src → dist/src}/generators/application/files/fastify/src/app/app.spec.ts__tmpl__ +0 -0
  69. /package/{src → dist/src}/generators/application/files/fastify/src/app/app.ts__tmpl__ +0 -0
  70. /package/{src → dist/src}/generators/application/files/fastify/src/app/plugins/sensible.ts__tmpl__ +0 -0
  71. /package/{src → dist/src}/generators/application/files/fastify/src/app/routes/root.ts__tmpl__ +0 -0
  72. /package/{src → dist/src}/generators/application/files/fastify/src/main.ts__tmpl__ +0 -0
  73. /package/{src → dist/src}/generators/application/files/koa/src/main.ts__tmpl__ +0 -0
  74. /package/{src → dist/src}/generators/application/lib/add-dependencies.js +0 -0
  75. /package/{src → dist/src}/generators/application/lib/add-linting.js +0 -0
  76. /package/{src → dist/src}/generators/application/lib/add-proxy.js +0 -0
  77. /package/{src → dist/src}/generators/application/lib/create-files.js +0 -0
  78. /package/{src → dist/src}/generators/application/lib/index.js +0 -0
  79. /package/{src → dist/src}/generators/application/lib/normalize-options.js +0 -0
  80. /package/{src → dist/src}/generators/application/lib/normalized-schema.js +0 -0
  81. /package/{src → dist/src}/generators/e2e-project/e2e-project.js +0 -0
  82. /package/{src → dist/src}/generators/e2e-project/files/cli/jest.config.ts__tmpl__ +0 -0
  83. /package/{src → dist/src}/generators/e2e-project/files/cli/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
  84. /package/{src → dist/src}/generators/e2e-project/files/cli/src/test-setup.ts__tmpl__ +0 -0
  85. /package/{src → dist/src}/generators/e2e-project/files/non-ts-solution/tsconfig.json__tmpl__ +0 -0
  86. /package/{src → dist/src}/generators/e2e-project/files/non-ts-solution/tsconfig.spec.json__tmpl__ +0 -0
  87. /package/{src → dist/src}/generators/e2e-project/files/server/common/jest.config.ts__tmpl__ +0 -0
  88. /package/{src → dist/src}/generators/e2e-project/files/server/common/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
  89. /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/global-setup.ts__tmpl__ +0 -0
  90. /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/global-teardown.ts__tmpl__ +0 -0
  91. /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/test-setup.ts__tmpl__ +0 -0
  92. /package/{src → dist/src}/generators/e2e-project/files/server/nest/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
  93. /package/{src → dist/src}/generators/e2e-project/files/ts-solution/tsconfig.json__tmpl__ +0 -0
  94. /package/{src → dist/src}/generators/e2e-project/schema.d.ts +0 -0
  95. /package/{src → dist/src}/generators/e2e-project/schema.json +0 -0
  96. /package/{src → dist/src}/generators/init/init.js +0 -0
  97. /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
  98. /package/{src → dist/src}/generators/init/schema.json +0 -0
  99. /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.spec.ts__tmpl__ +0 -0
  100. /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.ts__tmpl__ +0 -0
  101. /package/{src → dist/src}/generators/library/files/non-ts-solution/tsconfig.lib.json +0 -0
  102. /package/{src → dist/src}/generators/library/files/ts-solution/tsconfig.lib.json +0 -0
  103. /package/{src → dist/src}/generators/library/library.js +0 -0
  104. /package/{src → dist/src}/generators/setup-docker/files/Dockerfile__tmpl__ +0 -0
  105. /package/{src → dist/src}/generators/setup-docker/schema.d.ts +0 -0
  106. /package/{src → dist/src}/generators/setup-docker/schema.json +0 -0
  107. /package/{src → dist/src}/generators/setup-docker/setup-docker.js +0 -0
  108. /package/{src → dist/src}/utils/assert-supported-framework-version.js +0 -0
  109. /package/{src → dist/src}/utils/has-webpack-plugin.js +0 -0
  110. /package/{src → dist/src}/utils/kill-port.js +0 -0
  111. /package/{src → dist/src}/utils/vscode-debug-config.js +0 -0
  112. /package/{src → dist/src}/utils/wait-for-port-open.js +0 -0
  113. /package/{utils.js → dist/utils.js} +0 -0
@@ -1,4 +1,3 @@
1
1
  export { applicationGenerator } from './src/generators/application/application';
2
2
  export { libraryGenerator } from './src/generators/library/library';
3
3
  export { initGenerator } from './src/generators/init/init';
4
- //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,2 @@
1
+ export type { Schema } from './src/generators/application/schema';
2
+ export { tslibVersion } from './src/utils/versions';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.tslibVersion = void 0;
4
+ var versions_1 = require("./src/utils/versions");
5
+ Object.defineProperty(exports, "tslibVersion", { enumerable: true, get: function () { return versions_1.tslibVersion; } });
@@ -3,4 +3,3 @@ import { Schema } from './schema';
3
3
  export declare function applicationGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
4
4
  export declare function applicationGeneratorInternal(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
5
5
  export default applicationGenerator;
6
- //# sourceMappingURL=application.d.ts.map
@@ -1,37 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
2
  Object.defineProperty(exports, "__esModule", { value: true });
36
3
  exports.applicationGenerator = applicationGenerator;
37
4
  exports.applicationGeneratorInternal = applicationGeneratorInternal;
@@ -132,7 +99,12 @@ async function applicationGeneratorInternal(tree, schema) {
132
99
  });
133
100
  tasks.push(webpackInitTask);
134
101
  if (!options.skipPackageJson) {
135
- const { ensureDependencies } = await Promise.resolve().then(() => __importStar(require('@nx/webpack/src/utils/ensure-dependencies')));
102
+ // Use CommonJS `require` rather than a dynamic ESM `import`:
103
+ // `ensurePackage` makes the on-demand-installed package available via
104
+ // `Module._initPaths`, which `require()` honors but ESM resolution does
105
+ // not. Under nodenext, a dynamic `import()` is preserved as a true ESM
106
+ // dynamic import, so it can't see the temp install.
107
+ const { ensureDependencies, } = require('@nx/webpack/internal');
136
108
  tasks.push(ensureDependencies(tree, {
137
109
  uiFramework: options.isNest ? 'none' : 'react',
138
110
  }));
@@ -4,4 +4,3 @@ export declare function addProjectDependencies(tree: Tree, options: NormalizedSc
4
4
  installTask: GeneratorCallback;
5
5
  frameworkDependencies: Record<string, string>;
6
6
  };
7
- //# sourceMappingURL=add-dependencies.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { GeneratorCallback, Tree } from '@nx/devkit';
2
2
  import { NormalizedSchema } from './normalized-schema';
3
3
  export declare function addLintingToApplication(tree: Tree, options: NormalizedSchema): Promise<GeneratorCallback>;
4
- //# sourceMappingURL=add-linting.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tree } from '@nx/devkit';
2
2
  import { NormalizedSchema } from './normalized-schema';
3
3
  export declare function addProxy(tree: Tree, options: NormalizedSchema): void;
4
- //# sourceMappingURL=add-proxy.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tree } from '@nx/devkit';
2
2
  import { NormalizedSchema } from './normalized-schema';
3
3
  export declare function addAppFiles(tree: Tree, options: NormalizedSchema): void;
4
- //# sourceMappingURL=create-files.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Tree } from '@nx/devkit';
2
2
  import { NormalizedSchema } from './normalized-schema';
3
3
  export declare function addProject(tree: Tree, options: NormalizedSchema, frameworkDependencies: Record<string, string>): void;
4
- //# sourceMappingURL=create-project.d.ts.map
@@ -29,7 +29,7 @@ function addProject(tree, options, frameworkDependencies) {
29
29
  }
30
30
  else if (options.isNest) {
31
31
  // If we are using Nest that has the webpack plugin we need to override the
32
- // build target so that node-env can be set to production or development so the serve target can be run in development mode
32
+ // build target so that NODE_ENV can be set to production or development so the serve target can be run in development mode
33
33
  project.targets.build = (0, create_targets_1.getNestWebpackBuildConfig)(project);
34
34
  }
35
35
  }
@@ -52,7 +52,7 @@ function addProject(tree, options, frameworkDependencies) {
52
52
  };
53
53
  }
54
54
  else {
55
- (0, devkit_1.addProjectConfiguration)(tree, options.name, project, options.standaloneConfig);
55
+ (0, devkit_1.addProjectConfiguration)(tree, options.name, project);
56
56
  }
57
57
  if (!options.useProjectJson || options.isUsingTsSolutionConfig) {
58
58
  (0, devkit_1.writeJson)(tree, (0, devkit_1.joinPathFragments)(options.appProjectRoot, 'package.json'), packageJson);
@@ -9,4 +9,3 @@ export declare function getPruneTargets(buildTarget: string, outputPath: string)
9
9
  'prune-lockfile': TargetConfiguration;
10
10
  'copy-workspace-modules': TargetConfiguration;
11
11
  };
12
- //# sourceMappingURL=create-targets.d.ts.map
@@ -98,12 +98,12 @@ function getNestWebpackBuildConfig(project) {
98
98
  executor: 'nx:run-commands',
99
99
  options: {
100
100
  command: 'webpack-cli build',
101
- args: ['--node-env=production'],
101
+ env: { NODE_ENV: 'production' },
102
102
  cwd: project.root,
103
103
  },
104
104
  configurations: {
105
105
  development: {
106
- args: ['--node-env=development'],
106
+ env: { NODE_ENV: 'development' },
107
107
  },
108
108
  },
109
109
  };
@@ -6,4 +6,3 @@ export * from './create-files';
6
6
  export * from './add-dependencies';
7
7
  export * from './add-linting';
8
8
  export * from './add-proxy';
9
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ import { Tree } from '@nx/devkit';
2
2
  import { Schema } from '../schema';
3
3
  import { NormalizedSchema } from './normalized-schema';
4
4
  export declare function normalizeOptions(host: Tree, options: Schema): Promise<NormalizedSchema>;
5
- //# sourceMappingURL=normalize-options.d.ts.map
@@ -6,4 +6,3 @@ export interface NormalizedSchema extends Omit<Schema, 'useTsSolution'> {
6
6
  importPath: string;
7
7
  isUsingTsSolutionConfig: boolean;
8
8
  }
9
- //# sourceMappingURL=normalized-schema.d.ts.map
@@ -16,7 +16,6 @@ export interface Schema {
16
16
  babelJest?: boolean;
17
17
  js?: boolean;
18
18
  setParserOptionsProject?: boolean;
19
- standaloneConfig?: boolean;
20
19
  bundler?: 'esbuild' | 'webpack';
21
20
  framework?: NodeJsFrameWorks;
22
21
  port?: number;
@@ -87,12 +87,6 @@
87
87
  "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
88
88
  "default": false
89
89
  },
90
- "standaloneConfig": {
91
- "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
92
- "type": "boolean",
93
- "default": true,
94
- "x-deprecated": "Nx only supports standaloneConfig"
95
- },
96
90
  "bundler": {
97
91
  "description": "Bundler which is used to package the application",
98
92
  "type": "string",
@@ -3,4 +3,3 @@ import { Schema } from './schema';
3
3
  export declare function e2eProjectGenerator(host: Tree, options: Schema): Promise<GeneratorCallback>;
4
4
  export declare function e2eProjectGeneratorInternal(host: Tree, _options: Schema): Promise<GeneratorCallback>;
5
5
  export default e2eProjectGenerator;
6
- //# sourceMappingURL=e2e-project.d.ts.map
@@ -2,4 +2,3 @@ import { GeneratorCallback, Tree } from '@nx/devkit';
2
2
  import { Schema } from './schema';
3
3
  export declare function initGenerator(tree: Tree, options: Schema): Promise<GeneratorCallback>;
4
4
  export default initGenerator;
5
- //# sourceMappingURL=init.d.ts.map
@@ -11,4 +11,3 @@ export interface NormalizedSchema extends Schema {
11
11
  export declare function libraryGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
12
12
  export declare function libraryGeneratorInternal(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
13
13
  export default libraryGenerator;
14
- //# sourceMappingURL=library.d.ts.map
@@ -17,7 +17,6 @@ export interface Schema {
17
17
  babelJest?: boolean;
18
18
  js?: boolean;
19
19
  strict?: boolean;
20
- standaloneConfig?: boolean;
21
20
  setParserOptionsProject?: boolean;
22
21
  compiler: 'tsc' | 'swc';
23
22
  addPlugin?: boolean;
@@ -113,12 +113,6 @@
113
113
  "description": "Whether to enable tsconfig strict mode or not.",
114
114
  "default": false
115
115
  },
116
- "standaloneConfig": {
117
- "description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
118
- "type": "boolean",
119
- "default": true,
120
- "x-deprecated": "Nx only supports standaloneConfig"
121
- },
122
116
  "setParserOptionsProject": {
123
117
  "type": "boolean",
124
118
  "description": "Whether or not to configure the ESLint `parserOptions.project`. We do not do this by default for lint performance reasons.",
@@ -3,4 +3,3 @@ import { SetUpDockerOptions } from './schema';
3
3
  export declare function updateProjectConfig(tree: Tree, options: SetUpDockerOptions): void;
4
4
  export declare function setupDockerGenerator(tree: Tree, setupOptions: SetUpDockerOptions): Promise<GeneratorCallback>;
5
5
  export default setupDockerGenerator;
6
- //# sourceMappingURL=setup-docker.d.ts.map
@@ -0,0 +1,3 @@
1
+ import { type Tree } from '@nx/devkit';
2
+ export default function rewriteInternalSubpathImports(tree: Tree): Promise<void>;
3
+ export declare function rewriteSubpathImports(source: string): string;
@@ -0,0 +1,197 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = rewriteInternalSubpathImports;
4
+ exports.rewriteSubpathImports = rewriteSubpathImports;
5
+ const devkit_1 = require("@nx/devkit");
6
+ const TS_EXTENSIONS = ['.ts', '.tsx', '.cts', '.mts'];
7
+ const FROM_PREFIX = '@nx/node/src/';
8
+ const TO_PUBLIC = '@nx/node';
9
+ const TO_INTERNAL = '@nx/node/internal';
10
+ // Symbols exported from `@nx/node`'s public entry (packages/node/index.ts).
11
+ // A named import/export of one of these from `@nx/node/src/*` is routed to
12
+ // the public `@nx/node` entry; everything else goes to `@nx/node/internal`.
13
+ const PUBLIC_SYMBOLS = new Set([
14
+ 'applicationGenerator',
15
+ 'initGenerator',
16
+ 'libraryGenerator',
17
+ ]);
18
+ // Methods on `jest` and `vi` that take a module specifier as their first arg.
19
+ const MOCK_HELPER_METHODS = new Set([
20
+ 'mock',
21
+ 'unmock',
22
+ 'doMock',
23
+ 'dontMock',
24
+ 'requireActual',
25
+ 'requireMock',
26
+ 'importActual',
27
+ 'importMock',
28
+ ]);
29
+ let ts;
30
+ async function rewriteInternalSubpathImports(tree) {
31
+ let touchedCount = 0;
32
+ (0, devkit_1.visitNotIgnoredFiles)(tree, '.', (filePath) => {
33
+ if (!TS_EXTENSIONS.some((ext) => filePath.endsWith(ext))) {
34
+ return;
35
+ }
36
+ const original = tree.read(filePath, 'utf-8');
37
+ if (!original || !original.includes(FROM_PREFIX)) {
38
+ return;
39
+ }
40
+ const updated = rewriteSubpathImports(original);
41
+ if (updated !== original) {
42
+ tree.write(filePath, updated);
43
+ touchedCount += 1;
44
+ }
45
+ });
46
+ if (touchedCount > 0) {
47
+ devkit_1.logger.info(`Rewrote @nx/node/src/* imports in ${touchedCount} file(s) ` +
48
+ `(public symbols to @nx/node, internals to @nx/node/internal).`);
49
+ }
50
+ await (0, devkit_1.formatFiles)(tree);
51
+ }
52
+ function rewriteSubpathImports(source) {
53
+ ts ??= (0, devkit_1.ensurePackage)('typescript', '*');
54
+ const sourceFile = ts.createSourceFile('tmp.ts', source, ts.ScriptTarget.Latest,
55
+ /* setParentNodes */ true, ts.ScriptKind.TSX);
56
+ const changes = [];
57
+ for (const stmt of sourceFile.statements) {
58
+ if (ts.isImportDeclaration(stmt)) {
59
+ collectImportRewrite(sourceFile, stmt, changes);
60
+ }
61
+ else if (ts.isExportDeclaration(stmt)) {
62
+ collectExportRewrite(sourceFile, stmt, changes);
63
+ }
64
+ }
65
+ collectCallExpressionRewrites(sourceFile, changes);
66
+ return changes.length > 0 ? (0, devkit_1.applyChangesToString)(source, changes) : source;
67
+ }
68
+ function isSubpathSpecifier(node) {
69
+ return ts.isStringLiteral(node) && node.text.startsWith(FROM_PREFIX);
70
+ }
71
+ function collectImportRewrite(sourceFile, stmt, changes) {
72
+ if (!isSubpathSpecifier(stmt.moduleSpecifier)) {
73
+ return;
74
+ }
75
+ const clause = stmt.importClause;
76
+ // Pure named imports (`import { a, b } from '...'`) can be split by symbol.
77
+ // A default or namespace import grabs the whole module, so it can't be
78
+ // split — route it wholesale to the internal entry.
79
+ if (clause &&
80
+ !clause.name &&
81
+ clause.namedBindings &&
82
+ ts.isNamedImports(clause.namedBindings)) {
83
+ rewriteNamedDeclaration(sourceFile, stmt, stmt.moduleSpecifier, clause.isTypeOnly, clause.namedBindings.elements, 'import', changes);
84
+ return;
85
+ }
86
+ replaceSpecifier(sourceFile, stmt.moduleSpecifier, TO_INTERNAL, changes);
87
+ }
88
+ function collectExportRewrite(sourceFile, stmt, changes) {
89
+ if (!stmt.moduleSpecifier || !isSubpathSpecifier(stmt.moduleSpecifier)) {
90
+ return;
91
+ }
92
+ // `export { a, b } from '...'` can be split; `export * from '...'` cannot.
93
+ if (stmt.exportClause && ts.isNamedExports(stmt.exportClause)) {
94
+ rewriteNamedDeclaration(sourceFile, stmt, stmt.moduleSpecifier, stmt.isTypeOnly, stmt.exportClause.elements, 'export', changes);
95
+ return;
96
+ }
97
+ replaceSpecifier(sourceFile, stmt.moduleSpecifier, TO_INTERNAL, changes);
98
+ }
99
+ /**
100
+ * Partition the named bindings of an import/export declaration into the ones
101
+ * that resolve to `@nx/node`'s public entry and the ones that don't. If both
102
+ * groups are non-empty, the single declaration is split into two.
103
+ */
104
+ function rewriteNamedDeclaration(sourceFile, decl, specifier, isTypeOnly, elements, keyword, changes) {
105
+ const publicEls = [];
106
+ const internalEls = [];
107
+ for (const el of elements) {
108
+ // `propertyName` is the original name in `orig as alias`; fall back to
109
+ // `name` for the plain `orig` form.
110
+ const importedName = (el.propertyName ?? el.name).text;
111
+ (PUBLIC_SYMBOLS.has(importedName) ? publicEls : internalEls).push(el);
112
+ }
113
+ if (publicEls.length === 0) {
114
+ replaceSpecifier(sourceFile, specifier, TO_INTERNAL, changes);
115
+ return;
116
+ }
117
+ if (internalEls.length === 0) {
118
+ replaceSpecifier(sourceFile, specifier, TO_PUBLIC, changes);
119
+ return;
120
+ }
121
+ // Mixed — replace the whole declaration with one statement per target.
122
+ const quote = sourceFile.text.charAt(specifier.getStart(sourceFile));
123
+ const start = decl.getStart(sourceFile);
124
+ const end = decl.getEnd();
125
+ const semicolon = sourceFile.text.charAt(end - 1) === ';' ? ';' : '';
126
+ const prefix = isTypeOnly ? `${keyword} type` : keyword;
127
+ const render = (els, target) => `${prefix} { ${els
128
+ .map((el) => el.getText(sourceFile))
129
+ .join(', ')} } from ${quote}${target}${quote}${semicolon}`;
130
+ changes.push({ type: devkit_1.ChangeType.Delete, start, length: end - start }, {
131
+ type: devkit_1.ChangeType.Insert,
132
+ index: start,
133
+ text: `${render(publicEls, TO_PUBLIC)}\n${render(internalEls, TO_INTERNAL)}`,
134
+ });
135
+ }
136
+ function collectCallExpressionRewrites(sourceFile, changes) {
137
+ const visit = (node) => {
138
+ if (ts.isCallExpression(node) &&
139
+ shouldRewriteCallExpression(node) &&
140
+ node.arguments.length >= 1 &&
141
+ isSubpathSpecifier(node.arguments[0])) {
142
+ // `require(...)`, dynamic `import(...)` and `jest.mock(...)` reference
143
+ // the module as a whole and can't be symbol-split, so they go to the
144
+ // internal entry.
145
+ replaceSpecifier(sourceFile, node.arguments[0], TO_INTERNAL, changes);
146
+ }
147
+ else if (ts.isImportTypeNode(node)) {
148
+ // `typeof import('...')` parses as an `ImportTypeNode`, not a
149
+ // CallExpression — its argument is `LiteralTypeNode<StringLiteral>`.
150
+ // The whole module is referenced, so it can't be symbol-split.
151
+ const literal = getImportTypeStringLiteral(node);
152
+ if (literal && literal.text.startsWith(FROM_PREFIX)) {
153
+ replaceSpecifier(sourceFile, literal, TO_INTERNAL, changes);
154
+ }
155
+ }
156
+ ts.forEachChild(node, visit);
157
+ };
158
+ visit(sourceFile);
159
+ }
160
+ function getImportTypeStringLiteral(node) {
161
+ const arg = node.argument;
162
+ if (arg && ts.isLiteralTypeNode(arg) && ts.isStringLiteral(arg.literal)) {
163
+ return arg.literal;
164
+ }
165
+ return undefined;
166
+ }
167
+ function shouldRewriteCallExpression(call) {
168
+ const callee = call.expression;
169
+ // `require('...')`
170
+ if (ts.isIdentifier(callee) && callee.text === 'require')
171
+ return true;
172
+ // dynamic `import('...')` (runtime form parses as a CallExpression whose
173
+ // callee is the `import` keyword). The `typeof import('...')` type-position
174
+ // form is an `ImportTypeNode` (handled in `collectCallExpressionRewrites`).
175
+ if (callee.kind === ts.SyntaxKind.ImportKeyword)
176
+ return true;
177
+ // `jest.mock(...)` / `vi.mock(...)` and friends.
178
+ if (ts.isPropertyAccessExpression(callee)) {
179
+ const obj = callee.expression;
180
+ if (ts.isIdentifier(obj) &&
181
+ (obj.text === 'jest' || obj.text === 'vi') &&
182
+ MOCK_HELPER_METHODS.has(callee.name.text)) {
183
+ return true;
184
+ }
185
+ }
186
+ return false;
187
+ }
188
+ function replaceSpecifier(sourceFile, literal, target, changes) {
189
+ const start = literal.getStart(sourceFile);
190
+ const end = literal.getEnd();
191
+ const quote = sourceFile.text.charAt(start);
192
+ changes.push({ type: devkit_1.ChangeType.Delete, start, length: end - start }, {
193
+ type: devkit_1.ChangeType.Insert,
194
+ index: start,
195
+ text: `${quote}${target}${quote}`,
196
+ });
197
+ }
@@ -3,4 +3,3 @@ export declare function assertSupportedExpressVersion(tree: Tree): void;
3
3
  export declare function assertSupportedKoaVersion(tree: Tree): void;
4
4
  export declare function assertSupportedFastifyVersion(tree: Tree): void;
5
5
  export declare function assertSupportedFrameworkVersion(tree: Tree, framework: string | undefined): void;
6
- //# sourceMappingURL=assert-supported-framework-version.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { Tree } from '@nx/devkit';
2
2
  export declare function hasWebpackPlugin(tree: Tree): boolean;
3
- //# sourceMappingURL=has-webpack-plugin.d.ts.map
@@ -5,4 +5,3 @@ export declare const kill: any;
5
5
  * @param killPortDelay
6
6
  */
7
7
  export declare function killPort(port: number, killPortDelay?: number): Promise<boolean>;
8
- //# sourceMappingURL=kill-port.d.ts.map
@@ -41,4 +41,3 @@ export declare function fastifyVersions(tree: Tree): FastifyVersions;
41
41
  export declare function getInstalledFastifyVersion(tree?: Tree): string | null;
42
42
  export declare const axiosVersion = "^1.6.0";
43
43
  export {};
44
- //# sourceMappingURL=versions.d.ts.map
@@ -11,7 +11,8 @@ exports.fastifyVersions = fastifyVersions;
11
11
  exports.getInstalledFastifyVersion = getInstalledFastifyVersion;
12
12
  const internal_1 = require("@nx/devkit/internal");
13
13
  const semver_1 = require("semver");
14
- exports.nxVersion = require('../../package.json').version;
14
+ const path_1 = require("path");
15
+ exports.nxVersion = require((0, path_1.join)('@nx/node', 'package.json')).version;
15
16
  exports.tslibVersion = '^2.3.0';
16
17
  // `@types/node` — supported window covers the active LTS majors (currently v22
17
18
  // and v24). Fresh installs default to the active LTS (v22).
@@ -5,4 +5,3 @@ export interface VSCodeDebugConfigOptions {
5
5
  packageManager?: string;
6
6
  }
7
7
  export declare function addVSCodeDebugConfiguration(tree: Tree, options: VSCodeDebugConfigOptions): void;
8
- //# sourceMappingURL=vscode-debug-config.d.ts.map
@@ -22,4 +22,3 @@ interface WaitForPortOpenOptions {
22
22
  */
23
23
  export declare function waitForPortOpen(port: number, options?: WaitForPortOpenOptions): Promise<void>;
24
24
  export {};
25
- //# sourceMappingURL=wait-for-port-open.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { waitForPortOpen } from './src/utils/wait-for-port-open';
2
2
  export { killPort } from './src/utils/kill-port';
3
- //# sourceMappingURL=utils.d.ts.map
package/generators.json CHANGED
@@ -4,29 +4,29 @@
4
4
  "extends": ["@nx/workspace"],
5
5
  "generators": {
6
6
  "init": {
7
- "factory": "./src/generators/init/init",
8
- "schema": "./src/generators/init/schema.json",
7
+ "factory": "./dist/src/generators/init/init",
8
+ "schema": "./dist/src/generators/init/schema.json",
9
9
  "description": "Initialize the `@nx/node` plugin.",
10
10
  "aliases": ["ng-add"],
11
11
  "hidden": true
12
12
  },
13
13
  "application": {
14
- "factory": "./src/generators/application/application#applicationGeneratorInternal",
15
- "schema": "./src/generators/application/schema.json",
14
+ "factory": "./dist/src/generators/application/application#applicationGeneratorInternal",
15
+ "schema": "./dist/src/generators/application/schema.json",
16
16
  "aliases": ["app"],
17
17
  "x-type": "application",
18
18
  "description": "Create a node application."
19
19
  },
20
20
  "library": {
21
- "factory": "./src/generators/library/library#libraryGeneratorInternal",
22
- "schema": "./src/generators/library/schema.json",
21
+ "factory": "./dist/src/generators/library/library#libraryGeneratorInternal",
22
+ "schema": "./dist/src/generators/library/schema.json",
23
23
  "aliases": ["lib"],
24
24
  "x-type": "library",
25
25
  "description": "Create a node library."
26
26
  },
27
27
  "setup-docker": {
28
- "factory": "./src/generators/setup-docker/setup-docker",
29
- "schema": "./src/generators/setup-docker/schema.json",
28
+ "factory": "./dist/src/generators/setup-docker/setup-docker",
29
+ "schema": "./dist/src/generators/setup-docker/schema.json",
30
30
  "description": "Set up Docker configuration for a project.",
31
31
  "hidden": false
32
32
  }
package/migrations.json CHANGED
@@ -1,5 +1,11 @@
1
1
  {
2
- "generators": {},
2
+ "generators": {
3
+ "rewrite-node-internal-subpath-imports": {
4
+ "version": "23.0.0-beta.25",
5
+ "description": "Rewrites `@nx/node/src/*` subpath imports now that the `./src/*` subpath is no longer exposed by `@nx/node`'s exports map. Named imports/exports of public symbols are routed to `@nx/node` and the rest to the new `@nx/node/internal` entry; `require`, dynamic `import` and `jest.mock` calls reference the whole module and are routed to `@nx/node/internal`.",
6
+ "implementation": "./dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports"
7
+ }
8
+ },
3
9
  "packageJsonUpdates": {
4
10
  "20.4.0": {
5
11
  "version": "20.4.0-beta.3",
package/package.json CHANGED
@@ -1,7 +1,15 @@
1
1
  {
2
2
  "name": "@nx/node",
3
- "version": "23.0.0-beta.22",
3
+ "version": "23.0.0-beta.24",
4
4
  "private": false,
5
+ "type": "commonjs",
6
+ "files": [
7
+ "dist",
8
+ "!dist/tsconfig.tsbuildinfo",
9
+ "!dist/spec",
10
+ "migrations.json",
11
+ "generators.json"
12
+ ],
5
13
  "description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
6
14
  "repository": {
7
15
  "type": "git",
@@ -17,9 +25,18 @@
17
25
  "CLI",
18
26
  "Backend"
19
27
  ],
20
- "main": "./index.js",
21
- "type": "commonjs",
22
- "types": "./index.d.ts",
28
+ "main": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "typesVersions": {
31
+ "*": {
32
+ "utils": [
33
+ "dist/utils.d.ts"
34
+ ],
35
+ "internal": [
36
+ "dist/internal.d.ts"
37
+ ]
38
+ }
39
+ },
23
40
  "author": "Victor Savkin",
24
41
  "license": "MIT",
25
42
  "bugs": {
@@ -31,19 +48,40 @@
31
48
  "requirements": {},
32
49
  "migrations": "./migrations.json"
33
50
  },
51
+ "exports": {
52
+ ".": {
53
+ "@nx/nx-source": "./index.ts",
54
+ "types": "./dist/index.d.ts",
55
+ "default": "./dist/index.js"
56
+ },
57
+ "./package.json": "./package.json",
58
+ "./migrations.json": "./migrations.json",
59
+ "./generators.json": "./generators.json",
60
+ "./utils": {
61
+ "@nx/nx-source": "./utils.ts",
62
+ "types": "./dist/utils.d.ts",
63
+ "default": "./dist/utils.js"
64
+ },
65
+ "./internal": {
66
+ "@nx/nx-source": "./internal.ts",
67
+ "types": "./dist/internal.d.ts",
68
+ "default": "./dist/internal.js"
69
+ }
70
+ },
34
71
  "dependencies": {
35
72
  "tslib": "^2.3.0",
36
- "@nx/devkit": "23.0.0-beta.22",
37
- "@nx/jest": "23.0.0-beta.22",
38
- "@nx/js": "23.0.0-beta.22",
39
- "@nx/eslint": "23.0.0-beta.22",
40
- "@nx/docker": "23.0.0-beta.22",
41
73
  "semver": "^7.6.3",
42
74
  "tcp-port-used": "^1.0.2",
43
- "kill-port": "^1.6.1"
75
+ "kill-port": "^1.6.1",
76
+ "@nx/devkit": "23.0.0-beta.24",
77
+ "@nx/jest": "23.0.0-beta.24",
78
+ "@nx/js": "23.0.0-beta.24",
79
+ "@nx/eslint": "23.0.0-beta.24",
80
+ "@nx/docker": "23.0.0-beta.24"
44
81
  },
45
82
  "devDependencies": {
46
- "nx": "23.0.0-beta.22"
83
+ "nx": "23.0.0-beta.24",
84
+ "@nx/webpack": "23.0.0-beta.24"
47
85
  },
48
86
  "peerDependencies": {
49
87
  "express": ">=4.0.0 <6.0.0",
package/index.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../packages/node/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../../../packages/node/src/generators/application/application.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,iBAAiB,EAIjB,IAAI,EAIL,MAAM,YAAY,CAAC;AAcpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAwClC,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAMpE;AAED,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BA0L5E;AAED,eAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-dependencies.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/add-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EACjB,IAAI,EACL,MAAM,YAAY,CAAC;AAUpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,GACxB;IACD,WAAW,EAAE,iBAAiB,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/C,CA0DA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-linting.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/add-linting.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAqB,IAAI,EAAE,MAAM,YAAY,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAe5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-proxy.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/add-proxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,EAEL,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAoD7D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-files.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/create-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,IAAI,EACL,MAAM,YAAY,CAAC;AAKpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,gBAAgB,QAiEhE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-project.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/create-project.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,IAAI,EAEL,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AASvD,wBAAgB,UAAU,CACxB,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,EACzB,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QA8D9C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-targets.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/create-targets.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EACpB,IAAI,EACJ,mBAAmB,EAEpB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,gBAAgB,GACxB,mBAAmB,CA+BrB;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,oBAAoB,EAC7B,OAAO,EAAE,gBAAgB,GACxB,mBAAmB,CAqCrB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,gBAAgB,GAAG,mBAAmB,CAuB7E;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,oBAAoB,GAC5B,mBAAmB,CAcrB;AAED,wBAAgB,eAAe,CAC7B,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GACjB;IACD,KAAK,EAAE,mBAAmB,CAAC;IAC3B,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,wBAAwB,EAAE,mBAAmB,CAAC;CAC/C,CAgCA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-options.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/normalize-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwC,IAAI,EAAE,MAAM,YAAY,CAAC;AAMxE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,MAAM,GACd,OAAO,CAAC,gBAAgB,CAAC,CA0D3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalized-schema.d.ts","sourceRoot":"","sources":["../../../../../../../packages/node/src/generators/application/lib/normalized-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAEnC,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC;IACrE,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,OAAO,CAAC;CAClC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"e2e-project.d.ts","sourceRoot":"","sources":["../../../../../../packages/node/src/generators/e2e-project/e2e-project.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,iBAAiB,EAOjB,IAAI,EAGL,MAAM,YAAY,CAAC;AAWpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAalC,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,8BAMpE;AAED,wBAAsB,2BAA2B,CAC/C,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,8BAyPjB;AAgDD,eAAe,mBAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../../../../packages/node/src/generators/init/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EAGjB,IAAI,EACL,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAkBlC,wBAAsB,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,8BAW9D;AAED,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../../../../packages/node/src/generators/library/library.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,iBAAiB,EAUjB,IAAI,EAIL,MAAM,YAAY,CAAC;AAapB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,MAAM,WAAW,gBAAiB,SAAQ,MAAM;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,QAAQ,EAAE,KAAK,GAAG,KAAK,CAAC;IACxB,uBAAuB,EAAE,OAAO,CAAC;CAClC;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BAMhE;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,8BA2ExE;AAED,eAAe,gBAAgB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-docker.d.ts","sourceRoot":"","sources":["../../../../../../packages/node/src/generators/setup-docker/setup-docker.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,iBAAiB,EAIjB,IAAI,EAML,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAsF9C,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,kBAAkB,QAqB1E;AAED,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,kBAAkB,8BAcjC;AAED,eAAe,oBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"assert-supported-framework-version.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/assert-supported-framework-version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAQvC,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE1D;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAE9D;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,MAAM,GAAG,SAAS,GAC5B,IAAI,CAQN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-webpack-plugin.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/has-webpack-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,IAAI,EAAE,MAAM,YAAY,CAAC;AAE9C,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,WAO1C"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"kill-port.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/kill-port.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,KAAuB,CAAC;AAEzC;;;;GAIG;AACH,wBAAsB,QAAQ,CAC5B,IAAI,EAAE,MAAM,EACZ,aAAa,SAAO,GACnB,OAAO,CAAC,OAAO,CAAC,CAwBlB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/versions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAOvC,eAAO,MAAM,SAAS,KAAwC,CAAC;AAE/D,eAAO,MAAM,YAAY,WAAW,CAAC;AAIrC,eAAO,MAAM,4BAA4B,WAAW,CAAC;AACrD,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C,KAAK,iBAAiB,GAAG;IACvB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAQF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,iBAAiB,CAO/D;AAED,wBAAgB,4BAA4B,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAKvE;AAGD,eAAO,MAAM,0BAA0B,UAAU,CAAC;AAClD,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAE9C,KAAK,eAAe,GAAG;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC;AAaF,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,eAAe,CAO3D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAKrE;AAGD,eAAO,MAAM,sBAAsB,UAAU,CAAC;AAC9C,eAAO,MAAM,UAAU,WAAW,CAAC;AACnC,eAAO,MAAM,iBAAiB,WAAW,CAAC;AAE1C,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAUF,wBAAgB,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,WAAW,CAOnD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAKjE;AAGD,eAAO,MAAM,0BAA0B,UAAU,CAAC;AAClD,eAAO,MAAM,cAAc,WAAW,CAAC;AACvC,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,eAAO,MAAM,oBAAoB,WAAW,CAAC;AAE7C,KAAK,eAAe,GAAG;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAiBF,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,eAAe,CAO3D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAKrE;AAED,eAAO,MAAM,YAAY,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"vscode-debug-config.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/vscode-debug-config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAKL,MAAM,YAAY,CAAC;AA+BpB,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,wBAAwB,GAChC,IAAI,CAgEN"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"wait-for-port-open.d.ts","sourceRoot":"","sources":["../../../../../packages/node/src/utils/wait-for-port-open.ts"],"names":[],"mappings":"AAGA,UAAU,sBAAsB;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,sBAA2B,GACnC,OAAO,CAAC,IAAI,CAAC,CAyCf"}
package/utils.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../packages/node/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes