create-plasmic-app 0.0.158 → 0.0.159

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 CHANGED
@@ -85,7 +85,7 @@ const argv = yargs_1.default
85
85
  boolean: true,
86
86
  })
87
87
  .option("appDir", {
88
- describe: "(Next.js) Use app directory (experimental)?",
88
+ describe: "(Next.js) Use app directory?",
89
89
  boolean: true,
90
90
  })
91
91
  .strict()
@@ -220,8 +220,7 @@ function run() {
220
220
  : "codegen";
221
221
  const platformOptions = {};
222
222
  if (platform === "nextjs") {
223
- // TODO: re-enable when app dir is released
224
- const showAppDirQuestion = false;
223
+ const showAppDirQuestion = true;
225
224
  if (showAppDirQuestion) {
226
225
  platformOptions.nextjs = {
227
226
  appDir: yield maybePrompt({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-plasmic-app",
3
- "version": "0.0.158",
3
+ "version": "0.0.159",
4
4
  "description": "Create Plasmic-powered React apps",
5
5
  "main": "./dist/lib.js",
6
6
  "types": "./dist/lib.d.ts",
@@ -47,5 +47,5 @@
47
47
  "validate-npm-package-name": "^3.0.0",
48
48
  "yargs": "^16.2.0"
49
49
  },
50
- "gitHead": "0b9991681f17d744c546ef4eb5275a8025b80af0"
50
+ "gitHead": "48e67ca98ff4b3405339a2159bae53bbf047491c"
51
51
  }
package/src/index.ts CHANGED
@@ -61,7 +61,7 @@ const argv = yargs
61
61
  boolean: true,
62
62
  })
63
63
  .option("appDir", {
64
- describe: "(Next.js) Use app directory (experimental)?",
64
+ describe: "(Next.js) Use app directory?",
65
65
  boolean: true,
66
66
  })
67
67
  .strict()
@@ -212,8 +212,7 @@ async function run(): Promise<void> {
212
212
 
213
213
  const platformOptions: PlatformOptions = {};
214
214
  if (platform === "nextjs") {
215
- // TODO: re-enable when app dir is released
216
- const showAppDirQuestion = false;
215
+ const showAppDirQuestion = true;
217
216
  if (showAppDirQuestion) {
218
217
  platformOptions.nextjs = {
219
218
  appDir: await maybePrompt({