@plasmicapp/cli 0.1.355 → 0.1.356
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/index.js +3 -3
- package/dist/lib.js +3 -3
- package/package.json +2 -2
- package/src/utils/npm-utils.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -487175,11 +487175,11 @@ function installCommand(config, pkg, baseDir, opts = {}) {
|
|
|
487175
487175
|
}
|
|
487176
487176
|
} else if (mgr === "pnpm") {
|
|
487177
487177
|
if (opts.global) {
|
|
487178
|
-
return `pnpm
|
|
487178
|
+
return `pnpm add -g ${pkg}`;
|
|
487179
487179
|
} else if (opts.dev) {
|
|
487180
|
-
return `pnpm
|
|
487180
|
+
return `pnpm add --save-dev --ignore-scripts ${pkg}`;
|
|
487181
487181
|
} else {
|
|
487182
|
-
return `pnpm
|
|
487182
|
+
return `pnpm add --ignore-scripts ${pkg}`;
|
|
487183
487183
|
}
|
|
487184
487184
|
} else {
|
|
487185
487185
|
if (opts.global) {
|
package/dist/lib.js
CHANGED
|
@@ -482480,11 +482480,11 @@ function installCommand(config, pkg, baseDir, opts = {}) {
|
|
|
482480
482480
|
}
|
|
482481
482481
|
} else if (mgr === "pnpm") {
|
|
482482
482482
|
if (opts.global) {
|
|
482483
|
-
return `pnpm
|
|
482483
|
+
return `pnpm add -g ${pkg}`;
|
|
482484
482484
|
} else if (opts.dev) {
|
|
482485
|
-
return `pnpm
|
|
482485
|
+
return `pnpm add --save-dev --ignore-scripts ${pkg}`;
|
|
482486
482486
|
} else {
|
|
482487
|
-
return `pnpm
|
|
482487
|
+
return `pnpm add --ignore-scripts ${pkg}`;
|
|
482488
482488
|
}
|
|
482489
482489
|
} else {
|
|
482490
482490
|
if (opts.global) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.356",
|
|
4
4
|
"description": "plasmic cli for syncing local code with Plasmic designs",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=12"
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"wrap-ansi": "^7.0.0",
|
|
83
83
|
"yargs": "^15.4.1"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "8b07021bbf5b0f90eb8f8d1be179d74a34a4b19a"
|
|
86
86
|
}
|
package/src/utils/npm-utils.ts
CHANGED
|
@@ -184,11 +184,11 @@ export function installCommand(
|
|
|
184
184
|
}
|
|
185
185
|
} else if (mgr === "pnpm") {
|
|
186
186
|
if (opts.global) {
|
|
187
|
-
return `pnpm
|
|
187
|
+
return `pnpm add -g ${pkg}`;
|
|
188
188
|
} else if (opts.dev) {
|
|
189
|
-
return `pnpm
|
|
189
|
+
return `pnpm add --save-dev --ignore-scripts ${pkg}`;
|
|
190
190
|
} else {
|
|
191
|
-
return `pnpm
|
|
191
|
+
return `pnpm add --ignore-scripts ${pkg}`;
|
|
192
192
|
}
|
|
193
193
|
} else {
|
|
194
194
|
if (opts.global) {
|