create-plasmic-app 0.0.94 → 0.0.95
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/nextjs/nextjs.js
CHANGED
|
@@ -39,7 +39,8 @@ exports.nextjsStrategy = {
|
|
|
39
39
|
? "--app"
|
|
40
40
|
: "--no-app";
|
|
41
41
|
const templateArg = template ? ` --template ${template}` : "";
|
|
42
|
-
|
|
42
|
+
// TODO: Change to latest when nextjs stops using react@19-rc
|
|
43
|
+
const createCommand = `npx create-next-app@14 ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
|
|
43
44
|
` --eslint --no-src-dir --import-alias "@/*" --no-tailwind`;
|
|
44
45
|
// Default Next.js starter already supports Typescript
|
|
45
46
|
// See where we `touch tsconfig.json` later on
|
package/dist/utils/npm-utils.js
CHANGED
|
@@ -150,7 +150,7 @@ function installCommand(pkg, opts = {}) {
|
|
|
150
150
|
return `npm install --save-dev --ignore-scripts ${pkg}`;
|
|
151
151
|
}
|
|
152
152
|
else {
|
|
153
|
-
return `npm install --
|
|
153
|
+
return `npm install --ignore-scripts ${pkg}`;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-plasmic-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"description": "Create Plasmic-powered React apps",
|
|
5
5
|
"main": "./dist/lib.js",
|
|
6
6
|
"types": "./dist/lib.d.ts",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"validate-npm-package-name": "^3.0.0",
|
|
55
55
|
"yargs": "^16.2.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "01695647a4ffb7abc8d31004535f7db6cc29f3be"
|
|
58
58
|
}
|
package/src/nextjs/nextjs.ts
CHANGED
|
@@ -29,8 +29,9 @@ export const nextjsStrategy: CPAStrategy = {
|
|
|
29
29
|
? "--app"
|
|
30
30
|
: "--no-app";
|
|
31
31
|
const templateArg = template ? ` --template ${template}` : "";
|
|
32
|
+
// TODO: Change to latest when nextjs stops using react@19-rc
|
|
32
33
|
const createCommand =
|
|
33
|
-
`npx create-next-app@
|
|
34
|
+
`npx create-next-app@14 ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
|
|
34
35
|
` --eslint --no-src-dir --import-alias "@/*" --no-tailwind`;
|
|
35
36
|
|
|
36
37
|
// Default Next.js starter already supports Typescript
|
package/src/utils/npm-utils.ts
CHANGED
|
@@ -110,7 +110,7 @@ function installCommand(
|
|
|
110
110
|
} else if (opts.dev) {
|
|
111
111
|
return `npm install --save-dev --ignore-scripts ${pkg}`;
|
|
112
112
|
} else {
|
|
113
|
-
return `npm install --
|
|
113
|
+
return `npm install --ignore-scripts ${pkg}`;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
}
|