* chore: 🤖 update @glimmer/component to v2 * chore: 🤖 bump ember-a11y-refocus to fix focus errors in tests Previous runs had three failing tests related to focusing from ember-a11y-refocus: * global failure: TypeError: Cannot read properties of null (reading 'focus') Tests failing with this error were fixed as part of this PR: https://github.com/ember-a11y/ember-a11y-refocus/pull/347 After bumping to a later version of ember-a11y-refocus, the existing failing tests now pass
Authentication layer Ember Addon for Boundary
This addon contains the authentication layer for Boundary.
Table of Contents generated with DocToc
- Add to an App
- Installation
- Pnpm Commands
- Linting
- Formatting
- Running tests
- Running the dummy application
- Contributing
Add to an App
Add this addon to an Ember application's devDependencies as:
"auth": "workspace:*", for applications included in this monorepo.
Installation
See monorepo README for installation instructions.
Pnpm Commands
List of available project commands. pnpm run <command-name>
| Command | Description |
|---|---|
| lint | Runs all lint commands. |
| lint:fix | Runs automatic lint fixes for all files. |
| lint:js | Lints js files. |
| lint:js:fix | Runs automatic lint fixes for js files. |
| format | Runs all auto-formatters. |
| format:js | Auto-formats js files using Prettier. |
| start | Runs the dummy app local server. |
| test | Runs all tests. |
| test:all | Runs tests across multiple Ember versions with ember-try. |
| precommit | Runs all lint, format and tests. |
| doc:toc | Automatically generates a table of contents for this README file. |
Additional commands in the monorepo package may affect this projects.
Linting
pnpm lint:jspnpm lint:js --fix
Formatting
Before submitting your work, be sure to run auto-formatters (see commands above). This helps to ensure consistency among authors.
pnpm format
Running tests
pnpm test– Runs the test suite on the current Ember versionpnpm test --server– Runs the test suite in "watch mode"pnpm test:all– Runs the test suite against multiple Ember versions
Running the dummy application
pnpm start- Visit the dummy application at http://localhost:4200.
Contributing
See monorepo README for more contribution instructions.
Building ToC
To autogenerate a ToC (table of contents) for this README,
run pnpm doc:toc. Please update the ToC whenever editing the structure
of README.