@nestjs/cli 10.4.3 → 10.4.5
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/lib/compiler/assets-manager.js +3 -2
- package/package.json +11 -11
|
@@ -99,12 +99,13 @@ class AssetsManager {
|
|
|
99
99
|
actionOnFile(option) {
|
|
100
100
|
const { action, item, path, sourceRoot, watchAssetsMode } = option;
|
|
101
101
|
const isWatchEnabled = watchAssetsMode || item.watchAssets;
|
|
102
|
+
const assetCheckKey = path + (item.outDir ?? '');
|
|
102
103
|
// Allow to do action for the first time before check watchMode
|
|
103
|
-
if (!isWatchEnabled && this.watchAssetsKeyValue[
|
|
104
|
+
if (!isWatchEnabled && this.watchAssetsKeyValue[assetCheckKey]) {
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
106
107
|
// Set path value to true for watching the first time
|
|
107
|
-
this.watchAssetsKeyValue[
|
|
108
|
+
this.watchAssetsKeyValue[assetCheckKey] = true;
|
|
108
109
|
// Set action to true to avoid watches getting cutoff
|
|
109
110
|
this.actionInProgress = true;
|
|
110
111
|
const dest = (0, copy_path_resolve_1.copyPathResolve)(path, item.outDir, sourceRoot.split(path_1.sep).length);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjs/cli",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.5",
|
|
4
4
|
"description": "Nest - modern, fast, powerful node.js web framework (@cli)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -55,29 +55,29 @@
|
|
|
55
55
|
"tsconfig-paths": "4.2.0",
|
|
56
56
|
"tsconfig-paths-webpack-plugin": "4.1.0",
|
|
57
57
|
"typescript": "5.3.3",
|
|
58
|
-
"webpack": "5.
|
|
58
|
+
"webpack": "5.94.0",
|
|
59
59
|
"webpack-node-externals": "3.0.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@commitlint/cli": "19.4.
|
|
63
|
-
"@commitlint/config-angular": "19.
|
|
62
|
+
"@commitlint/cli": "19.4.1",
|
|
63
|
+
"@commitlint/config-angular": "19.4.1",
|
|
64
64
|
"@swc/cli": "0.4.0",
|
|
65
|
-
"@swc/core": "1.7.
|
|
65
|
+
"@swc/core": "1.7.21",
|
|
66
66
|
"@types/inquirer": "9.0.7",
|
|
67
67
|
"@types/jest": "29.5.12",
|
|
68
|
-
"@types/node": "20.
|
|
68
|
+
"@types/node": "20.16.2",
|
|
69
69
|
"@types/node-emoji": "1.8.2",
|
|
70
70
|
"@types/webpack-node-externals": "3.0.4",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "8.0
|
|
72
|
-
"@typescript-eslint/parser": "8.0
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "8.3.0",
|
|
72
|
+
"@typescript-eslint/parser": "8.3.0",
|
|
73
73
|
"delete-empty": "3.0.0",
|
|
74
|
-
"eslint": "9.
|
|
74
|
+
"eslint": "9.9.1",
|
|
75
75
|
"eslint-config-prettier": "9.1.0",
|
|
76
76
|
"gulp": "5.0.0",
|
|
77
77
|
"gulp-clean": "0.4.0",
|
|
78
|
-
"husky": "9.1.
|
|
78
|
+
"husky": "9.1.5",
|
|
79
79
|
"jest": "29.7.0",
|
|
80
|
-
"lint-staged": "15.2.
|
|
80
|
+
"lint-staged": "15.2.9",
|
|
81
81
|
"prettier": "3.3.3",
|
|
82
82
|
"release-it": "17.6.0",
|
|
83
83
|
"ts-jest": "29.2.3",
|