@nx/web 22.3.3 → 22.4.0-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/web",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.4.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Web Components contains generators for managing Web Component applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Playwright, Cypress, and Storybook.\n\n- Scaffolding for creating buildable libraries that can be published to npm.\n\n- Utilities for automatic workspace refactoring.",
|
|
6
6
|
"repository": {
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"http-server": "^14.1.0",
|
|
36
36
|
"picocolors": "^1.1.0",
|
|
37
37
|
"tslib": "^2.3.0",
|
|
38
|
-
"@nx/devkit": "22.
|
|
39
|
-
"@nx/js": "22.
|
|
38
|
+
"@nx/devkit": "22.4.0-beta.0",
|
|
39
|
+
"@nx/js": "22.4.0-beta.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"nx": "22.
|
|
43
|
-
"@nx/vitest": "22.
|
|
42
|
+
"nx": "22.4.0-beta.0",
|
|
43
|
+
"@nx/vitest": "22.4.0-beta.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-server.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/web/src/executors/file-server/file-server.impl.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EAIhB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"file-server.impl.d.ts","sourceRoot":"","sources":["../../../../../../packages/web/src/executors/file-server/file-server.impl.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EAIhB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AA6IlC,wBAA+B,kBAAkB,CAC/C,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,eAAe;;;;aA4HM,OAAO;YAUtC"}
|
|
@@ -100,8 +100,16 @@ function createFileWatcher(project, changeHandler) {
|
|
|
100
100
|
includeGlobalWorkspaceFiles: true,
|
|
101
101
|
includeDependentProjects: true,
|
|
102
102
|
}, async (error, val) => {
|
|
103
|
-
if (error === '
|
|
104
|
-
|
|
103
|
+
if (error === 'reconnecting') {
|
|
104
|
+
// Silent - daemon restarts automatically on lockfile changes
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
else if (error === 'reconnected') {
|
|
108
|
+
// Silent - reconnection succeeded
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
else if (error === 'closed') {
|
|
112
|
+
throw new Error('Failed to reconnect to daemon after multiple attempts');
|
|
105
113
|
}
|
|
106
114
|
else if (error) {
|
|
107
115
|
throw new Error(`Watch error: ${error?.message ?? 'Unknown'}`);
|