CLI runs on Node 20+: npx storebound (bunx keeps working)
- cli/lib/rt.ts: the runtime layer on node: modules (spawn / spawnSync with Bun's defaults, exit codes and "Executable not found", which with PATHEXT, sleep, serve, Glob, hasher, gunzip, stdin, SQLite, packageRoot, config imports with a type-stripping fallback for Node 20); every Bun.* use in cli/ goes through it - tools/gen-embedded.ts -> cli/lib/embedded.ts: templates/, cli/shots/*.html and Play's Data safety form embedded (replaces Bun text imports; the bundle and the compiled sidecar carry them), checked fresh by bun run ci - package.json: bin dist/storebound.mjs (Node ESM bundle, tools/build-node.ts, prepack), engines node >=20 - bun run ci: node bundle + node smoke (real node: --version, help, check same as Bun, scan, release plan --help, init, MCP handshake + tool call); Forgejo CI sets up Node 20; tests/node-compat.test.ts guards cli/ - install writes npx MCP commands when run with Node; bin/storebound falls back to Node - docs: npx storebound init (Node 20+) or bunx storebound init
This commit is contained in:
parent
614c32bcba
commit
36a8bf9625
73 changed files with 1195 additions and 251 deletions
11
package.json
11
package.json
|
|
@ -2,7 +2,7 @@
|
|||
"name": "storebound",
|
||||
"version": "0.6.0",
|
||||
"desktopVersion": "0.1.0",
|
||||
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every store questionnaire (incl. account deletion and App Review demo accounts), privacy, icons, screenshots and previews, TestFlight. After launch: crash vitals, review replies, price sheets, analytics and Product Page Optimization. One config, a Bun CLI, an MCP server and Agent Skills for your AI coding agent.",
|
||||
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every store questionnaire (incl. account deletion and App Review demo accounts), privacy, icons, screenshots and previews, TestFlight. After launch: crash vitals, review replies, price sheets, analytics and Product Page Optimization. One config, a CLI (Node 20+ or Bun), an MCP server and Agent Skills for your AI coding agent.",
|
||||
"license": "MIT",
|
||||
"author": "CRTkafa",
|
||||
"type": "module",
|
||||
|
|
@ -26,12 +26,13 @@
|
|||
"android-vitals"
|
||||
],
|
||||
"bin": {
|
||||
"storebound": "cli/index.ts"
|
||||
"storebound": "dist/storebound.mjs"
|
||||
},
|
||||
"exports": {
|
||||
".": "./cli/lib/config.ts"
|
||||
},
|
||||
"files": [
|
||||
"dist/storebound.mjs",
|
||||
"cli",
|
||||
"templates",
|
||||
"skills",
|
||||
|
|
@ -51,6 +52,7 @@
|
|||
"apps/*"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=20",
|
||||
"bun": ">=1.1"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
@ -58,9 +60,12 @@
|
|||
"typecheck": "tsc --noEmit",
|
||||
"adapters": "bun tools/gen-adapters.ts",
|
||||
"scrub": "bun tools/scrub.ts",
|
||||
"build:node": "bun tools/build-node.ts",
|
||||
"smoke:node": "bun tools/node-smoke.ts",
|
||||
"ci": "bun tools/ci.ts",
|
||||
"ci:quick": "bun tools/ci.ts --quick",
|
||||
"check": "bun run typecheck && bun test"
|
||||
"check": "bun run typecheck && bun test",
|
||||
"prepack": "bun tools/build-node.ts"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"playwright": ">=1.45"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue