Skip to content

Commit

Permalink
feat(nestjs): Support v10 (#617)
Browse files Browse the repository at this point in the history
* feat: support nestjs v10

* feat: upgrading typescript to v4.9.5

* ci: remove node v14

* ci: temporarily disables CI steps so we can remove nodejs v14

* ci: revert the temporary changes on CI steps

---------

Co-authored-by: Jesse Carter <jesse.r.carter@gmail.com>
  • Loading branch information
underfisk and WonderPanda authored Jul 18, 2023
1 parent 79b2716 commit 4f18c9b
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node: [14, 16, 18, 19]
node: [16, 18, 19]
fail-fast: false

services:
Expand Down
2 changes: 1 addition & 1 deletion integration/rabbitmq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"rimraf": "^3.0.2"
},
"devDependencies": {
"@nestjs/testing": "^9.4.3",
"@nestjs/testing": "^10.0.5",
"@types/express": "4.17.13",
"@types/jest": "27.0.3",
"@types/node": "^18.16.19",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"integration/*"
],
"dependencies": {
"@nestjs/common": "^9.0.5",
"@nestjs/core": "^9.0.5",
"@nestjs/platform-express": "^9.0.5",
"@nestjs/common": "^10.0.5",
"@nestjs/core": "^10.0.5",
"@nestjs/platform-express": "^10.0.5",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.5.6"
Expand All @@ -19,7 +19,7 @@
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/prompt": "^16.2.3",
"@nestjs/testing": "^9.0.5",
"@nestjs/testing": "^10.0.5",
"@types/express": "^4.17.13",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.120",
Expand All @@ -42,7 +42,7 @@
"rimraf": "^2.6.3",
"supertest": "^6.1.6",
"ts-jest": "^27.1.1",
"typescript": "^4.5.2"
"typescript": "^4.9.5"
},
"scripts": {
"commit": "yarn run git-cz",
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"lodash": "^4.17.21"
},
"peerDependencies": {
"@nestjs/common": "^9.x"
"@nestjs/common": "^10.x"
},
"jest": {
"moduleFileExtensions": [
Expand Down
4 changes: 2 additions & 2 deletions packages/discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"lodash": "^4.17.21"
},
"peerDependencies": {
"@nestjs/common": "^9.x",
"@nestjs/core": "^9.x"
"@nestjs/common": "^10.x",
"@nestjs/core": "^10.x"
},
"bugs": {
"url": "https://github.com/golevelup/nestjs/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"lodash": "^4.17.21"
},
"peerDependencies": {
"@nestjs/common": "^9.x",
"@nestjs/common": "^10.x",
"rxjs": "^7.x"
},
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions packages/rabbitmq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@types/amqplib": "^0.5.9"
},
"peerDependencies": {
"@nestjs/common": "^9.x",
"@nestjs/core": "^9.x",
"@nestjs/common": "^10.x",
"@nestjs/core": "^10.x",
"reflect-metadata": "^0.1.0",
"rxjs": "^7.x"
},
Expand Down
55 changes: 25 additions & 30 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1609,44 +1609,44 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"

"@nestjs/common@^9.0.5":
version "9.4.3"
resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-9.4.3.tgz#f907c5315b4273f7675864a05c4dda7056632b87"
integrity sha512-Gd6D4IaYj01o14Bwv81ukidn4w3bPHCblMUq+SmUmWLyosK+XQmInCS09SbDDZyL8jy86PngtBLTdhJ2bXSUig==
"@nestjs/common@^10.0.5":
version "10.0.5"
resolved "https://registry.yarnpkg.com/@nestjs/common/-/common-10.0.5.tgz#2d834f1713b16d66f514c969b915fd6e020de391"
integrity sha512-0E+SBI+SKswXbFG+Nwtnctrei5dvdFJ7b9/fQDL6KzDBtZwsglJpD86S3ooxnc7ek4vRG57oN2iLmMTjrcesMg==
dependencies:
uid "2.0.2"
iterare "1.2.1"
tslib "2.5.3"
tslib "2.6.0"

