create-atomic-install
v1.0.1
Published
Install and configure create-atomic-resources and atomic-bomb with explicit latest package resolution.
Maintainers
Readme
Atomic Install
Install and configure
create-atomic-resources
and atomic-bomb together.
Usage
Run from an application root containing package.json:
npx create-atomic-install@latest ./srcDefaults:
- resource destination:
./src - Atomic Bomb platform:
react-ts-vite - package versions:
@latest
The equivalent default command is:
npx create-atomic-install@latestWhat It Does
Detects npm, Yarn, or pnpm from the project lockfile.
Adds
atomic-bomb@latestandcreate-atomic-resources@latestas development dependencies.Runs exactly:
npx --yes create-atomic-resources@latest ./srcIf
.atomic-bombis missing, runs:npx --yes atomic-bomb@latest --platform react-ts-viteIf
.atomic-bombexists, runs:npx --yes atomic-bomb@latest --updateAsks whether Storybook should be installed with:
npx sb initUpdates
.storybook/preview.ts, when present, to import the generatedresources/styles/main.css.Enables the Atomic Bomb component Sass imports in
<destination>/resources/styles/main.scss.Rewrites the generated resource scripts and
.atomic-bombcomponent destination to use the destination passed to this installer.
The explicit create-atomic-resources@latest package specifier is intentional.
It avoids stale npx resolution and is used on every resource installation.
Options
--platform <name> Atomic Bomb platform (default: react-ts-vite)
--storybook Install Storybook without prompting
--skip-storybook Do not install Storybook or prompt
--skip-resources Do not run create-atomic-resources
--skip-atomic-bomb Do not install or configure atomic-bomb
--skip-dependencies Do not add the CLI packages to devDependencies
--skip-update Do not refresh Atomic Bomb skills when configured
-h, --help Show helpExamples:
npx create-atomic-install@latest ./src --platform react-ts-vite
npx create-atomic-install@latest ./src --storybook
npx create-atomic-install@latest ./app --skip-atomic-bomb
npx create-atomic-install@latest --skip-resourcesAtomic Bomb platform setup remains interactive because it can configure an AI provider.
