@elliemae/pui-cli 7.0.0-alpha.5 → 7.0.0-alpha.6
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.
|
@@ -6,9 +6,10 @@ const WORKSPACE_MANIFEST_FILENAME = 'pnpm-workspace.yaml';
|
|
|
6
6
|
|
|
7
7
|
const getPNPMWorkspaceLocation = (cwd) => {
|
|
8
8
|
let location = null;
|
|
9
|
+
const findUpExec = path.resolve(process.cwd(), path.join('node_modules', '.bin', `find-up${process.platform === 'win32' ? '.cmd' : ''}`));
|
|
9
10
|
for (const fileName of [WORKSPACE_MANIFEST_FILENAME, 'pnpm-workspace.yml']){
|
|
10
11
|
try {
|
|
11
|
-
const result = execSync(
|
|
12
|
+
const result = execSync(`${findUpExec} ${fileName}`, { cwd });
|
|
12
13
|
location = result.toString().trim();
|
|
13
14
|
break;
|
|
14
15
|
} catch (err) {
|
|
@@ -6,9 +6,10 @@ const WORKSPACE_MANIFEST_FILENAME = 'pnpm-workspace.yaml';
|
|
|
6
6
|
|
|
7
7
|
const getPNPMWorkspaceLocation = (cwd) => {
|
|
8
8
|
let location = null;
|
|
9
|
+
const findUpExec = path.resolve(process.cwd(), path.join('node_modules', '.bin', `find-up${process.platform === 'win32' ? '.cmd' : ''}`));
|
|
9
10
|
for (const fileName of [WORKSPACE_MANIFEST_FILENAME, 'pnpm-workspace.yml']){
|
|
10
11
|
try {
|
|
11
|
-
const result = execSync(
|
|
12
|
+
const result = execSync(`${findUpExec} ${fileName}`, { cwd });
|
|
12
13
|
location = result.toString().trim();
|
|
13
14
|
break;
|
|
14
15
|
} catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.6",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"fast-glob": "~3.2.11",
|
|
176
176
|
"find-up": "~6.3.0",
|
|
177
177
|
"find-up-cli": "~5.0.0",
|
|
178
|
-
"happy-dom": "~3.1.
|
|
178
|
+
"happy-dom": "~3.1.1",
|
|
179
179
|
"helmet-csp": "~3.4.0",
|
|
180
180
|
"html-webpack-plugin": "~5.5.0",
|
|
181
181
|
"http-server": "~14.1.0",
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"url-loader": "~4.1.1",
|
|
245
245
|
"uuid": "~8.3.2",
|
|
246
246
|
"vite": "~2.9.8",
|
|
247
|
-
"vitest": "~0.10.
|
|
247
|
+
"vitest": "~0.10.4",
|
|
248
248
|
"webpack": "~5.72.0",
|
|
249
249
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
250
250
|
"webpack-cli": "~4.9.2",
|