This repo is divided into multiple packages using workspaces:
addon
is the actualember-keyboard
addondocs
documentation app forember-keyboard
Ember.js addontest-app
containsember-keyboard
test suite
git clone https://github.com/adopted-ember-addons/ember-keyboard.git
cd ember-keyboard
pnpm install
Inside any of the packages you can run:
pnpm run lint
pnpm run lint:fix
cd addon && pnpm start
– Builds the addon in "watch mode" so changes picked up by test app.cd test-app && ember test
– Runs the test suite on the current Ember versioncd test-app && ember test --server
– Runs the test suite in "watch mode"cd test-app && ember try:each
– Runs the test suite against multiple Ember versions
During development, if you'd like test app to pick up changes in the addon, make sure to run both
cd addon && pnpm start
and cd test-app && ember test --server
in different terminals.
cd test-app && ember serve
- Visit the test application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.