create-plasmic-app 0.0.93 → 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.
@@ -39,7 +39,8 @@ exports.nextjsStrategy = {
39
39
  ? "--app"
40
40
  : "--no-app";
41
41
  const templateArg = template ? ` --template ${template}` : "";
42
- const createCommand = `npx create-next-app@latest ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.93",
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": "e3e7a87846f4aafc0dbf7db2d7fa4aef81534835"
57
+ "gitHead": "01695647a4ffb7abc8d31004535f7db6cc29f3be"
58
58
  }
@@ -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@latest ${projectPath} ${typescriptArg} ${experimentalAppArg} ${templateArg}` +
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