mirror of https://github.com/mx-space/core
feat!: upgrade to node 18
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
parent
70ff39c0a8
commit
c85fe14488
|
@ -23,7 +23,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x, 18.x]
|
||||
node-version: [18.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x, 18.x]
|
||||
node-version: [18.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 18.x
|
||||
|
||||
- name: Start MongoDB
|
||||
uses: supercharge/mongodb-github-action@v1.9.0
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x, 18.x]
|
||||
node-version: [18.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
@ -44,7 +44,7 @@ docker-compose up -d
|
|||
|
||||
需要以下环境:
|
||||
|
||||
- Node.js 16.10+
|
||||
- Node.js 18+
|
||||
- MongoDB
|
||||
- Redis
|
||||
|
||||
|
|
28
package.json
28
package.json
|
@ -60,10 +60,10 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@algolia/client-search": "^4.17.0",
|
||||
"@babel/core": "7.21.4",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.21.2",
|
||||
"@babel/core": "7.21.5",
|
||||
"@babel/plugin-transform-modules-commonjs": "7.21.5",
|
||||
"@babel/plugin-transform-typescript": "7.21.3",
|
||||
"@babel/types": "^7.21.4",
|
||||
"@babel/types": "^7.21.5",
|
||||
"@fastify/cookie": "8.3.0",
|
||||
"@fastify/multipart": "7.6.0",
|
||||
"@fastify/static": "6.10.1",
|
||||
|
@ -80,11 +80,11 @@
|
|||
"@nestjs/websockets": "9.4.0",
|
||||
"@socket.io/redis-adapter": "7.2.0",
|
||||
"@socket.io/redis-emitter": "4.1.1",
|
||||
"@typegoose/auto-increment": "3.0.0",
|
||||
"@typegoose/typegoose": "11.0.2",
|
||||
"@typegoose/auto-increment": "3.1.0",
|
||||
"@typegoose/typegoose": "11.1.0",
|
||||
"@types/jsonwebtoken": "9.0.2",
|
||||
"algoliasearch": "4.17.0",
|
||||
"axios": "^1.3.5",
|
||||
"axios": "^1.4.0",
|
||||
"axios-retry": "3.4.0",
|
||||
"bcrypt": "5.1.0",
|
||||
"cache-manager": "4.1.0",
|
||||
|
@ -106,10 +106,10 @@
|
|||
"json5": "2.2.3",
|
||||
"jsonwebtoken": "9.0.0",
|
||||
"jszip": "3.10.1",
|
||||
"linkedom": "0.14.25",
|
||||
"linkedom": "0.14.26",
|
||||
"lodash": "*",
|
||||
"lru-cache": "9.1.1",
|
||||
"marked": "4.3.0",
|
||||
"marked": "5.0.0",
|
||||
"mime-types": "*",
|
||||
"mkdirp": "*",
|
||||
"mongoose": "7.1.0",
|
||||
|
@ -137,8 +137,8 @@
|
|||
"zx-cjs": "7.0.7-0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@innei/eslint-config-ts": "0.9.8",
|
||||
"@innei/prettier": "0.9.8",
|
||||
"@innei/eslint-config-ts": "0.9.9",
|
||||
"@innei/prettier": "0.9.9",
|
||||
"@nestjs/cli": "9.4.2",
|
||||
"@nestjs/schematics": "9.1.0",
|
||||
"@nestjs/testing": "9.4.0",
|
||||
|
@ -152,10 +152,10 @@
|
|||
"@types/get-image-colors": "4.0.2",
|
||||
"@types/js-yaml": "4.0.5",
|
||||
"@types/lodash": "4.14.194",
|
||||
"@types/marked": "4.0.8",
|
||||
"@types/marked": "4.3.0",
|
||||
"@types/mime-types": "2.1.1",
|
||||
"@types/mongoose-aggregate-paginate-v2": "1.0.7",
|
||||
"@types/node": "18.16.0",
|
||||
"@types/node": "18.16.3",
|
||||
"@types/nodemailer": "6.4.7",
|
||||
"@types/qs": "6.9.7",
|
||||
"@types/semver": "7.3.13",
|
||||
|
@ -164,7 +164,7 @@
|
|||
"@vercel/ncc": "0.36.1",
|
||||
"cron": "*",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "^8.37.0",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-plugin-unused-imports": "2.0.0",
|
||||
"husky": "8.0.3",
|
||||
"ioredis": "5.3.2",
|
||||
|
@ -181,7 +181,7 @@
|
|||
"vite": "3.2.5",
|
||||
"vite-tsconfig-paths": "4.2.0",
|
||||
"vitest": "0.25.3",
|
||||
"zx": "7.2.1"
|
||||
"zx": "7.2.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"mongodb-memory-server": "8.12.2",
|
||||
|
|
859
pnpm-lock.yaml
859
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue