@ohos-ports/nx 23.2.0-beta.2 → 23.2.0-beta.3
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.
|
@@ -11,7 +11,14 @@ function isIsolationEnabled() {
|
|
|
11
11
|
// Explicitly disabled
|
|
12
12
|
process.env.NX_ISOLATE_PLUGINS === 'false' ||
|
|
13
13
|
// Isolation is disabled on WASM builds currently.
|
|
14
|
-
native_1.IS_WASM
|
|
14
|
+
native_1.IS_WASM ||
|
|
15
|
+
// HarmonyOS (openharmony): the hmfs file system enforces mode 2771 on
|
|
16
|
+
// all directories (chmod 0700 cannot stick), so the 0700 socket dir
|
|
17
|
+
// required by plugin isolation cannot be created. Default to nx's
|
|
18
|
+
// in-process plugin loading unless NX_ISOLATE_PLUGINS is explicitly
|
|
19
|
+
// set (explicit values are respected by the branches above).
|
|
20
|
+
(process.platform === 'openharmony' &&
|
|
21
|
+
process.env.NX_ISOLATE_PLUGINS === undefined)) {
|
|
15
22
|
return false;
|
|
16
23
|
}
|
|
17
24
|
// Default value
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/nx",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"yargs-parser": "21.1.1"
|
|
174
174
|
},
|
|
175
175
|
"peerDependencies": {
|
|
176
|
-
"@swc-node
|
|
176
|
+
"@ohos-ports/swc-node-register": "^1.12.1-beta.0",
|
|
177
177
|
"@ohos-ports/swc-core": "^1.15.43-beta.1"
|
|
178
178
|
},
|
|
179
179
|
"peerDependenciesMeta": {
|