Skip to content

Commit e254e02

Browse files
authored
Merge pull request #18 from krislefeber/v7
chore(deps): upgrade @nestjs v7 (#17)
2 parents 5c8156b + 521b55e commit e254e02

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)