Skip to content

docs(components): update component documentation #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading