mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
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:
parent
2543148507
commit
1a8351387a
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '18.x'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '18.x'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '18.x'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: bahmutov/npm-install@v1
|
uses: bahmutov/npm-install@v1
|
||||||
|
@ -43,8 +43,9 @@
|
|||||||
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
||||||
"@babel/preset-typescript": "^7.16.0",
|
"@babel/preset-typescript": "^7.16.0",
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
"@vant/cli": "^4.0.0",
|
"@vant/cli": "^7.0.3",
|
||||||
"@vant/icons": "^3.0.1",
|
"@vant/icons": "^3.0.1",
|
||||||
|
"@vant/stylelint-config": "^1.4.2",
|
||||||
"gulp": "^4.0.2",
|
"gulp": "^4.0.2",
|
||||||
"gulp-insert": "^0.5.0",
|
"gulp-insert": "^0.5.0",
|
||||||
"gulp-less": "^5.0.0",
|
"gulp-less": "^5.0.0",
|
||||||
@ -57,6 +58,7 @@
|
|||||||
"miniprogram-api-typings": "^3.1.6",
|
"miniprogram-api-typings": "^3.1.6",
|
||||||
"miniprogram-ci": "^1.6.1",
|
"miniprogram-ci": "^1.6.1",
|
||||||
"miniprogram-simulate": "^1.4.2",
|
"miniprogram-simulate": "^1.4.2",
|
||||||
|
"stylelint": "13.13.1",
|
||||||
"ts-jest": "^27.0.7",
|
"ts-jest": "^27.0.7",
|
||||||
"tscpaths": "^0.0.9",
|
"tscpaths": "^0.0.9",
|
||||||
"typescript": "^4.4.4",
|
"typescript": "^4.4.4",
|
||||||
@ -66,5 +68,8 @@
|
|||||||
"Chrome >= 53",
|
"Chrome >= 53",
|
||||||
"ChromeAndroid >= 53",
|
"ChromeAndroid >= 53",
|
||||||
"iOS >= 9"
|
"iOS >= 9"
|
||||||
]
|
],
|
||||||
|
"resolutions": {
|
||||||
|
"source-map": "0.7.4"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
"noImplicitAny": false,
|
"noImplicitAny": false,
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
"sourceMap": false,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"lib": ["ESNext", "dom"],
|
"lib": ["ESNext", "dom"],
|
||||||
"types": ["@types/jest", "node", "miniprogram-api-typings"],
|
"types": ["@types/jest", "node", "miniprogram-api-typings"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user