@geastack/cli 0.1.7 → 0.1.8
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 +2 -2
- package/docs/NPX-COMMANDS.md +1 -1
- package/docs/SPEC.md +1 -1
- package/package.json +1 -1
- package/src/create-geastack.mjs +3 -3
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ flowchart TD
|
|
|
47
47
|
install --> setup["Next: npx gea setup"]
|
|
48
48
|
|
|
49
49
|
auto["Automation flags"] -.-> starter
|
|
50
|
-
auto --> autoEmpty["--starter
|
|
50
|
+
auto --> autoEmpty["--starter blank --yes"]
|
|
51
51
|
auto --> autoExample["--starter example --example watch"]
|
|
52
52
|
```
|
|
53
53
|
|
|
@@ -157,6 +157,6 @@ First implementation is in place:
|
|
|
157
157
|
- npm-resolved embedded board builds for ESP32 and RP2350;
|
|
158
158
|
- `flash`, `monitor`, WiFi OTA, and BLE OTA through `@geastack/targets`;
|
|
159
159
|
- `list` and `inspect` helpers;
|
|
160
|
-
- `create-geastack` with a bundled counter starter,
|
|
160
|
+
- `create-geastack` with a bundled counter starter, a blank application, and a
|
|
161
161
|
GitHub-backed rich example flow for web, embedded, GeaOS, iOS, macOS, and Android apps,
|
|
162
162
|
all with `.gea/boards.json`.
|
package/docs/NPX-COMMANDS.md
CHANGED
|
@@ -69,7 +69,7 @@ Automation can skip prompts:
|
|
|
69
69
|
|
|
70
70
|
```sh
|
|
71
71
|
npx @geastack/create-geastack my-app --starter counter
|
|
72
|
-
npx @geastack/create-geastack my-app --starter
|
|
72
|
+
npx @geastack/create-geastack my-app --starter blank --yes
|
|
73
73
|
npx @geastack/create-geastack my-app --starter example --example watch
|
|
74
74
|
npx @geastack/create-geastack my-ios-app --starter example --example ios-native-showcase
|
|
75
75
|
npx gea build --target ios --mode simulator
|
package/docs/SPEC.md
CHANGED
|
@@ -120,7 +120,7 @@ or optional dependency is missing.
|
|
|
120
120
|
Scaffolds a new app folder with:
|
|
121
121
|
|
|
122
122
|
- `package.json` containing a `gea` manifest;
|
|
123
|
-
- a bundled counter starter,
|
|
123
|
+
- a bundled counter starter, a blank application, or a selected GitHub example;
|
|
124
124
|
- `index.tsx` or `index.ts`;
|
|
125
125
|
- `tsconfig.json`;
|
|
126
126
|
- `vite.config.ts`;
|
package/package.json
CHANGED
package/src/create-geastack.mjs
CHANGED
|
@@ -106,7 +106,7 @@ export async function runCreateGeastack(argv, io = {}) {
|
|
|
106
106
|
stdout(`Created ${displayName} at ${targetDir}`)
|
|
107
107
|
if (starter.kind === 'bundled') stdout(`Starter: ${starter.starter.name}`)
|
|
108
108
|
else if (starter.kind === 'example') stdout(`Example: fetched ${starter.example.name}`)
|
|
109
|
-
else stdout('Starter:
|
|
109
|
+
else stdout('Starter: blank application')
|
|
110
110
|
if (installDependencies) stdout(`Next: cd ${targetDir} && npx gea setup`)
|
|
111
111
|
else stdout(`Next: cd ${targetDir} && npm install && npx gea setup`)
|
|
112
112
|
return 0
|
|
@@ -134,10 +134,10 @@ async function resolveStarter(ctx, parsed, io) {
|
|
|
134
134
|
return { kind: 'bundled', starter }
|
|
135
135
|
}
|
|
136
136
|
if (mode !== 'example') {
|
|
137
|
-
fail(`Unknown starter '${mode}'. Expected counter,
|
|
137
|
+
fail(`Unknown starter '${mode}'. Expected counter, blank, or example.`, ExitCode.usage)
|
|
138
138
|
}
|
|
139
139
|
if (examples.length === 0) {
|
|
140
|
-
fail('No GitHub examples are available. Use --starter counter or --starter
|
|
140
|
+
fail('No GitHub examples are available. Use --starter counter or --starter blank.', ExitCode.usage)
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
const requestedExample = option(parsed, 'example') || option(parsed, 'from-example') || ''
|