Skip to content

Comments

feat(cli): updates and improvements#155

Merged
3cp merged 3 commits intomasterfrom
feat/cli-improvements
Jan 24, 2026
Merged

feat(cli): updates and improvements#155
3cp merged 3 commits intomasterfrom
feat/cli-improvements

Conversation

@Vheissu
Copy link
Member

@Vheissu Vheissu commented Jan 24, 2026

Adds new lean presets and minimal app presets powered by Vite, updating existing presets to use Vite/Vitest instead of Webpack. Introduces Vite-based plugin support with a CSS-injection mechanism to embed CSS into JS for Shadow DOM builds. Extends CLI prompts and samples to reflect the new presets, adds blank/minimal/router scaffolds, and updates router-tailwind samples accordingly. Aligns tests, lint rules, and docs with the new tooling and bump Storybook integration to compatible versions.

Closes #154 #153 #152

Adds automatic creation/merging of a project-level .npmrc when pnpm is selected, ensuring required settings are present.
Introduces a helper to write default pnpm config and safely append it if missing or incomplete.
Preserves existing content and supports in-project setups.
Updates tests to verify .npmrc creation in the project root during setup.
Removes default in-repo .npmrc in common.
Adds new lean presets and minimal app presets powered by Vite, updating existing presets to use Vite/Vitest instead of Webpack. Introduces Vite-based plugin support with a CSS-injection mechanism to embed CSS into JS for Shadow DOM builds. Extends CLI prompts and samples to reflect the new presets, adds blank/minimal/router scaffolds, and updates router-tailwind samples accordingly. Aligns tests, lint rules, and docs with the new tooling and bump Storybook integration to compatible versions.
Copy link
Member

@3cp 3cp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thx for the hard work.
Only few minor touches for you to consider.

Standardises pnpm npmrc config as a template string.
Introduces preprocessor guards for module type to align with vite builds.
Simplifies prompts by removing app-only gating for the vite option and updates Storybook condition to reflect supported bundlers.
Improves css injection in the vite config by appending injected code to avoid sourcemap line shifts, with a TODO to move this to the plugin once available.
@Vheissu Vheissu requested review from 3cp and bigopon January 24, 2026 14:42
@3cp 3cp merged commit ac33484 into master Jan 24, 2026
20 checks passed
@3cp 3cp deleted the feat/cli-improvements branch January 24, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants