chore: bump @vant/cli v7 (#5801)

* chore: bump @vant/cli v7

* fix: lint

* fix: disable source-map to support Node 18
This commit is contained in:
neverland 2024-05-26 10:54:01 +08:00 committed by GitHub
parent 2543148507
commit 1a8351387a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2024 additions and 3245 deletions

View File

@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '18.x'
- name: Install dependencies
uses: bahmutov/npm-install@v1
@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '18.x'
- name: Install dependencies
uses: bahmutov/npm-install@v1
@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '18.x'
- name: Install dependencies
uses: bahmutov/npm-install@v1

View File

@ -43,8 +43,9 @@
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@types/jest": "^27.0.2",
"@vant/cli": "^4.0.0",
"@vant/cli": "^7.0.3",
"@vant/icons": "^3.0.1",
"@vant/stylelint-config": "^1.4.2",
"gulp": "^4.0.2",
"gulp-insert": "^0.5.0",
"gulp-less": "^5.0.0",
@ -57,6 +58,7 @@
"miniprogram-api-typings": "^3.1.6",
"miniprogram-ci": "^1.6.1",
"miniprogram-simulate": "^1.4.2",
"stylelint": "13.13.1",
"ts-jest": "^27.0.7",
"tscpaths": "^0.0.9",
"typescript": "^4.4.4",
@ -66,5 +68,8 @@
"Chrome >= 53",
"ChromeAndroid >= 53",
"iOS >= 9"
]
],
"resolutions": {
"source-map": "0.7.4"
}
}

View File

@ -7,6 +7,7 @@
"noImplicitAny": false,
"outDir": "dist",
"baseUrl": ".",
"sourceMap": false,
"strict": true,
"lib": ["ESNext", "dom"],
"types": ["@types/jest", "node", "miniprogram-api-typings"],

5253
yarn.lock

File diff suppressed because it is too large Load Diff