@vyuhlabs/create-dxkit
v0.2.1
Published
One-command bootstrap for @vyuhlabs/dxkit. Runs `npm install --save-dev @vyuhlabs/dxkit` then `vyuh-dxkit init`.
Downloads
365
Maintainers
Readme
@vyuhlabs/create-dxkit
One-command bootstrap for @vyuhlabs/dxkit.
Usage
In any directory (empty or existing repo):
# Full install: hooks + devcontainer + CI guardrails + baseline-refresh + dxkit-specific agents
npm init @vyuhlabs/dxkit
# Pass-through flags require a leading `--` (npm convention):
npm init @vyuhlabs/dxkit -- --dx-only --yes
npm init @vyuhlabs/dxkit -- --with-hooks --with-ci --yesThis collapses what was previously two commands:
npm install --save-dev @vyuhlabs/dxkit
npx vyuh-dxkit init --full --yesinto one. Useful at the first-install moment — the highest-leverage UX touchpoint.
What it does
- If the current directory has no
package.json, seed a minimal one. - Install
@vyuhlabs/dxkitintodevDependencies(retries with--legacy-peer-depsonce if the initial install hits an ERESOLVE). - Forward your args (or
--full --yesif none) tovyuh-dxkit init.
After this runs, every dxkit subcommand is available via
./node_modules/.bin/vyuh-dxkit or npx vyuh-dxkit.
Why this exists
The npm create-* convention (matching create-react-app,
create-vite, create-nuxt, etc.) is what customers expect when they
first hear "try out X." Today's two-step dance had UX overhead
(remembering --save-dev, finding ./node_modules/.bin/vyuh-dxkit,
the --legacy-peer-deps retry) at exactly the wrong moment.
