-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): add component command #7384
feat(cli): add component command #7384
Conversation
Deploy preview for carbon-elements ready! Built with commit 67c4828 |
Deploy preview for carbon-components-react ready! Built with commit 67c4828 https://deploy-preview-7384--carbon-components-react.netlify.app |
✔️ Deploy preview for carbon-elements ready! 🔨 Explore the source changes: 6c93816 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/5fcbb657475e2500071669f6 😎 Browse the preview: https://deploy-preview-7384--carbon-elements.netlify.app |
✔️ Deploy preview for carbon-components-react ready! 🔨 Explore the source changes: 6c93816 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/5fcbb657cea71200085a36a2 😎 Browse the preview: https://deploy-preview-7384--carbon-components-react.netlify.app |
@dakahn sorry, to be specific the command would be: ./packages/cli/bin/carbon-cli.js component |
…bon into feat/add-component-command
…feat/add-component-command
@dakahn I think that's because the path you gave |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That worked! More WSL weirdness
…bon into feat/add-component-command
Reference #7360
This PR creates an initial command for creating a component. This does not include the package scaffold, instead it scaffolds out files inside of our react project following our current practices.
Changelog
New
component
command to@carbon/cli
Changed
Removed
Testing / Reviewing
./packages/cli/bin/carbon-cli.js
and can call it directly from your shell