@pane-app/create
v0.1.2
Published
npm create @pane-app: start a Pane extension package with pane-ext new, from the list, detail, form and no-view templates
Maintainers
Readme
@pane-app/create
npm create @pane-app starts a Pane extension package. It runs
pane-ext new in the terminal with the arguments you give it, so you get
all of pane-ext's prompts and defaults.
npm create @pane-app notes -- --language typescript --template list
cd notes
npm install
npm run devOptions
--languagepickstypescript(the default) orrust.--templatepickslist(the default),detail,formorno-view.
Without arguments, pane-ext asks for what it needs: an extension title, a language and a template. Then it writes the package folder from the name alone.
Where pane-ext comes from
This package depends on @pane-app/cli. Its per-platform packages put
the pane-ext binary in node_modules/@pane-app/cli-<target>, the same
place Pane's own build looks for the componentizer. So npm's one-step
create installs it, and this package finds it there.
A pane-ext on the PATH (a globally installed CLI) works too. With
neither, this package says how to get one.
Publishing
Publishing this package is a person's step, never CI's.
