create-ohne
v0.8.0
Published
Scaffold a new ohne project.
Readme
create-ohne
Scaffolds a new ohne project. It runs the scaffold of the ohnejs version it
writes into your package.json, and it has no dependencies but ohnejs.
Installation takes the new project through its first
run.
Usage
You need Node 26 or newer.
npm create ohne my-apppnpm create ohne my-app--web nuxt or --web next adds a website: a pnpm workspace with your app in apps/backend and
the website in apps/web.
Flags
With npm, flags go after --. npm reads every flag before it as its own, so --yes, --force,
--git, --name, and --pm there never reach the scaffold:
npm create ohne my-app -- --yes --gitpnpm, yarn, and bun hand the flags on as they are, so they need no --, and one is ignored if you
pass it. The CLI guide lists every flag.
Versions
The project it writes pins ohnejs to the exact version this package depends on. --version
prints that version.
Contributing
With ohne cloned beside it, run pnpm install and pnpm test.
node bin.js ../ohne-scratch --ohne-path ../ohne scaffolds against your checkout.
