@nx/web 17.2.0-beta.0 → 17.2.0-beta.1
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": "17.2.0-beta.
|
|
3
|
+
"version": "17.2.0-beta.1",
|
|
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, 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": {
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"detect-port": "^1.5.1",
|
|
35
35
|
"http-server": "^14.1.0",
|
|
36
36
|
"tslib": "^2.3.0",
|
|
37
|
-
"@nx/devkit": "17.2.0-beta.
|
|
38
|
-
"@nx/js": "17.2.0-beta.
|
|
39
|
-
"@nrwl/web": "17.2.0-beta.
|
|
37
|
+
"@nx/devkit": "17.2.0-beta.1",
|
|
38
|
+
"@nx/js": "17.2.0-beta.1",
|
|
39
|
+
"@nrwl/web": "17.2.0-beta.1"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
@@ -78,14 +78,14 @@ function createFileWatcher(project, changeHandler) {
|
|
|
78
78
|
watchProjects: project ? [project] : 'all',
|
|
79
79
|
includeGlobalWorkspaceFiles: true,
|
|
80
80
|
includeDependentProjects: true,
|
|
81
|
-
}, async (error,
|
|
81
|
+
}, async (error, val) => {
|
|
82
82
|
if (error === 'closed') {
|
|
83
83
|
throw new Error('Watch error: Daemon closed the connection');
|
|
84
84
|
}
|
|
85
85
|
else if (error) {
|
|
86
86
|
throw new Error(`Watch error: ${error?.message ?? 'Unknown'}`);
|
|
87
87
|
}
|
|
88
|
-
else if (changedFiles.length > 0) {
|
|
88
|
+
else if (val?.changedFiles.length > 0) {
|
|
89
89
|
changeHandler();
|
|
90
90
|
}
|
|
91
91
|
});
|