Skip to content

Commit

Permalink
docs(components): update component documentation (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagraber committed Jun 7, 2024
1 parent 2498e71 commit 95d9fce
Show file tree
Hide file tree
Showing 30 changed files with 894 additions and 584 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run test:ci
npm run docs && npm run test:ci
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,24 +120,25 @@ Use these [brand assets](https://docs.pdap.io/meta/about/staff/brand-assets). Us

## Scripts reference

Script | What it does
-------------- | -------------------------------------------------------
`_commit` | Create conventional commits
`build` | Builds the library
`build:watch` | Builds the library and watches for file changes
`ci` | Remove all generated files and re-installs deps
`clean` | Remove all generated files (except `package-lock.json`)
`clean:deps` | Remove node_modules directory
`clean:build` | Remove dist directory
`clean:test` | Remove testing coverage reports
`lint` | Lint everything
`lint:es` | Lint `ts` and `vue` with `eslint`
`lint:css` | Lint `css` and `vue` with `stylelint`
`lint:ts` | Lint `ts` with `tsc`
`test` | Run all test suites
`test:changed` | Run only test suites affected by changed files
`typecheck` | Run type check on all `ts` and `vue` files
`dev` | Run demo app to check visual changes to components
| Script | What it does |
| -------------- | ----------------------------------------------------------------------- |
| `_commit` | Create conventional commits |
| `build` | Builds the library |
| `build:watch` | Builds the library and watches for file changes |
| `ci` | Remove all generated files and re-installs deps |
| `clean` | Remove all generated files (except `package-lock.json`) |
| `clean:deps` | Remove node_modules directory |
| `clean:build` | Remove dist directory |
| `clean:test` | Remove testing coverage reports |
| `lint` | Lint everything |
| `lint:es` | Lint `ts` and `vue` with `eslint` |
| `lint:css` | Lint `css` and `vue` with `stylelint` |
| `lint:ts` | Lint `ts` with `tsc` |
| `test` | Run all test suites |
| `test:changed` | Run only test suites affected by changed files |
| `typecheck` | Run type check on all `ts` and `vue` files |
| `dev` | Run demo app to check visual changes to components |
| `docs` | Run script to automatically aggregate links to component `README` files |

_n.b. There are some other scripts defined in the `package.json` `"scripts"` field, but they are mostly for CI or cleanup post-build, etc. You shouldn't need them._

Expand Down
Loading

0 comments on commit 95d9fce

Please sign in to comment.