@ohos-ports/nx 23.3.0-beta.1 → 23.3.0-beta.2
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/dist/bin/nx.js +2 -2
- package/package.json +1 -1
package/dist/bin/nx.js
CHANGED
|
@@ -198,13 +198,13 @@ function resolveNx(workspace) {
|
|
|
198
198
|
const installPath = (0, installation_directory_1.getNxInstallationPath)(root);
|
|
199
199
|
if ((0, fs_1.existsSync)(installPath)) {
|
|
200
200
|
const installRequire = (0, module_1.createRequire)((0, path_1.join)(installPath, 'package.json'));
|
|
201
|
-
return installRequire.resolve('@ohos-ports/nx/
|
|
201
|
+
return installRequire.resolve('@ohos-ports/nx/bin/nx.js');
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
catch { }
|
|
205
205
|
// check for root install
|
|
206
206
|
const rootRequire = (0, module_1.createRequire)((0, path_1.join)(root, 'package.json'));
|
|
207
|
-
return rootRequire.resolve('@ohos-ports/nx/
|
|
207
|
+
return rootRequire.resolve('@ohos-ports/nx/bin/nx.js');
|
|
208
208
|
}
|
|
209
209
|
function isNxCloudCommand(command) {
|
|
210
210
|
const nxCloudCommands = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/nx",
|
|
3
|
-
"version": "23.3.0-beta.
|
|
3
|
+
"version": "23.3.0-beta.2",
|
|
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.",
|