Skip to content

Commit 3f7ca63

Browse files
authored
Merge branch 'nestjs:master' into master
2 parents 94fd870 + 47d2fec commit 3f7ca63

File tree

8 files changed

+13530
-15113
lines changed

8 files changed

+13530
-15113
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2017-2022 Kamil Myśliwiec <http://kamilmysliwiec.com>
3+
Copyright (c) 2017-2023 Kamil Myśliwiec <http://kamilmysliwiec.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

content/cli/libraries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Any functionality that is suitable for re-use is a candidate for being managed a
1919
To get started with creating a library, run the following command:
2020

2121
```bash
22-
nest g library my-library
22+
$ nest g library my-library
2323
```
2424

2525
When you run the command, the `library` schematic prompts you for a prefix (AKA alias) for the library:
@@ -78,7 +78,7 @@ As with application-type projects, libraries each have their own `tsconfig.lib.j
7878
You can build the library with the CLI command:
7979
8080
```bash
81-
nest build my-library
81+
$ nest build my-library
8282
```
8383
8484
#### Using libraries

content/cli/workspaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To enable monorepo mode, you start with a _standard mode_ structure, and add **p
2626
If we run:
2727

2828
```bash
29-
nest new my-project
29+
$ nest new my-project
3030
```
3131

3232
We've constructed a _standard mode_ structure, with a folder structure that looks like this:
@@ -49,8 +49,8 @@ We've constructed a _standard mode_ structure, with a folder structure that look
4949
We can convert this to a monorepo mode structure as follows:
5050

5151
```bash
52-
cd my-project
53-
nest generate app my-app
52+
$ cd my-project
53+
$ nest generate app my-app
5454
```
5555

5656
At this point, `nest` converts the existing structure to a **monorepo mode** structure. This results in a few important changes. The folder structure now looks like this:

content/faq/request-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Interceptors, for the most part, follow the same pattern as guards, with one cat
3434

3535
#### Pipes
3636

37-
Pipes follow the standard global to controller to route bound sequence, with the same first in first out in regards to the `@usePipes()` parameters. However, at a route parameter level, if you have multiple pipes running, they will run in the order of the last parameter with a pipe to the first. This also applies to the route level and controller level pipes. For example, if we have the following controller:
37+
Pipes follow the standard global to controller to route bound sequence, with the same first in first out in regards to the `@UsePipes()` parameters. However, at a route parameter level, if you have multiple pipes running, they will run in the order of the last parameter with a pipe to the first. This also applies to the route level and controller level pipes. For example, if we have the following controller:
3838

3939
```typescript
4040
@UsePipes(GeneralValidationPipe)

0 commit comments

Comments
 (0)