@nestjs/cli 8.2.3 → 8.2.4
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.
|
@@ -27,7 +27,7 @@ class WatchCompiler {
|
|
|
27
27
|
host.createProgram = (rootNames, options,
|
|
28
28
|
// tslint:disable-next-line:no-shadowed-variable
|
|
29
29
|
host, oldProgram) => {
|
|
30
|
-
const tsconfigPathsPlugin = (0, tsconfig_paths_hook_1.tsconfigPathsBeforeHookFactory)(options);
|
|
30
|
+
const tsconfigPathsPlugin = options ? (0, tsconfig_paths_hook_1.tsconfigPathsBeforeHookFactory)(options) : null;
|
|
31
31
|
const program = origCreateProgram(rootNames, options, host, oldProgram, undefined, projectReferences);
|
|
32
32
|
const origProgramEmit = program.emit;
|
|
33
33
|
program.emit = (targetSourceFile, writeFile, cancellationToken, emitOnlyDtsFiles, customTransformers) => {
|
|
@@ -36,7 +36,9 @@ class WatchCompiler {
|
|
|
36
36
|
const before = plugins.beforeHooks.map((hook) => hook(program.getProgram()));
|
|
37
37
|
const after = plugins.afterHooks.map((hook) => hook(program.getProgram()));
|
|
38
38
|
const afterDeclarations = plugins.afterDeclarationsHooks.map((hook) => hook(program.getProgram()));
|
|
39
|
-
|
|
39
|
+
if (tsconfigPathsPlugin) {
|
|
40
|
+
before.unshift(tsconfigPathsPlugin);
|
|
41
|
+
}
|
|
40
42
|
transforms.before = before.concat(transforms.before || []);
|
|
41
43
|
transforms.after = after.concat(transforms.after || []);
|
|
42
44
|
transforms.afterDeclarations = afterDeclarations.concat(transforms.afterDeclarations || []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/cli",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.4",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/nestjs/nest-cli#readme",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@angular-devkit/core": "13.
|
|
47
|
-
"@angular-devkit/schematics": "13.
|
|
48
|
-
"@angular-devkit/schematics-cli": "13.
|
|
46
|
+
"@angular-devkit/core": "13.3.0",
|
|
47
|
+
"@angular-devkit/schematics": "13.3.0",
|
|
48
|
+
"@angular-devkit/schematics-cli": "13.3.0",
|
|
49
49
|
"@nestjs/schematics": "^8.0.3",
|
|
50
50
|
"chalk": "3.0.0",
|
|
51
51
|
"chokidar": "3.5.3",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"webpack-node-externals": "3.0.0"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@commitlint/cli": "16.2.
|
|
71
|
-
"@commitlint/config-angular": "16.2.
|
|
70
|
+
"@commitlint/cli": "16.2.3",
|
|
71
|
+
"@commitlint/config-angular": "16.2.3",
|
|
72
72
|
"@types/copyfiles": "2.4.1",
|
|
73
73
|
"@types/inquirer": "7.3.3",
|
|
74
74
|
"@types/jest": "27.4.1",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"gulp-clean": "0.4.0",
|
|
90
90
|
"husky": "7.0.4",
|
|
91
91
|
"jest": "27.5.1",
|
|
92
|
-
"prettier": "2.
|
|
93
|
-
"release-it": "14.
|
|
92
|
+
"prettier": "2.6.0",
|
|
93
|
+
"release-it": "14.13.1",
|
|
94
94
|
"ts-jest": "27.1.3",
|
|
95
95
|
"ts-loader": "9.2.8",
|
|
96
96
|
"ts-node": "10.7.0"
|