Skip to content

Commit

Permalink
Merge pull request #18 from krislefeber/v7
Browse files Browse the repository at this point in the history
chore(deps): upgrade @nestjs v7 (#17)
  • Loading branch information
krislefeber authored Apr 7, 2020
2 parents 5c8156b + 521b55e commit e254e02
Show file tree
Hide file tree
Showing 4 changed files with 990 additions and 438 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- run: yarn tsc -p . --noEmit
env:
CI: true
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,23 @@
"prepare": "tsc -p tsconfig.json"
},
"dependencies": {
"@nestjs/common": "^6.11.0",
"@nestjs/core": "^6.11.0",
"@nestjs/graphql": "6.5.3",
"dataloader": "^2.0.0",
"rxjs": "^6.5.4"
},
"peerDependencies": {
"@nestjs/common": "^6.11.0 || ^7.0.0",
"@nestjs/core": "^6.11.0 || ^7.0.0",
"@nestjs/graphql": "^6.5.3 || ^7.0.0",
"graphql": "^14.1.1",
"reflect-metadata": "^0.1.12"
},
"devDependencies": {
"@nestjs/common": "^7.0.5",
"@nestjs/core": "^7.0.5",
"@nestjs/graphql": "^7.0.15",
"apollo-server-express": "^2.9.16",
"graphql": "^14.1.1",
"reflect-metadata": "^0.1.12",
"typescript": "^3.7.4"
},
"types": "index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"esModuleInterop": true
},
"exclude": ["node_modules", "dist"]
Expand Down
Loading

0 comments on commit e254e02

Please sign in to comment.