Skip to content

Commit

Permalink
feat(bundled assets): remove pre-commit build #147
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfalcon committed Jun 8, 2021
1 parent db2e68b commit 7c481c6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion template/.husky/pre-commit.temp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

./node_modules/.bin/npm-run-all preCommit test linters bundler postinstall
./node_modules/.bin/npm-run-all preCommit test linters postinstall
5 changes: 5 additions & 0 deletions template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,13 @@ $ npm run serve
Open [localhost:8000](http://localhost:8000/)

### Testing

Automated tests are required for every Auro component. See `.\test\[namespace]-[name].test.js` for the tests for this component. Run `npm test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.

### Bundled assets

Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.

### Demo deployment

To deploy a demo version of the component for review, run `npm run demo:build` to create a `./build` directory that can be pushed to any static server.
Expand Down
5 changes: 5 additions & 0 deletions template/README__labs.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,13 @@ $ npm run serve
Open [localhost:8000](http://localhost:8000/)

### Testing

Automated tests are required for every Auro component. See `.\test\[namespace]-[name].test.js` for the tests for this component. Run `npm test` to run the tests and check code coverage. Tests must pass and meet a certain coverage threshold to commit. See [the testing documentation](https://auro.alaskaair.com/support/tests) for more details.

### Bundled assets

Bundled assets are only generated in the remote and not merged back to this repo. To review and/or test a bundled asset locally, run `$ npm run bundler` to generate assets.

### Demo deployment

To deploy a demo version of the component for review, run `npm run demo:build` to create a `./build` directory that can be pushed to any static server.
Expand Down

0 comments on commit 7c481c6

Please sign in to comment.