create-plasmic-app 0.0.126 → 0.0.128

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.
@@ -133,13 +133,13 @@ function installCommand(pkg, opts = {}) {
133
133
  }
134
134
  else if (mgr === "pnpm") {
135
135
  if (opts.global) {
136
- return `pnpm install -g ${pkg}`;
136
+ return `pnpm add -g ${pkg}`;
137
137
  }
138
138
  else if (opts.dev) {
139
- return `pnpm install --dev --ignore-scripts ${pkg}`;
139
+ return `pnpm add --save-dev --ignore-scripts ${pkg}`;
140
140
  }
141
141
  else {
142
- return `pnpm install --ignore-scripts ${pkg}`;
142
+ return `pnpm add --ignore-scripts ${pkg}`;
143
143
  }
144
144
  }
145
145
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.126",
3
+ "version": "0.0.128",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "main": "./dist/lib.js",
6
6
  "types": "./dist/lib.d.ts",
@@ -33,7 +33,7 @@
33
33
  "tsx": "^4.20.6"
34
34
  },
35
35
  "dependencies": {
36
- "@plasmicapp/cli": "0.1.354",
36
+ "@plasmicapp/cli": "0.1.356",
37
37
  "@sentry/node": "^6.2.2",
38
38
  "chalk": "^4.1.0",
39
39
  "execa": "^5.0.0",
@@ -47,5 +47,5 @@
47
47
  "validate-npm-package-name": "^3.0.0",
48
48
  "yargs": "^16.2.0"
49
49
  },
50
- "gitHead": "23cc06b03f3ebe95adf010c346634a8f5ef48bbd"
50
+ "gitHead": "8b07021bbf5b0f90eb8f8d1be179d74a34a4b19a"
51
51
  }
@@ -98,11 +98,11 @@ function installCommand(
98
98
  }
99
99
  } else if (mgr === "pnpm") {
100
100
  if (opts.global) {
101
- return `pnpm install -g ${pkg}`;
101
+ return `pnpm add -g ${pkg}`;
102
102
  } else if (opts.dev) {
103
- return `pnpm install --dev --ignore-scripts ${pkg}`;
103
+ return `pnpm add --save-dev --ignore-scripts ${pkg}`;
104
104
  } else {
105
- return `pnpm install --ignore-scripts ${pkg}`;
105
+ return `pnpm add --ignore-scripts ${pkg}`;
106
106
  }
107
107
  } else {
108
108
  if (opts.global) {