Skip to content

Commit 521b55e

Browse files
chore(deps): upgrade @nestjs v7 (#17)
* Create nodejs.yml * chore: use yarn * chore: update lockfiles * Bump typescript from 3.7.4 to 3.8.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.4 to 3.8.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v3.7.4...v3.8.3) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump apollo-server-express from 2.9.16 to 2.11.0 Bumps [apollo-server-express](https://github.com/apollographql/apollo-server) from 2.9.16 to 2.11.0. - [Release notes](https://github.com/apollographql/apollo-server/releases) - [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md) - [Commits](https://github.com/apollographql/apollo-server/compare/[email protected]@2.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * fix: skip incremental build * chore: upgrade @nestjs * build(deps): bump @nestjs/graphql from 7.0.14 to 7.0.15 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.0.14 to 7.0.15. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.0.14...7.0.15) Signed-off-by: dependabot-preview[bot] <[email protected]> * chore: move dependency to peerDependency * build(deps-dev): bump @nestjs/core from 7.0.5 to 7.0.6 Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.0.5 to 7.0.6. - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](nestjs/nest@v7.0.5...v7.0.6) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/graphql from 7.0.15 to 7.1.1 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.0.15 to 7.1.1. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.0.15...7.1.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/common from 7.0.5 to 7.0.6 Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.0.5 to 7.0.6. - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](nestjs/nest@v7.0.5...v7.0.6) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/graphql from 7.1.1 to 7.1.3 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.1.1 to 7.1.3. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.1.1...7.1.3) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/common from 7.0.6 to 7.0.7 Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.0.6 to 7.0.7. - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](nestjs/nest@v7.0.6...v7.0.7) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/graphql from 7.1.3 to 7.1.4 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.1.3 to 7.1.4. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.1.3...7.1.4) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/core from 7.0.6 to 7.0.7 Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.0.6 to 7.0.7. - [Release notes](https://github.com/nestjs/nest/releases) - [Commits](nestjs/nest@v7.0.6...v7.0.7) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/graphql from 7.1.4 to 7.1.5 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.1.4 to 7.1.5. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.1.4...7.1.5) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps): bump rxjs from 6.5.4 to 6.5.5 Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.5.4 to 6.5.5. - [Release notes](https://github.com/reactivex/rxjs/releases) - [Changelog](https://github.com/ReactiveX/rxjs/blob/6.5.5/CHANGELOG.md) - [Commits](ReactiveX/rxjs@6.5.4...6.5.5) Signed-off-by: dependabot-preview[bot] <[email protected]> * build(deps-dev): bump @nestjs/graphql from 7.1.5 to 7.2.1 Bumps [@nestjs/graphql](https://github.com/nestjs/graphql) from 7.1.5 to 7.2.1. - [Release notes](https://github.com/nestjs/graphql/releases) - [Changelog](https://github.com/nestjs/graphql/blob/master/.release-it.json) - [Commits](nestjs/graphql@7.1.5...7.2.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * fix: support nestjs v7 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
1 parent 85a7d7c commit 521b55e

File tree

4 files changed

+990
-438
lines changed

4 files changed

+990
-438
lines changed

.github/workflows/nodejs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [master]
9+
pull_request:
10+
branches: [master]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
matrix:
18+
node-version: [10.x, 12.x]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- run: yarn install --frozen-lockfile
27+
- run: yarn tsc -p . --noEmit
28+
env:
29+
CI: true

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,23 @@
1111
"prepare": "tsc -p tsconfig.json"
1212
},
1313
"dependencies": {
14-
"@nestjs/common": "^6.11.0",
15-
"@nestjs/core": "^6.11.0",
16-
"@nestjs/graphql": "6.5.3",
1714
"dataloader": "^2.0.0",
1815
"rxjs": "^6.5.4"
1916
},
2017
"peerDependencies": {
18+
"@nestjs/common": "^6.11.0 || ^7.0.0",
19+
"@nestjs/core": "^6.11.0 || ^7.0.0",
20+
"@nestjs/graphql": "^6.5.3 || ^7.0.0",
2121
"graphql": "^14.1.1",
2222
"reflect-metadata": "^0.1.12"
2323
},
2424
"devDependencies": {
25+
"@nestjs/common": "^7.0.5",
26+
"@nestjs/core": "^7.0.5",
27+
"@nestjs/graphql": "^7.0.15",
2528
"apollo-server-express": "^2.9.16",
29+
"graphql": "^14.1.1",
30+
"reflect-metadata": "^0.1.12",
2631
"typescript": "^3.7.4"
2732
},
2833
"types": "index.d.ts",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"sourceMap": true,
1010
"outDir": "./dist",
1111
"baseUrl": "./",
12-
"incremental": true,
1312
"esModuleInterop": true
1413
},
1514
"exclude": ["node_modules", "dist"]

0 commit comments

Comments
 (0)