@nx/node 23.0.0-pr.35465.2bc2643 → 23.0.0-rc.0
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/{index.d.ts → dist/index.d.ts} +0 -1
- package/dist/internal.d.ts +2 -0
- package/dist/internal.js +5 -0
- package/{src → dist/src}/generators/application/application.d.ts +0 -1
- package/{src → dist/src}/generators/application/application.js +16 -43
- package/{src → dist/src}/generators/application/lib/add-dependencies.d.ts +0 -1
- package/dist/src/generators/application/lib/add-dependencies.js +55 -0
- package/{src → dist/src}/generators/application/lib/add-linting.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/add-proxy.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-files.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-project.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-project.js +10 -5
- package/{src → dist/src}/generators/application/lib/create-targets.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/create-targets.js +5 -5
- package/{src → dist/src}/generators/application/lib/index.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/normalize-options.d.ts +0 -1
- package/{src → dist/src}/generators/application/lib/normalize-options.js +5 -5
- package/{src → dist/src}/generators/application/lib/normalized-schema.d.ts +0 -1
- package/{src → dist/src}/generators/application/schema.d.ts +1 -1
- package/{src → dist/src}/generators/application/schema.json +6 -6
- package/{src → dist/src}/generators/e2e-project/e2e-project.d.ts +0 -1
- package/{src → dist/src}/generators/e2e-project/e2e-project.js +16 -20
- package/{src → dist/src}/generators/init/init.d.ts +0 -1
- package/{src → dist/src}/generators/init/init.js +1 -1
- package/{src → dist/src}/generators/init/schema.json +1 -1
- package/{src → dist/src}/generators/library/library.d.ts +0 -1
- package/{src → dist/src}/generators/library/library.js +11 -15
- package/{src → dist/src}/generators/library/schema.d.ts +0 -1
- package/{src → dist/src}/generators/library/schema.json +0 -6
- package/{src → dist/src}/generators/setup-docker/setup-docker.d.ts +0 -1
- package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.d.ts +3 -0
- package/dist/src/migrations/update-23-0-0/rewrite-internal-subpath-imports.js +197 -0
- package/dist/src/utils/assert-supported-framework-version.d.ts +5 -0
- package/dist/src/utils/assert-supported-framework-version.js +28 -0
- package/{src → dist/src}/utils/has-webpack-plugin.d.ts +0 -1
- package/{src → dist/src}/utils/kill-port.d.ts +0 -1
- package/dist/src/utils/versions.d.ts +43 -0
- package/dist/src/utils/versions.js +127 -0
- package/{src → dist/src}/utils/vscode-debug-config.d.ts +0 -1
- package/{src → dist/src}/utils/wait-for-port-open.d.ts +0 -1
- package/{utils.d.ts → dist/utils.d.ts} +0 -1
- package/generators.json +8 -8
- package/migrations.json +13 -30
- package/package.json +67 -12
- package/index.d.ts.map +0 -1
- package/src/generators/application/application.d.ts.map +0 -1
- package/src/generators/application/lib/add-dependencies.d.ts.map +0 -1
- package/src/generators/application/lib/add-dependencies.js +0 -51
- package/src/generators/application/lib/add-linting.d.ts.map +0 -1
- package/src/generators/application/lib/add-proxy.d.ts.map +0 -1
- package/src/generators/application/lib/create-files.d.ts.map +0 -1
- package/src/generators/application/lib/create-project.d.ts.map +0 -1
- package/src/generators/application/lib/create-targets.d.ts.map +0 -1
- package/src/generators/application/lib/index.d.ts.map +0 -1
- package/src/generators/application/lib/normalize-options.d.ts.map +0 -1
- package/src/generators/application/lib/normalized-schema.d.ts.map +0 -1
- package/src/generators/e2e-project/e2e-project.d.ts.map +0 -1
- package/src/generators/init/init.d.ts.map +0 -1
- package/src/generators/library/library.d.ts.map +0 -1
- package/src/generators/setup-docker/setup-docker.d.ts.map +0 -1
- package/src/utils/has-webpack-plugin.d.ts.map +0 -1
- package/src/utils/kill-port.d.ts.map +0 -1
- package/src/utils/versions.d.ts +0 -13
- package/src/utils/versions.d.ts.map +0 -1
- package/src/utils/versions.js +0 -15
- package/src/utils/vscode-debug-config.d.ts.map +0 -1
- package/src/utils/wait-for-port-open.d.ts.map +0 -1
- package/utils.d.ts.map +0 -1
- /package/{LICENSE → dist/LICENSE} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{src → dist/src}/generators/application/files/common/src/assets/.gitkeep +0 -0
- /package/{src → dist/src}/generators/application/files/common/src/main.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/common/tsconfig.app.json +0 -0
- /package/{src → dist/src}/generators/application/files/common/tsconfig.json +0 -0
- /package/{src → dist/src}/generators/application/files/common/webpack.config.js__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/express/src/main.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/fastify/src/app/app.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/fastify/src/app/app.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/fastify/src/app/plugins/sensible.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/fastify/src/app/routes/root.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/fastify/src/main.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/files/koa/src/main.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/application/lib/add-linting.js +0 -0
- /package/{src → dist/src}/generators/application/lib/add-proxy.js +0 -0
- /package/{src → dist/src}/generators/application/lib/create-files.js +0 -0
- /package/{src → dist/src}/generators/application/lib/index.js +0 -0
- /package/{src → dist/src}/generators/application/lib/normalized-schema.js +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/cli/jest.config.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/cli/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/cli/src/test-setup.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/non-ts-solution/tsconfig.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/non-ts-solution/tsconfig.spec.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/common/jest.config.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/common/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/global-setup.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/global-teardown.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/common/src/support/test-setup.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/server/nest/src/__fileName__/__fileName__.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/files/ts-solution/tsconfig.json__tmpl__ +0 -0
- /package/{src → dist/src}/generators/e2e-project/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/e2e-project/schema.json +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.spec.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/lib/src/lib/__fileName__.ts__tmpl__ +0 -0
- /package/{src → dist/src}/generators/library/files/non-ts-solution/tsconfig.lib.json +0 -0
- /package/{src → dist/src}/generators/library/files/ts-solution/tsconfig.lib.json +0 -0
- /package/{src → dist/src}/generators/setup-docker/files/Dockerfile__tmpl__ +0 -0
- /package/{src → dist/src}/generators/setup-docker/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/setup-docker/schema.json +0 -0
- /package/{src → dist/src}/generators/setup-docker/setup-docker.js +0 -0
- /package/{src → dist/src}/utils/has-webpack-plugin.js +0 -0
- /package/{src → dist/src}/utils/kill-port.js +0 -0
- /package/{src → dist/src}/utils/vscode-debug-config.js +0 -0
- /package/{src → dist/src}/utils/wait-for-port-open.js +0 -0
- /package/{utils.js → dist/utils.js} +0 -0
|
@@ -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,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
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type Tree } from '@nx/devkit';
|
|
2
|
+
export declare function assertSupportedExpressVersion(tree: Tree): void;
|
|
3
|
+
export declare function assertSupportedKoaVersion(tree: Tree): void;
|
|
4
|
+
export declare function assertSupportedFastifyVersion(tree: Tree): void;
|
|
5
|
+
export declare function assertSupportedFrameworkVersion(tree: Tree, framework: string | undefined): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.assertSupportedExpressVersion = assertSupportedExpressVersion;
|
|
4
|
+
exports.assertSupportedKoaVersion = assertSupportedKoaVersion;
|
|
5
|
+
exports.assertSupportedFastifyVersion = assertSupportedFastifyVersion;
|
|
6
|
+
exports.assertSupportedFrameworkVersion = assertSupportedFrameworkVersion;
|
|
7
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
8
|
+
const versions_1 = require("./versions");
|
|
9
|
+
function assertSupportedExpressVersion(tree) {
|
|
10
|
+
(0, internal_1.assertSupportedPackageVersion)(tree, 'express', versions_1.minSupportedExpressVersion);
|
|
11
|
+
}
|
|
12
|
+
function assertSupportedKoaVersion(tree) {
|
|
13
|
+
(0, internal_1.assertSupportedPackageVersion)(tree, 'koa', versions_1.minSupportedKoaVersion);
|
|
14
|
+
}
|
|
15
|
+
function assertSupportedFastifyVersion(tree) {
|
|
16
|
+
(0, internal_1.assertSupportedPackageVersion)(tree, 'fastify', versions_1.minSupportedFastifyVersion);
|
|
17
|
+
}
|
|
18
|
+
function assertSupportedFrameworkVersion(tree, framework) {
|
|
19
|
+
if (framework === 'express') {
|
|
20
|
+
assertSupportedExpressVersion(tree);
|
|
21
|
+
}
|
|
22
|
+
else if (framework === 'koa') {
|
|
23
|
+
assertSupportedKoaVersion(tree);
|
|
24
|
+
}
|
|
25
|
+
else if (framework === 'fastify') {
|
|
26
|
+
assertSupportedFastifyVersion(tree);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type Tree } from '@nx/devkit';
|
|
2
|
+
export declare const nxVersion: any;
|
|
3
|
+
export declare const tslibVersion = "^2.3.0";
|
|
4
|
+
export declare const minSupportedNodeTypesVersion = "22.0.0";
|
|
5
|
+
export declare const typesNodeVersion = "^22.0.0";
|
|
6
|
+
type NodeTypesVersions = {
|
|
7
|
+
typesNodeVersion: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function nodeTypesVersions(tree: Tree): NodeTypesVersions;
|
|
10
|
+
export declare function getInstalledNodeTypesVersion(tree?: Tree): string | null;
|
|
11
|
+
export declare const minSupportedExpressVersion = "4.0.0";
|
|
12
|
+
export declare const expressVersion = "^5.1.0";
|
|
13
|
+
export declare const expressTypingsVersion = "^5.0.0";
|
|
14
|
+
type ExpressVersions = {
|
|
15
|
+
expressVersion: string;
|
|
16
|
+
expressTypingsVersion: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function expressVersions(tree: Tree): ExpressVersions;
|
|
19
|
+
export declare function getInstalledExpressVersion(tree?: Tree): string | null;
|
|
20
|
+
export declare const minSupportedKoaVersion = "2.0.0";
|
|
21
|
+
export declare const koaVersion = "^3.1.2";
|
|
22
|
+
export declare const koaTypingsVersion = "^3.0.0";
|
|
23
|
+
type KoaVersions = {
|
|
24
|
+
koaVersion: string;
|
|
25
|
+
koaTypingsVersion: string;
|
|
26
|
+
};
|
|
27
|
+
export declare function koaVersions(tree: Tree): KoaVersions;
|
|
28
|
+
export declare function getInstalledKoaVersion(tree?: Tree): string | null;
|
|
29
|
+
export declare const minSupportedFastifyVersion = "4.0.0";
|
|
30
|
+
export declare const fastifyVersion = "~5.2.1";
|
|
31
|
+
export declare const fastifyAutoloadVersion = "~6.0.3";
|
|
32
|
+
export declare const fastifySensibleVersion = "~6.0.2";
|
|
33
|
+
export declare const fastifyPluginVersion = "~5.0.1";
|
|
34
|
+
type FastifyVersions = {
|
|
35
|
+
fastifyVersion: string;
|
|
36
|
+
fastifyAutoloadVersion: string;
|
|
37
|
+
fastifySensibleVersion: string;
|
|
38
|
+
fastifyPluginVersion: string;
|
|
39
|
+
};
|
|
40
|
+
export declare function fastifyVersions(tree: Tree): FastifyVersions;
|
|
41
|
+
export declare function getInstalledFastifyVersion(tree?: Tree): string | null;
|
|
42
|
+
export declare const axiosVersion = "^1.6.0";
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.axiosVersion = exports.fastifyPluginVersion = exports.fastifySensibleVersion = exports.fastifyAutoloadVersion = exports.fastifyVersion = exports.minSupportedFastifyVersion = exports.koaTypingsVersion = exports.koaVersion = exports.minSupportedKoaVersion = exports.expressTypingsVersion = exports.expressVersion = exports.minSupportedExpressVersion = exports.typesNodeVersion = exports.minSupportedNodeTypesVersion = exports.tslibVersion = exports.nxVersion = void 0;
|
|
4
|
+
exports.nodeTypesVersions = nodeTypesVersions;
|
|
5
|
+
exports.getInstalledNodeTypesVersion = getInstalledNodeTypesVersion;
|
|
6
|
+
exports.expressVersions = expressVersions;
|
|
7
|
+
exports.getInstalledExpressVersion = getInstalledExpressVersion;
|
|
8
|
+
exports.koaVersions = koaVersions;
|
|
9
|
+
exports.getInstalledKoaVersion = getInstalledKoaVersion;
|
|
10
|
+
exports.fastifyVersions = fastifyVersions;
|
|
11
|
+
exports.getInstalledFastifyVersion = getInstalledFastifyVersion;
|
|
12
|
+
const internal_1 = require("@nx/devkit/internal");
|
|
13
|
+
const semver_1 = require("semver");
|
|
14
|
+
const path_1 = require("path");
|
|
15
|
+
exports.nxVersion = require((0, path_1.join)('@nx/node', 'package.json')).version;
|
|
16
|
+
exports.tslibVersion = '^2.3.0';
|
|
17
|
+
// `@types/node` — supported window covers the active LTS majors (currently v22
|
|
18
|
+
// and v24). Fresh installs default to the active LTS (v22).
|
|
19
|
+
exports.minSupportedNodeTypesVersion = '22.0.0';
|
|
20
|
+
exports.typesNodeVersion = '^22.0.0';
|
|
21
|
+
const nodeTypesLatest = { typesNodeVersion: exports.typesNodeVersion };
|
|
22
|
+
const nodeTypesVersionMap = {
|
|
23
|
+
22: { typesNodeVersion: '^22.0.0' },
|
|
24
|
+
24: { typesNodeVersion: '^24.0.0' },
|
|
25
|
+
};
|
|
26
|
+
function nodeTypesVersions(tree) {
|
|
27
|
+
const installed = getInstalledNodeTypesVersion(tree);
|
|
28
|
+
if (!installed) {
|
|
29
|
+
return nodeTypesLatest;
|
|
30
|
+
}
|
|
31
|
+
const m = (0, semver_1.major)(installed);
|
|
32
|
+
return nodeTypesVersionMap[m] ?? nodeTypesLatest;
|
|
33
|
+
}
|
|
34
|
+
function getInstalledNodeTypesVersion(tree) {
|
|
35
|
+
if (!tree) {
|
|
36
|
+
return (0, internal_1.getInstalledPackageVersion)('@types/node');
|
|
37
|
+
}
|
|
38
|
+
return (0, internal_1.getDeclaredPackageVersion)(tree, '@types/node');
|
|
39
|
+
}
|
|
40
|
+
// Express — support window v4 + v5 (v4 in MAINT through 2026-10-01, v5 ACTIVE).
|
|
41
|
+
exports.minSupportedExpressVersion = '4.0.0';
|
|
42
|
+
exports.expressVersion = '^5.1.0';
|
|
43
|
+
exports.expressTypingsVersion = '^5.0.0';
|
|
44
|
+
const expressLatest = {
|
|
45
|
+
expressVersion: exports.expressVersion,
|
|
46
|
+
expressTypingsVersion: exports.expressTypingsVersion,
|
|
47
|
+
};
|
|
48
|
+
const expressVersionMap = {
|
|
49
|
+
4: {
|
|
50
|
+
expressVersion: '^4.21.2',
|
|
51
|
+
expressTypingsVersion: '^4.17.21',
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
function expressVersions(tree) {
|
|
55
|
+
const installed = getInstalledExpressVersion(tree);
|
|
56
|
+
if (!installed) {
|
|
57
|
+
return expressLatest;
|
|
58
|
+
}
|
|
59
|
+
const m = (0, semver_1.major)(installed);
|
|
60
|
+
return expressVersionMap[m] ?? expressLatest;
|
|
61
|
+
}
|
|
62
|
+
function getInstalledExpressVersion(tree) {
|
|
63
|
+
if (!tree) {
|
|
64
|
+
return (0, internal_1.getInstalledPackageVersion)('express');
|
|
65
|
+
}
|
|
66
|
+
return (0, internal_1.getDeclaredPackageVersion)(tree, 'express');
|
|
67
|
+
}
|
|
68
|
+
// Koa — no upstream LTS policy; support window v2 + v3 (Rule 2: N & N-1).
|
|
69
|
+
exports.minSupportedKoaVersion = '2.0.0';
|
|
70
|
+
exports.koaVersion = '^3.1.2';
|
|
71
|
+
exports.koaTypingsVersion = '^3.0.0';
|
|
72
|
+
const koaLatest = { koaVersion: exports.koaVersion, koaTypingsVersion: exports.koaTypingsVersion };
|
|
73
|
+
const koaVersionMap = {
|
|
74
|
+
2: {
|
|
75
|
+
koaVersion: '^2.14.1',
|
|
76
|
+
koaTypingsVersion: '^2.13.5',
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
function koaVersions(tree) {
|
|
80
|
+
const installed = getInstalledKoaVersion(tree);
|
|
81
|
+
if (!installed) {
|
|
82
|
+
return koaLatest;
|
|
83
|
+
}
|
|
84
|
+
const m = (0, semver_1.major)(installed);
|
|
85
|
+
return koaVersionMap[m] ?? koaLatest;
|
|
86
|
+
}
|
|
87
|
+
function getInstalledKoaVersion(tree) {
|
|
88
|
+
if (!tree) {
|
|
89
|
+
return (0, internal_1.getInstalledPackageVersion)('koa');
|
|
90
|
+
}
|
|
91
|
+
return (0, internal_1.getDeclaredPackageVersion)(tree, 'koa');
|
|
92
|
+
}
|
|
93
|
+
// Fastify — upstream "last 2 majors" policy. Support window v4 + v5.
|
|
94
|
+
exports.minSupportedFastifyVersion = '4.0.0';
|
|
95
|
+
exports.fastifyVersion = '~5.2.1';
|
|
96
|
+
exports.fastifyAutoloadVersion = '~6.0.3';
|
|
97
|
+
exports.fastifySensibleVersion = '~6.0.2';
|
|
98
|
+
exports.fastifyPluginVersion = '~5.0.1';
|
|
99
|
+
const fastifyLatest = {
|
|
100
|
+
fastifyVersion: exports.fastifyVersion,
|
|
101
|
+
fastifyAutoloadVersion: exports.fastifyAutoloadVersion,
|
|
102
|
+
fastifySensibleVersion: exports.fastifySensibleVersion,
|
|
103
|
+
fastifyPluginVersion: exports.fastifyPluginVersion,
|
|
104
|
+
};
|
|
105
|
+
const fastifyVersionMap = {
|
|
106
|
+
4: {
|
|
107
|
+
fastifyVersion: '~4.28.1',
|
|
108
|
+
fastifyAutoloadVersion: '~5.10.0',
|
|
109
|
+
fastifySensibleVersion: '~5.6.0',
|
|
110
|
+
fastifyPluginVersion: '~4.5.1',
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
function fastifyVersions(tree) {
|
|
114
|
+
const installed = getInstalledFastifyVersion(tree);
|
|
115
|
+
if (!installed) {
|
|
116
|
+
return fastifyLatest;
|
|
117
|
+
}
|
|
118
|
+
const m = (0, semver_1.major)(installed);
|
|
119
|
+
return fastifyVersionMap[m] ?? fastifyLatest;
|
|
120
|
+
}
|
|
121
|
+
function getInstalledFastifyVersion(tree) {
|
|
122
|
+
if (!tree) {
|
|
123
|
+
return (0, internal_1.getInstalledPackageVersion)('fastify');
|
|
124
|
+
}
|
|
125
|
+
return (0, internal_1.getDeclaredPackageVersion)(tree, 'fastify');
|
|
126
|
+
}
|
|
127
|
+
exports.axiosVersion = '^1.6.0';
|
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,37 +1,17 @@
|
|
|
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
|
-
"20.4.0": {
|
|
5
|
-
"version": "20.4.0-beta.3",
|
|
6
|
-
"packages": {
|
|
7
|
-
"fastify": {
|
|
8
|
-
"version": "~5.2.1",
|
|
9
|
-
"alwaysAddToPackageJson": false
|
|
10
|
-
},
|
|
11
|
-
"fastify-plugin": {
|
|
12
|
-
"version": "~5.0.1",
|
|
13
|
-
"alwaysAddToPackageJson": false
|
|
14
|
-
},
|
|
15
|
-
"@fastify/autoload": {
|
|
16
|
-
"version": "~6.0.3",
|
|
17
|
-
"alwaysAddToPackageJson": false
|
|
18
|
-
},
|
|
19
|
-
"@fastify/sensible": {
|
|
20
|
-
"version": "~6.0.2",
|
|
21
|
-
"alwaysAddToPackageJson": false
|
|
22
|
-
},
|
|
23
|
-
"express": {
|
|
24
|
-
"version": "^4.21.2",
|
|
25
|
-
"alwaysAddToPackageJson": false
|
|
26
|
-
},
|
|
27
|
-
"@types/express": {
|
|
28
|
-
"version": "^4.17.21",
|
|
29
|
-
"alwaysAddToPackageJson": false
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
10
|
"22.0.2": {
|
|
34
11
|
"version": "22.0.2-beta.0",
|
|
12
|
+
"requires": {
|
|
13
|
+
"koa": ">=2.0.0 <3.0.0"
|
|
14
|
+
},
|
|
35
15
|
"packages": {
|
|
36
16
|
"koa": {
|
|
37
17
|
"version": "^3.0.3",
|
|
@@ -46,6 +26,9 @@
|
|
|
46
26
|
"22.6.0": {
|
|
47
27
|
"version": "22.6.0-beta.10",
|
|
48
28
|
"x-prompt": "Bump koa to ^3.1.2 to resolve CVE-2026-27959 (Host Header Injection)",
|
|
29
|
+
"requires": {
|
|
30
|
+
"koa": ">=3.0.0 <4.0.0"
|
|
31
|
+
},
|
|
49
32
|
"packages": {
|
|
50
33
|
"koa": {
|
|
51
34
|
"version": "^3.1.2",
|
package/package.json
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/node",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-rc.0",
|
|
4
4
|
"private": false,
|
|
5
|
+
"type": "commonjs",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
9
|
+
"migrations.json",
|
|
10
|
+
"generators.json"
|
|
11
|
+
],
|
|
5
12
|
"description": "The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.",
|
|
6
13
|
"repository": {
|
|
7
14
|
"type": "git",
|
|
@@ -17,9 +24,18 @@
|
|
|
17
24
|
"CLI",
|
|
18
25
|
"Backend"
|
|
19
26
|
],
|
|
20
|
-
"main": "./index.js",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"typesVersions": {
|
|
30
|
+
"*": {
|
|
31
|
+
"utils": [
|
|
32
|
+
"dist/utils.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"internal": [
|
|
35
|
+
"dist/internal.d.ts"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
23
39
|
"author": "Victor Savkin",
|
|
24
40
|
"license": "MIT",
|
|
25
41
|
"bugs": {
|
|
@@ -29,20 +45,59 @@
|
|
|
29
45
|
"generators": "./generators.json",
|
|
30
46
|
"ng-update": {
|
|
31
47
|
"requirements": {},
|
|
32
|
-
"migrations": "./migrations.json"
|
|
48
|
+
"migrations": "./migrations.json",
|
|
49
|
+
"supportsOptionalMigrations": true
|
|
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
|
+
}
|
|
33
70
|
},
|
|
34
71
|
"dependencies": {
|
|
35
72
|
"tslib": "^2.3.0",
|
|
36
|
-
"
|
|
37
|
-
"@nx/jest": "23.0.0-pr.35465.2bc2643",
|
|
38
|
-
"@nx/js": "23.0.0-pr.35465.2bc2643",
|
|
39
|
-
"@nx/eslint": "23.0.0-pr.35465.2bc2643",
|
|
40
|
-
"@nx/docker": "23.0.0-pr.35465.2bc2643",
|
|
73
|
+
"semver": "^7.6.3",
|
|
41
74
|
"tcp-port-used": "^1.0.2",
|
|
42
|
-
"kill-port": "^1.6.1"
|
|
75
|
+
"kill-port": "^1.6.1",
|
|
76
|
+
"@nx/devkit": "23.0.0-rc.0",
|
|
77
|
+
"@nx/jest": "23.0.0-rc.0",
|
|
78
|
+
"@nx/js": "23.0.0-rc.0",
|
|
79
|
+
"@nx/eslint": "23.0.0-rc.0",
|
|
80
|
+
"@nx/docker": "23.0.0-rc.0"
|
|
43
81
|
},
|
|
44
82
|
"devDependencies": {
|
|
45
|
-
"nx": "23.0.0-
|
|
83
|
+
"nx": "23.0.0-rc.0",
|
|
84
|
+
"@nx/webpack": "23.0.0-rc.0"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"express": ">=4.0.0 <6.0.0",
|
|
88
|
+
"koa": ">=2.0.0 <4.0.0",
|
|
89
|
+
"fastify": ">=4.0.0 <6.0.0"
|
|
90
|
+
},
|
|
91
|
+
"peerDependenciesMeta": {
|
|
92
|
+
"express": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
95
|
+
"koa": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"fastify": {
|
|
99
|
+
"optional": true
|
|
100
|
+
}
|
|
46
101
|
},
|
|
47
102
|
"publishConfig": {
|
|
48
103
|
"access": "public"
|
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":"AAAA,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,8BAwL5E;AAED,eAAe,oBAAoB,CAAC"}
|