https://github.com/ijlee2/create-v2-addon-repo
Codemod to create a repo with v2 addons
https://github.com/ijlee2/create-v2-addon-repo
codemod ember-addon ember-codemod emberjs embroider
Last synced: 21 days ago
JSON representation
Codemod to create a repo with v2 addons
- Host: GitHub
- URL: https://github.com/ijlee2/create-v2-addon-repo
- Owner: ijlee2
- License: mit
- Created: 2024-08-14T07:44:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-15T05:01:04.000Z (24 days ago)
- Last Synced: 2025-09-15T06:30:46.468Z (24 days ago)
- Topics: codemod, ember-addon, ember-codemod, emberjs, embroider
- Language: TypeScript
- Homepage: https://github.com/ijlee2/blueprints-v2-addon-output
- Size: 1.04 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# <%= options.addon.name %>
## Local development
Check and fix errors
```sh
# Check errors
pnpm lint
# Fix errors
pnpm lint:fix
```Build and rebuild addon
```sh
# Build addon
pnpm build# Live reload ("keep building")
pnpm start
```Create files
Run the `generate` command (from anywhere inside the addon) to create the source code and its test file.
```sh
pnpm addon generate [options]# Example: Create a component
pnpm addon generate component ui/form/input# Example: Use alias
pnpm addon g component ui/form/textarea
```There may be more than 1 blueprint available. You can pass `--blueprint` to select the right one.
```sh
# Example: Create a tag component
pnpm addon g component ui/form/select --blueprint glimmer-strict
```For more information, pass `--help`.
Remove files
Run the `destroy` command (from anywhere inside the addon) to remove the source code and its test file.
```sh
pnpm addon destroy# Example: Remove a component
pnpm addon destroy component ui/form/input# Example: Use alias
pnpm addon d component ui/form/textarea
```## Compatibility
- Node.js v20 or above