Add create-oxygen-ui CLI for project scaffolding#441
Draft
Add create-oxygen-ui CLI for project scaffolding#441
Conversation
- Add @wso2/create-oxygen-ui: CLI tool to scaffold new Oxygen UI projects - Interactive prompts for project name and package name - Optional Claude skill files integration (CLAUDE.md + skill file) - Automatic git init and dependency installation - Supports npm/pnpm/yarn/bun package managers - Non-interactive mode with -y flag - Add @wso2/oxygen-ui-template: Standalone template package - Minimal 3-page starter (Home, About, Error pages) - React 19 + TypeScript + Vite setup - OxygenUIThemeProvider with theme switching - ESLint with @wso2/eslint-plugin-oxygen-ui rules - Claude skill files for AI-assisted development Usage: npm create @wso2/oxygen-ui my-app Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Add copy-template.js script that copies samples/oxygen-ui-test-app - Template is generated during `npm prepack` to stay in sync with sample app - Remove static template files from git (now generated) - Transform package.json to replace workspace:* with real versions - Transform vite.config.ts to remove storybook-specific code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Joseph Fonseka hevayo@gmail.com seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@wso2/create-oxygen-uiCLI package for scaffolding new Oxygen UI projects@wso2/oxygen-ui-templatepackage containing the project templatenpm create @wso2/oxygen-uiFeatures
CLI (
@wso2/create-oxygen-ui)-yflag for CI/scriptingTemplate (
@wso2/oxygen-ui-template)@wso2/eslint-plugin-oxygen-uirulesUsage
Test plan
pnpm buildinpackages/create-oxygen-uiLOCAL_TEMPLATE_PATH=../oxygen-ui-template node dist/index.js test-appnpm install && npm run devin created project-yflag🤖 Generated with Claude Code