Commit 83b01ee
committed
refactor(common): Switch TypeScript
Switch Node.js compiler option `module` from `commonjs` to `node16`,
to preserve dynamic import. With `commonjs` these are converted to `require`.
This allows to deprecate the `load-esm` dependency, introduced in 1e43fcb.module to node16
1 parent 86eb46d commit 83b01ee
File tree
99 files changed
+102
-125
lines changed- integration
- auto-mock/test
- cors/e2e
- graphql-code-first/e2e
- graphql-schema-first/e2e
- hello-world/e2e
- injector/e2e
- lazy-modules/e2e
- microservices/e2e
- mongoose/e2e
- nest-application
- app-locals/e2e
- get-url/e2e
- global-prefix/e2e
- listen/e2e
- raw-body/e2e
- use-body-parser/e2e
- scopes/e2e
- send-files/e2e
- typeorm/e2e
- versioning/e2e
- websockets/e2e
- packages
- common
- pipes/file
- test/pipes
- core/test
- exceptions
- injector
- middleware
- platform-express
- adapters
- test/adapters
- sample
- 01-cats-app/e2e/cats
- 05-sql-typeorm/test/users
- 12-graphql-schema-first/e2e/cats
- 19-auth-jwt/e2e/app
- 29-file-upload/e2e/app
- 30-event-emitter/test
- 34-using-esm-packages/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
99 files changed
+102
-125
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments