create-pilotprojects-app 0.3.1 → 0.3.2
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/README.md +1 -1
- package/dist/prompts.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ The CLI is interactive — it asks a few questions then scaffolds, installs depe
|
|
|
59
59
|
| ------------------------------ | -------------------------------------------------------- | ----------------- |
|
|
60
60
|
| Project name | Any lowercase slug | — |
|
|
61
61
|
| Package scope | `@<name>` | `@<project-name>` |
|
|
62
|
-
| Apps to scaffold | Web / Mobile / Both |
|
|
62
|
+
| Apps to scaffold | Web only / Mobile only / Both | Web only |
|
|
63
63
|
| Environments | development / uat / production _(local always included)_ | production |
|
|
64
64
|
| Include design system? | Yes / No | Yes |
|
|
65
65
|
| Include Sentry? | Yes / No | Yes |
|
package/dist/prompts.js
CHANGED
|
@@ -25,14 +25,14 @@ export async function runPrompts(projectNameArg) {
|
|
|
25
25
|
return "Scope must start with @";
|
|
26
26
|
},
|
|
27
27
|
}),
|
|
28
|
-
apps: () => p.
|
|
28
|
+
apps: () => p.select({
|
|
29
29
|
message: "Which apps do you want to scaffold?",
|
|
30
30
|
options: [
|
|
31
|
-
{ value: "web", label: "Web", hint: "Next.js 15 + tRPC + Drizzle" },
|
|
32
|
-
{ value: "mobile", label: "Mobile", hint: "Expo SDK 52 + React Native" },
|
|
31
|
+
{ value: ["web"], label: "Web only", hint: "Next.js 15 + tRPC + Drizzle" },
|
|
32
|
+
{ value: ["mobile"], label: "Mobile only", hint: "Expo SDK 52 + React Native" },
|
|
33
|
+
{ value: ["web", "mobile"], label: "Web + Mobile", hint: "Both apps" },
|
|
33
34
|
],
|
|
34
|
-
|
|
35
|
-
required: true,
|
|
35
|
+
initialValue: ["web"],
|
|
36
36
|
}),
|
|
37
37
|
environments: () => p.multiselect({
|
|
38
38
|
message: "Which environments? (local is always included)",
|