@nestjs/cli 11.0.0 → 11.0.2
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.
|
@@ -68,7 +68,10 @@ class AssetsManager {
|
|
|
68
68
|
if (isWatchEnabled || item.watchAssets) {
|
|
69
69
|
// prettier-ignore
|
|
70
70
|
const watcher = chokidar
|
|
71
|
-
.watch(item.glob, {
|
|
71
|
+
.watch((0, glob_1.sync)(item.glob, {
|
|
72
|
+
ignore: item.exclude,
|
|
73
|
+
dot: true,
|
|
74
|
+
}))
|
|
72
75
|
.on('add', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
|
|
73
76
|
.on('change', (path) => this.actionOnFile({ ...option, path, action: 'change' }))
|
|
74
77
|
.on('unlink', (path) => this.actionOnFile({ ...option, path, action: 'unlink' }));
|
|
@@ -176,8 +176,8 @@ class SwcCompiler extends base_compiler_1.BaseCompiler {
|
|
|
176
176
|
const dir = (0, path_1.isAbsolute)(options.cliOptions.outDir)
|
|
177
177
|
? options.cliOptions.outDir
|
|
178
178
|
: (0, path_1.join)(process.cwd(), options.cliOptions.outDir);
|
|
179
|
-
const
|
|
180
|
-
|
|
179
|
+
const watcher = chokidar.watch(dir, {
|
|
180
|
+
ignored: (file, stats) => (stats?.isFile() && !file.endsWith('.js')),
|
|
181
181
|
ignoreInitial: true,
|
|
182
182
|
awaitWriteFinish: {
|
|
183
183
|
stabilityThreshold: 50,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/cli",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.2",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/nestjs/nest-cli#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@angular-devkit/core": "19.1.
|
|
42
|
-
"@angular-devkit/schematics": "19.1.
|
|
43
|
-
"@angular-devkit/schematics-cli": "19.1.
|
|
41
|
+
"@angular-devkit/core": "19.1.3",
|
|
42
|
+
"@angular-devkit/schematics": "19.1.3",
|
|
43
|
+
"@angular-devkit/schematics-cli": "19.1.3",
|
|
44
44
|
"@inquirer/prompts": "7.2.3",
|
|
45
45
|
"@nestjs/schematics": "11.0.0",
|
|
46
46
|
"ansis": "3.9.0",
|
|
@@ -62,14 +62,14 @@
|
|
|
62
62
|
"@commitlint/cli": "19.6.1",
|
|
63
63
|
"@commitlint/config-angular": "19.7.0",
|
|
64
64
|
"@swc/cli": "0.6.0",
|
|
65
|
-
"@swc/core": "1.10.
|
|
65
|
+
"@swc/core": "1.10.9",
|
|
66
66
|
"@types/inquirer": "9.0.7",
|
|
67
67
|
"@types/jest": "29.5.14",
|
|
68
68
|
"@types/node": "22.10.7",
|
|
69
69
|
"@types/node-emoji": "1.8.2",
|
|
70
70
|
"@types/webpack-node-externals": "3.0.4",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
72
|
-
"@typescript-eslint/parser": "8.
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "8.21.0",
|
|
72
|
+
"@typescript-eslint/parser": "8.21.0",
|
|
73
73
|
"delete-empty": "3.0.0",
|
|
74
74
|
"eslint": "9.18.0",
|
|
75
75
|
"eslint-config-prettier": "10.0.1",
|