Skip to content

Commit

Permalink
docs(workspace): Updates the commands list for development
Browse files Browse the repository at this point in the history
  • Loading branch information
rowa-audil authored and nimrod13 committed Feb 15, 2021
1 parent 78bea01 commit 16b2bae
Showing 1 changed file with 47 additions and 10 deletions.
57 changes: 47 additions & 10 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ startup --output_user_root=C:/tmp
npm install
```
2. Build the Barista components library

```
npm run build
```
Expand Down Expand Up @@ -118,15 +117,53 @@ npm run dev

## Tests and stylelint

| COMMAND | NPM & NG | BAZEL |
| -------------------------------------------------------------- | ------------------- | ----------------------------------------- |
| Run unit tests for the parts that are affected by your changes | `npm run test` | `bazel test //<filepath from root>:test` |
| Unit tests with watcher for local testing | `ng test --watch` | `ibazel test //<filepath from root>:test` |
| UI Tests | `npm run e2e` | |
| Universal build | `npm run universal` | |
| Lint | `npm run lint` | |
| Stylelint | | `npm run bazel:stylelint` |
| a11y | `nx run demos:a11y` | |
Run unit tests for the parts that are affected by your changes

```
# Runs all test files:
bazel test //...
# Runs specific test files:
bazel test //<filepath>:test
# <filepath> example: //libs/barista-components/button:test
```

Unit tests with watcher for local testing

```
ibazel test //<filepath>:test
```

UI Tests

```
npm run e2e
```

Universal build

```
npm run universal
```

Lint

```
npm run lint
```

Stylelint

```
npm run bazel:stylelint
```

A11y

```
nx run demos:a11y
```

## Barista examples app & Barista

Expand Down

0 comments on commit 16b2bae

Please sign in to comment.