You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an explicit rocket init --yes path for converting CommonJS package metadata to ESM, scaffold a public theme stylesheet, and let Atlas layout data load project-owned stylesheets after package CSS. The docs and generated Rocket skill now cover constrained dev-server fallbacks, curl HTML smoke tests, and the starter theming path; the staged README cleanup and build script update are included with the setup pass.
Add project-owned stylesheet hooks to Atlas layout data and wire `rocket init` to scaffold a central theme stylesheet. The initializer also supports an explicit `--yes` path for converting CommonJS package metadata to ESM, and the docs now cover constrained dev-server fallbacks and curl Page smoke tests.
# Rocket initializer creates an Atlas docs starter
2
2
3
-
The Rocket Initializer is a post-install project initializer, not a package bootstrapper or full site generator. `rocket init` should create a compact Atlas-backed documentation starter by default: `rocket-config.js`, shared Atlas data, a hero home Page, a general docs Page, a JavaScript Demo Page, a Request Demo Page backed by a concrete static JSON Page, and a removable project-local Rocket Agent Skill at `.agents/skills/rocket/SKILL.md`. This starter gives Site Authors and Coding Agents a buildable example of the package-provided Atlas layouts, matching component-map exports, `menu.iconName` navigation icons, Standalone Demo URLs, and static Request Demos without requiring a custom layout first.
3
+
The Rocket Initializer is a post-install project initializer, not a package bootstrapper or full site generator. `rocket init` should create a compact Atlas-backed documentation starter by default: `rocket-config.js`, shared Atlas data, a public theme stylesheet, a hero home Page, a general docs Page, a JavaScript Demo Page, a Request Demo Page backed by a concrete static JSON Page, and a removable project-local Rocket Agent Skill at `.agents/skills/rocket/SKILL.md`. This starter gives Site Authors and Coding Agents a buildable example of the package-provided Atlas layouts, matching component-map exports, project-owned Atlas theme stylesheets, `menu.iconName` navigation icons, Standalone Demo URLs, and static Request Demos without requiring a custom layout first.
4
4
5
-
When `package.json` exists, the initializer should add missing `type`, `start`, and `build` fields without replacing existing choices. If generic `start` or `build` scripts already exist, it should add missing `rocket:start` or `rocket:build` scripts instead. Rocket remains ESM-only for this initializer: missing `type` becomes `"module"`, existing `"module"` is preserved, and existing `"commonjs"` fails before writing files. General Documentation Pages always start under `docs/pages`, while the config also discovers colocated Component Reference Pages under `src`, so the same initializer works for Standalone Rocket Sites and existing codebases without modes, flags, `AGENTS.md`, dependency installation, or dependency mutation.
5
+
When `package.json` exists, the initializer should add missing `type`, `start`, and `build` fields without replacing existing choices. If generic `start` or `build` scripts already exist, it should add missing `rocket:start` or `rocket:build` scripts instead. Rocket remains ESM-only for this initializer: missing `type` becomes `"module"`, existing `"module"` is preserved, and existing `"commonjs"` fails before writing files unless the caller explicitly passes `--yes` to approve changing it to `"module"`. General Documentation Pages always start under `docs/pages`, while the config also discovers colocated Component Reference Pages under `src`, so the same initializer works for Standalone Rocket Sites and existing codebases without dependency installation or dependency mutation.
6
6
7
7
Existing files and package fields should never be overwritten by default; when a Rocket-related starter file already exists, the initializer should leave it untouched and report the skipped path. The initializer should not run install, start, build, or validation commands; it only writes starter files and prints next steps.
0 commit comments