Skip to content

Commit

Permalink
fix(docs): general typos (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes authored and FrozenPandaz committed Apr 18, 2019
1 parent 9bbb69d commit ca57cf2
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 30 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/nx-and-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Adding these tools to the dev workflow is challenging in a regular CLI project.
When using Nx, adding Cypress or Jest is easy:

```bash
ng g application myapp --e2e-test-runner=cypress --unit-test-runner=jest # cyrpess and jest are actually defaults
ng g application myapp --e2e-test-runner=cypress --unit-test-runner=jest # cypress and jest are actually defaults
ng g application myapp --e2e-test-runner=protractor --unit-test-runner=karma
```

Expand Down
15 changes: 7 additions & 8 deletions docs/guides/misc-ngrx.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,12 +229,12 @@ The files generated are shown below and include placeholders for the _comments_
###### comments.actions.ts

```typescript
import {Action} from "@ngrx/store";
import { Action } from '@ngrx/store';

export enum CommentsActionTypes {
LoadComments = "[Comments] Load Comments",
CommentsLoaded = "[Comments] Comments Loaded"
CommentsLoadError = "[Comments] Comments Load Error"
LoadComments = '[Comments] Load Comments',
CommentsLoaded = '[Comments] Comments Loaded',
CommentsLoadError = '[Comments] Comments Load Error'
}

export class LoadComments implements Action {
Expand All @@ -247,17 +247,16 @@ export class CommentsLoadError implements Action {

export class CommentsLoaded implements Action {
readonly type = CommentsActionTypes.CommentsLoaded;
constructor(public payload: any[]) { }
constructor(public payload: any[]) {}
}

export type CommentsAction = LoadComments | CommentsLoaded | CommentsLoadError;

export const fromCommentsActions = {
LoadComments,
CommentsLoaded,
CommentsLoadError
}

CommentsLoadError
};
```

###### comments.selectors.ts
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/modernize-jest.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ By default, Nx will use Jest when creating applications and libraries.
└── tslint.json
```

Older versions of Nx used Karam as a default test runner. For those workspace, you have provide the `--unit-test-runner=jest` option when creating applications or libraries.
Older versions of Nx used Karma as a default test runner. For those workspace, you have provide the `--unit-test-runner=jest` option when creating applications or libraries.

### Running Tests

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/monorepo-nx-enterprise.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ happynrwl/
│ │ │ └── utils-testing/
│ │ └── shared/
│ │ └── ui/
| ├── adminapp/
├── adminapp/
| └── shared/
│ ├── ui/
│ └── utils-testing/
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/react-and-angular.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ happynrwl/
│ └── angularapp-e2e/
│ ├── src/
│ │ ├── integrations/
│ │ │ ── app.spec.ts
│ │ │ ── app.spec.ts
│ │ ├── fixutres/
│ │ ├── plugins/
│ │ └── support/
Expand Down Expand Up @@ -134,8 +134,8 @@ happynrwl/
│ └── reactapp-e2e/
│ ├── src/
│ │ ├── integrations/
│ │ │ ── app.spec.ts
│ │ ├── fixtures//
│ │ │ ── app.spec.ts
│ │ ├── fixtures/
│ │ ├── plugins/
│ │ └── support/
│ ├── cypress.json
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ myworkspace/
│   └── frontend-e2e/
│   │   ├── src/
│   │   │   ├── integrations/
│   │   │   │   ── app.spec.ts
│   │   │   │   ── app.spec.ts
│   │   │   ├── fixutres/
│   │   │   ├── plugins/
│   │   │   └── support/
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial/07-share-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ ng g lib data
```treeview
myorg/
├── apps/
│   ├── frontend/
│   ├── frontend-e2e/
│   ├── todos/
│   ├── todos-e2e/
│   └── api/
├── libs/
│   └── data/
Expand Down
26 changes: 13 additions & 13 deletions docs/tutorial/08-create-libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ To illustrate how useful libraries can be, create a library of Angular component
```treeview
myorg/
├── apps/
│   ├── frontend/
│   ├── frontend-e2e/
│   ├── todos/
│   ├── todos-e2e/
│   └── api/
├── libs/
│   ├── data/
│ └── ui/
│      ├── jest.conf.js
│      ├── src/
│      │   ├── lib/
│      │   │ ├── ui.module.spec.ts
│      │   │ └── ui.module.ts
│      │   │ ├── ui.module.spec.ts
│      │   │ └── ui.module.ts
│      │   └── index.ts
│      ├── tsconfig.app.json
│      ├── tsconfig.json
Expand Down Expand Up @@ -61,22 +61,22 @@ ng g component todos --project=ui --export
```treeview
myorg/
├── apps/
│   ├── frontend/
│   ├── frontend-e2e/
│   ├── todos/
│   ├── todos-e2e/
│   └── api/
├── libs/
│   ├── data/
│ └── ui/
│      ├── jest.conf.js
│      ├── src/
│      │   ├── lib/
│ │ │ ├── todos/
│ │ │ │ ├── todos.component.css
│ │ │ │ ├── todos.component.html
│ │ │ │ ├── todos.component.spec.ts
│ │ │ │ └── todos.component.ts
│      │   │ ├── ui.module.spec.ts
│      │   │ └── ui.module.ts
│ │ │ ├── todos/
│ │ │ │ ├── todos.component.css
│ │ │ │ ├── todos.component.html
│ │ │ │ ├── todos.component.spec.ts
│ │ │ │ └── todos.component.ts
│      │   │ ├── ui.module.spec.ts
│      │   │ └── ui.module.ts
│      │   └── index.ts
│      ├── tsconfig.app.json
│      ├── tsconfig.json
Expand Down

0 comments on commit ca57cf2

Please sign in to comment.