"@nestjs/core@^9.0.5":
version "9.4.3"
resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-9.4.3.tgz#7d6d3417e18c0a598684b87c955e4caac4f56dd4"
integrity sha512-Qi63+wi55Jh4sDyaj5Hhx2jOpKqT386aeo+VOKsxnd+Ql9VvkO/FjmuwBGUyzkJt29ENYc+P0Sx/k5LtstNpPQ==
"@nestjs/core@^10.0.5":
version "10.0.5"
resolved "https://registry.yarnpkg.com/@nestjs/core/-/core-10.0.5.tgz#d9f0c1ccdab0aafda8d810d11538b727f01557e2"
integrity sha512-9A8nixBfE33TWAmmWvNoxdmHrRmHJY0oO3O4Iue0FVkawWJc0YOhSqdNs87McwvKE4InJMI7GVv01NYMEROdPA==
dependencies:
uid "2.0.2"
"@nuxtjs/opencollective" "0.3.2"
fast-safe-stringify "2.1.1"
iterare "1.2.1"
path-to-regexp "3.2.0"
tslib "2.5.3"
tslib "2.6.0"

"@nestjs/platform-express@^9.0.5":
version "9.4.3"
resolved "https://registry.yarnpkg.com/@nestjs/platform-express/-/platform-express-9.4.3.tgz#f61b75686bdfce566be3b54fa7bb20a4d87ed619"
integrity sha512-FpdczWoRSC0zz2dNL9u2AQLXKXRVtq4HgHklAhbL59X0uy+mcxhlSThG7DHzDMkoSnuuHY8ojDVf7mDxk+GtCw==
"@nestjs/platform-express@^10.0.5":
version "10.0.5"
resolved "https://registry.yarnpkg.com/@nestjs/platform-express/-/platform-express-10.0.5.tgz#3c875dd72e0bd8f9d8866a86d04d162379a6808a"
integrity sha512-mNHXiVsfJsknjfgC1kEUM82ynvkCxod5tNOEAnEcZ7UpPWy5dsxspq+ynt6RF6bd/3AD6sZoxApwqAKbcQnzxw==
dependencies:
body-parser "1.20.2"
cors "2.8.5"
express "4.18.2"
multer "1.4.4-lts.1"
tslib "2.5.3"
tslib "2.6.0"

"@nestjs/testing@^9.0.5", "@nestjs/testing@^9.4.3":
version "9.4.3"
resolved "https://registry.yarnpkg.com/@nestjs/testing/-/testing-9.4.3.tgz#53ffbabdd38f500b145c30f2fbb76dedad393d79"
integrity sha512-LDT8Ai2eKnTzvnPaJwWOK03qTaFap5uHHsJCv6dL0uKWk6hyF9jms8DjyVaGsaujCaXDG8izl1mDEER0OmxaZA==
"@nestjs/testing@^10.0.5":
version "10.0.5"
resolved "https://registry.yarnpkg.com/@nestjs/testing/-/testing-10.0.5.tgz#31cac7b9816351dff7706b3ff9af0387cf608f4b"
integrity sha512-TQcFOxR+kIibMbYg71yajic3289/Iw7B5LliYiZ4Pz36BZvU0TRMYqpxaGAlX/Srk0BCpP99ZHoofm8dqZKmxw==
dependencies:
tslib "2.5.3"
tslib "2.6.0"

"@nicolo-ribaudo/semver-v6@^6.3.3":
version "6.3.3"
Expand Down Expand Up @@ -9995,21 +9995,16 @@ tsconfig-paths@4.2.0:
minimist "^1.2.6"
strip-bom "^3.0.0"

tslib@2.5.3:
version "2.5.3"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913"
integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==
tslib@2.6.0, tslib@^2.1.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3"
integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==

tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.14.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.1.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3"
integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==

tslint@5.14.0:
version "5.14.0"
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.14.0.tgz#be62637135ac244fc9b37ed6ea5252c9eba1616e"
Expand Down Expand Up @@ -10126,7 +10121,7 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==

typescript@4.9.5, typescript@^4.4.3, typescript@^4.5.2:
typescript@4.9.5, typescript@^4.4.3, typescript@^4.9.5:
version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
Expand Down

0 comments on commit 4f18c9b

Please sign in to comment.