Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evoactivity/ember-zoetrope
https://github.com/evoactivity/ember-zoetrope
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/evoactivity/ember-zoetrope
- Owner: evoactivity
- License: mit
- Created: 2024-10-15T19:39:39.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2024-10-15T19:46:13.000Z (21 days ago)
- Last Synced: 2024-10-17T06:14:22.268Z (20 days ago)
- Language: TypeScript
- Size: 223 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-zoetrope
## Local development
You can get started in 3 steps:
1. Run `pnpm install` to install project dependencies.
1. Run `pnpm build` to build `blueprints-v2-addon` and v2 addons in the `packages` folder.
1. Run `pnpm start` to start `docs-app` ([http://localhost:4200](http://localhost:4200)) and `test-app` ([http://localhost:4300/tests](http://localhost:4300/tests?hidepassed)).> [!IMPORTANT]
>
> After `pnpm build` in step 2, you need to run `pnpm install` again to install `blueprints-v2-addon`. This is a one-time workaround and may be streamlined later.Lint and test
From the workspace root, you can run these commands to apply the action to _all packages_.
```sh
# Lint files
pnpm lint
pnpm lint:fix# Run tests
pnpm test
```To save time, change the current directory to a particular package and run the commands above. This will affect _only that package_.
Create addon
From the workspace root, run the `new` command to create an addon in `packages`. The addon will be included in `docs-app` and `test-app`.
```sh
pnpm addon new [options]# Example: Create the addon `ui-form`
pnpm addon new ui-form# Example: Specify the location for a scoped package
pnpm addon new @my-org-ui/form --location ui/form
```Don't forget to run `pnpm install` to install the addon's dependencies.
Live reload
Change the current directory to the addon that you want to work on. Run the `start` command to rebuild the addon automatically.
```sh
cd packages/ui/form
pnpm start
```Assuming that `docs-app` and `test-app` are running, these apps will rebuild after you save a change to the addon.
Note, `@embroider/broccoli-side-watch` is not stable yet. If you don't see the live reload occur, try restarting the apps.