@nightshift-sdk/create-fiber-app
v0.2.0
Published
Scaffold a new Nightshift Fiber app — `npm create @nightshift-sdk/fiber-app@latest`
Readme
@nightshift-sdk/create-fiber-app
Scaffold a new Nightshift Fiber app.
npm create @nightshift-sdk/fiber-app@latest my-app
# or
npx @nightshift-sdk/create-fiber-app@latest my-appPass a target directory, or run with no arguments to be prompted. The generated project is a React + Vite dashboard wired to the Fiber SDK:
@nightshift-sdk/fiber—defineQuery/useQuery/defineTableand chart components.@nightshift-sdk/fiber-vite— the dev proxy that injects your org + token server-side, so no credential reaches the browser.@nightshift-sdk/fiber-cli—fiber typegenandfiber publish.
cd my-app
npm install
cp .env.example .env.local # fill in NIGHTSHIFT_ORG + NIGHTSHIFT_TOKEN
npm run devSee the generated README.md for typegen and publishing.
