chore(runtiem): upgrade to typescript@5, fix dockerize action

This commit is contained in:
maslow 2023-03-23 16:50:13 +08:00
parent 3b8c5577b1
commit 4069ba8fc7
4 changed files with 116 additions and 804 deletions

View File

@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node
uses: actions/setup-node@v3
with:
@ -33,7 +33,7 @@ jobs:
- name: Install Package
working-directory: runtimes/nodejs
run: npm cache clean --force && npm install typescript -g && npm install --omit=dev
run: npm cache clean --force && npm install
- name: Build Packages
working-directory: runtimes/nodejs
@ -51,7 +51,7 @@ jobs:
type=semver,pattern={{version}}
type=raw,value=latest,enable=true
type=sha,enable=true,format=short
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
@ -88,7 +88,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node
uses: actions/setup-node@v3
with:
@ -96,7 +96,7 @@ jobs:
- name: Install Package
working-directory: runtimes/nodejs
run: npm cache clean --force && npm install typescript -g && npm install --omit=dev
run: npm cache clean --force && npm install
- name: Build Packages
working-directory: runtimes/nodejs
@ -142,4 +142,4 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64, linux/arm64
platforms: linux/amd64, linux/arm64

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,7 @@
"@aws-sdk/s3-request-presigner": "^3.231.0",
"@kubernetes/client-node": "^0.18.0",
"@lafjs/cloud": "^1.0.0-beta.4",
"alipay-sdk": "^3.2.0",
"alipay-sdk": "^2.0.2",
"axios": "^1.2.1",
"cors": "^2.8.5",
"database-proxy": "^1.0.0-beta.2",
@ -63,7 +63,7 @@
"@types/nodemailer": "^6.4.4",
"@types/validator": "^13.1.3",
"@types/ws": "^8.5.3",
"typescript": "^4.9.5"
"typescript": "^5.0.2"
},
"nodemonConfig": {
"ignore": [
@ -73,4 +73,4 @@
],
"delay": 1000
}
}
}

View File

@ -4,7 +4,6 @@
"allowJs": false,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"charset": "utf8",
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,