Skip to content

Commit 59782a7

Browse files
authored
feat: supplement the path of components and styles (#36)
* feat: supplement the path of components and styles * chore: optimize code * chore: update dependencies
1 parent 1a5eddf commit 59782a7

11 files changed

+7568
-4569
lines changed

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

1616
- name: Setup node
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v4
1818
with:
19-
node-version: '16'
19+
node-version: latest
2020
registry-url: https://registry.npmjs.org/
2121

2222
- name: Setup pnpm
23-
uses: pnpm/action-setup@v2
23+
uses: pnpm/action-setup@v4
2424
with:
2525
version: latest
2626

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
node-version: [16, 18]
12+
node-version: [18, latest]
1313
fail-fast: false
1414

1515
runs-on: ${{ matrix.os }}
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

20-
- uses: pnpm/action-setup@v2
20+
- uses: pnpm/action-setup@v4
2121
name: Install pnpm
2222
with:
2323
version: latest
2424

25-
- uses: actions/setup-node@v2
25+
- uses: actions/setup-node@v4
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: pnpm

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@
3838
"vant": ">=4"
3939
},
4040
"dependencies": {
41-
"@nuxt/kit": "^3.7.0",
41+
"@nuxt/kit": "^3.12.2",
4242
"magic-string": "^0.29.0",
43-
"unplugin": "^1.3.1"
43+
"unplugin": "^1.10.2"
4444
},
4545
"devDependencies": {
46-
"@nuxt/module-builder": "^0.5.0",
47-
"@nuxt/schema": "^3.7.0",
48-
"@nuxtjs/eslint-config-typescript": "^12.0.0",
49-
"@types/node": "^18.15.13",
50-
"eslint": "^8.46.0",
51-
"nuxt": "^3.7.0",
52-
"typescript": "^5.1.6",
53-
"vant": "^4.6.6",
54-
"vue": "^3.3.4"
46+
"@nuxt/module-builder": "^0.5.5",
47+
"@nuxt/schema": "^3.12.2",
48+
"@nuxtjs/eslint-config-typescript": "^12.1.0",
49+
"@types/node": "^18.19.39",
50+
"eslint": "^8.57.0",
51+
"nuxt": "^3.12.2",
52+
"typescript": "^5.5.2",
53+
"vant": "^4.9.1",
54+
"vue": "^3.4.31"
5555
},
5656
"publishConfig": {
5757
"access": "public",

playground/app.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ onMounted(() => {
169169
@close="showCascader = false"
170170
/>
171171
</van-popup>
172-
<van-floating-panel
172+
<!-- <van-floating-panel
173173
v-model:show="showFloatingPanel"
174174
:content-draggable="false"
175175
:lock-scroll="true"
@@ -178,7 +178,7 @@ onMounted(() => {
178178
<van-cell-group>
179179
<van-cell v-for=" (n, i) in 150" :key="i" :title="n" :value="n" />
180180
</van-cell-group>
181-
</van-floating-panel>
181+
</van-floating-panel> -->
182182

183183
<van-back-top bottom="70" />
184184
<van-sticky position="bottom">

playground/nuxt.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { defineNuxtConfig } from 'nuxt/config'
22
import Vant from '..'
33

44
export default defineNuxtConfig({
5+
devtools: true,
56
modules: [Vant],
67
vant: {
78
lazyload: true

0 commit comments

Comments
 (0)