@nx/rspack 22.3.3 → 22.4.0-canary.20251219-137ab45
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/rspack",
|
|
3
3
|
"description": "The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.",
|
|
4
|
-
"version": "22.
|
|
4
|
+
"version": "22.4.0-canary.20251219-137ab45",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"generators": "./generators.json",
|
|
25
25
|
"executors": "./executors.json",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nx/devkit": "22.
|
|
28
|
-
"@nx/js": "22.
|
|
29
|
-
"@nx/module-federation": "22.
|
|
30
|
-
"@nx/web": "22.
|
|
27
|
+
"@nx/devkit": "22.4.0-canary.20251219-137ab45",
|
|
28
|
+
"@nx/js": "22.4.0-canary.20251219-137ab45",
|
|
29
|
+
"@nx/module-federation": "22.4.0-canary.20251219-137ab45",
|
|
30
|
+
"@nx/web": "22.4.0-canary.20251219-137ab45",
|
|
31
31
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
32
32
|
"@rspack/core": "^1.5.2",
|
|
33
33
|
"@rspack/dev-server": "^1.1.4",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"webpack-node-externals": "^3.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"nx": "22.
|
|
61
|
-
"@nx/nest": "22.
|
|
60
|
+
"nx": "22.4.0-canary.20251219-137ab45",
|
|
61
|
+
"@nx/nest": "22.4.0-canary.20251219-137ab45"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@module-federation/enhanced": "^0.21.2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rspack-nx-build-coordination-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rspack/src/plugins/utils/plugins/rspack-nx-build-coordination-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,qBAAa,+BAA+B;IAKxC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAJ3B,OAAO,CAAC,gBAAgB,CAAgD;IACxE,OAAO,CAAC,eAAe,CAAwC;gBAG5C,QAAQ,EAAE,MAAM,EACjC,gBAAgB,CAAC,EAAE,OAAO;IAe5B,KAAK,CAAC,QAAQ,EAAE,QAAQ;IAelB,0BAA0B;IAQ1B,oBAAoB;IA0B1B,OAAO,CAAC,iBAAiB;
|
|
1
|
+
{"version":3,"file":"rspack-nx-build-coordination-plugin.d.ts","sourceRoot":"","sources":["../../../../../../../packages/rspack/src/plugins/utils/plugins/rspack-nx-build-coordination-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,qBAAa,+BAA+B;IAKxC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAJ3B,OAAO,CAAC,gBAAgB,CAAgD;IACxE,OAAO,CAAC,eAAe,CAAwC;gBAG5C,QAAQ,EAAE,MAAM,EACjC,gBAAgB,CAAC,EAAE,OAAO;IAe5B,KAAK,CAAC,QAAQ,EAAE,QAAQ;IAelB,0BAA0B;IAQ1B,oBAAoB;IA0B1B,OAAO,CAAC,iBAAiB;CAiC1B"}
|
|
@@ -69,16 +69,25 @@ class RspackNxBuildCoordinationPlugin {
|
|
|
69
69
|
return client_1.daemonClient.registerFileWatcher({
|
|
70
70
|
watchProjects: 'all',
|
|
71
71
|
}, (err, { changedProjects, changedFiles }) => {
|
|
72
|
-
if (err === '
|
|
72
|
+
if (err === 'reconnecting') {
|
|
73
|
+
// Silent - daemon restarts automatically on lockfile changes
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
else if (err === 'reconnected') {
|
|
77
|
+
// Silent - reconnection succeeded
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
else if (err === 'closed') {
|
|
73
81
|
output_1.output.error({
|
|
74
|
-
title: '
|
|
75
|
-
bodyLines: [
|
|
76
|
-
'The daemon has closed the connection to this watch process.',
|
|
77
|
-
'Please restart your watch command.',
|
|
78
|
-
],
|
|
82
|
+
title: 'Failed to reconnect to daemon after multiple attempts',
|
|
79
83
|
});
|
|
80
84
|
process.exit(1);
|
|
81
85
|
}
|
|
86
|
+
else if (err) {
|
|
87
|
+
output_1.output.error({
|
|
88
|
+
title: `Watch error: ${err?.message ?? 'Unknown'}`,
|
|
89
|
+
});
|
|
90
|
+
}
|
|
82
91
|
if (this.buildCmdProcess) {
|
|
83
92
|
this.buildCmdProcess.kill(2);
|
|
84
93
|
this.buildCmdProcess = null;
|