Skip to content

Commit 14e63e9

Browse files
committed
chore(deps): upgrade to vite-plus 0.1.12 and vite 8
1 parent da2cf3e commit 14e63e9

File tree

108 files changed

+1298
-1047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+1298
-1047
lines changed

.github/workflows/autofix.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,24 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

23-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
23+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
2424
with:
2525
node-version: lts/*
26-
27-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
28-
name: 🟧 Install pnpm
26+
cache: true
2927

3028
- name: 📦 Install dependencies
31-
run: pnpm install
29+
run: vp install
3230

3331
- name: 🎨 Check for non-RTL/non-a11y CSS classes
34-
run: pnpm lint:css
32+
run: vp run lint:css
3533

3634
- name: 🌐 Compare translations
37-
run: pnpm i18n:check
35+
run: vp run i18n:check
3836

3937
- name: 🌍 Update lunaria data
40-
run: pnpm build:lunaria
38+
run: vp run build:lunaria
4139

4240
- name: 🔠 Fix lint errors
43-
run: pnpm lint:fix
41+
run: vp run lint:fix
4442

4543
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # 635ffb0c9798bd160680f18fd73371e355b85f27

.github/workflows/chromatic.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ jobs:
2626
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
2727
ref: ${{ github.event.pull_request.head.sha || github.sha }}
2828

29-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
29+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
3030
with:
3131
node-version: lts/*
32-
33-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
34-
name: 🟧 Install pnpm
32+
cache: true
3533

3634
- name: 📦 Install dependencies
37-
run: pnpm install
35+
run: vp install
3836

3937
- name: 🧪 Run Chromatic Visual and Accessibility Tests
4038
uses: chromaui/action@5ec258af08deb3e8c36653bd618cb7fe52090031 # v15.2.0

.github/workflows/ci.yml

Lines changed: 37 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,16 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3030

31-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
31+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
3232
with:
3333
node-version: lts/*
34-
35-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
36-
name: 🟧 Install pnpm
34+
cache: true
3735

3836
- name: 📦 Install dependencies (root only, no scripts)
39-
run: pnpm install --filter . --ignore-scripts
37+
run: vp install --filter . --ignore-scripts
4038

4139
- name: 🔠 Lint project
42-
run: pnpm lint
40+
run: vp run lint
4341

4442
types:
4543
name: 💪 Type check
@@ -48,18 +46,16 @@ jobs:
4846
steps:
4947
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5048

51-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
49+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
5250
with:
5351
node-version: lts/*
54-
55-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
56-
name: 🟧 Install pnpm
52+
cache: true
5753

5854
- name: 📦 Install dependencies
59-
run: pnpm install
55+
run: vp install
6056

6157
- name: 💪 Type check
62-
run: pnpm test:types
58+
run: vp run test:types
6359

6460
unit:
6561
name: 🧪 Unit tests
@@ -68,18 +64,16 @@ jobs:
6864
steps:
6965
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7066

71-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
67+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
7268
with:
7369
node-version: lts/*
74-
75-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
76-
name: 🟧 Install pnpm
70+
cache: true
7771

7872
- name: 📦 Install dependencies
79-
run: pnpm install
73+
run: vp install
8074

8175
- name: 🧪 Unit tests
82-
run: pnpm test:unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
76+
run: vp test --project unit run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
8377

8478
- name: ⬆︎ Upload test results to Codecov
8579
if: ${{ !cancelled() }}
@@ -94,21 +88,19 @@ jobs:
9488
steps:
9589
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9690

97-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
91+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
9892
with:
9993
node-version: lts/*
100-
101-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
102-
name: 🟧 Install pnpm
94+
cache: true
10395

10496
- name: 📦 Install dependencies
105-
run: pnpm install
97+
run: vp install
10698

10799
- name: 🌐 Install browser
108-
run: pnpm playwright install chromium-headless-shell
100+
run: vp exec playwright install chromium-headless-shell
109101

110102
- name: 🧪 Component tests
111-
run: pnpm test:nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
103+
run: vp test --project nuxt run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml
112104

113105
- name: ⬆︎ Upload coverage reports to Codecov
114106
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
@@ -131,23 +123,21 @@ jobs:
131123
steps:
132124
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
133125

134-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
126+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
135127
with:
136128
node-version: lts/*
137-
138-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
139-
name: 🟧 Install pnpm
129+
cache: true
140130

141131
- name: 📦 Install dependencies
142-
run: pnpm install
132+
run: vp install
143133

144134
- name: 🏗️ Build project
145-
run: pnpm build:test
135+
run: vp run build:test
146136
env:
147137
VALIDATE_HTML: true
148138

149139
- name: 🖥️ Test project (browser)
150-
run: pnpm test:browser:prebuilt
140+
run: vp run test:browser:prebuilt
151141

152142
a11y:
153143
name: ♿ Accessibility audit
@@ -159,21 +149,19 @@ jobs:
159149
steps:
160150
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
161151

162-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
152+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
163153
with:
164154
node-version: lts/*
165-
166-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
167-
name: 🟧 Install pnpm
155+
cache: true
168156

169157
- name: 📦 Install dependencies
170-
run: pnpm install
158+
run: vp install
171159

172160
- name: 🏗️ Build project
173-
run: pnpm build:test
161+
run: vp run build:test
174162

175163
- name: ♿ Accessibility audit (Lighthouse - ${{ matrix.mode }} mode)
176-
run: pnpm test:a11y:prebuilt
164+
run: vp run test:a11y:prebuilt
177165
env:
178166
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
179167
LIGHTHOUSE_COLOR_MODE: ${{ matrix.mode }}
@@ -185,21 +173,19 @@ jobs:
185173
steps:
186174
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
187175

188-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
176+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
189177
with:
190178
node-version: lts/*
191-
192-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
193-
name: 🟧 Install pnpm
179+
cache: true
194180

195181
- name: 📦 Install dependencies
196-
run: pnpm install
182+
run: vp install
197183

198184
- name: 🧹 Check for unused code
199-
run: pnpm knip
185+
run: vp run knip
200186

201187
- name: 🧹 Check for unused production code
202-
run: pnpm knip --production --exclude dependencies
188+
run: vp run knip --production --exclude dependencies
203189

204190
i18n:
205191
name: 🌐 i18n validation
@@ -208,20 +194,18 @@ jobs:
208194
steps:
209195
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
210196

211-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
197+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
212198
with:
213199
node-version: lts/*
214-
215-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
216-
name: 🟧 Install pnpm
200+
cache: true
217201

218202
- name: 📦 Install dependencies (root only, no scripts)
219-
run: pnpm install --filter . --ignore-scripts
203+
run: vp install --filter . --ignore-scripts
220204

221205
- name: 🌐 Check for missing or dynamic i18n keys
222-
run: pnpm i18n:report
206+
run: vp run i18n:report
223207

224208
- name: 🌐 Check i18n schema is up to date
225209
run: |
226-
pnpm i18n:schema
210+
vp run i18n:schema
227211
git diff --exit-code i18n/schema.json

.github/workflows/lunaria.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,13 @@ jobs:
2828
# Makes the action clone the entire git history
2929
fetch-depth: 0
3030

31-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
31+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
3232
with:
3333
node-version: lts/*
34-
35-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
36-
name: 🟧 Install pnpm
34+
cache: true
3735

3836
- name: 📦 Install dependencies
39-
run: pnpm install
37+
run: vp install
4038

4139
- name: Generate Lunaria Overview
4240
uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # v1-prerelease

.github/workflows/release-tag.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525

26-
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
26+
- uses: voidzero-dev/setup-vp@1bc2c0c101cb14b233d41d9f113658852e3ba658 # v1
2727
with:
2828
node-version: lts/*
29+
cache: true
2930

3031
- name: 🔢 Determine next version
3132
id: version
@@ -58,13 +59,9 @@ jobs:
5859
git tag -a "$VERSION" -m "Release $VERSION"
5960
git push origin "$VERSION"
6061
61-
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # 4e1c8eafbd745f64b1ef30a7d7ed7965034c486c
62-
if: steps.check.outputs.skip == 'false'
63-
name: 🟧 Install pnpm
64-
6562
- name: 📦 Install dependencies
6663
if: steps.check.outputs.skip == 'false'
67-
run: pnpm install --filter . --ignore-scripts
64+
run: vp install --filter . --ignore-scripts
6865

6966
- name: 📝 Generate release notes
7067
if: steps.check.outputs.skip == 'false'

knip.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const config: KnipConfig = {
2222
],
2323
ignoreDependencies: [
2424
'@iconify-json/*',
25-
'@voidzero-dev/vite-plus-core',
2625
'puppeteer',
2726
/** Needs to be explicitly installed, even though it is not imported, to avoid type errors. */
2827
'unplugin-vue-router',

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
"@upstash/redis": "1.36.3",
8484
"@vite-pwa/assets-generator": "1.0.2",
8585
"@vite-pwa/nuxt": "1.1.1",
86-
"@voidzero-dev/vite-plus-core": "0.0.0-gd42e0ca6.20260225-0619",
8786
"@vueuse/core": "14.2.1",
8887
"@vueuse/integrations": "14.2.1",
8988
"@vueuse/nuxt": "14.2.1",
@@ -116,8 +115,9 @@
116115
"valibot": "1.2.0",
117116
"validate-npm-package-name": "7.0.2",
118117
"virtua": "0.48.6",
118+
"vite": "8.0.0",
119119
"vite-plugin-pwa": "1.2.0",
120-
"vite-plus": "0.0.0-g52709db6.20260226-1136",
120+
"vite-plus": "0.1.12",
121121
"vue": "3.5.30",
122122
"vue-data-ui": "3.15.12"
123123
},
@@ -134,7 +134,7 @@
134134
"@types/sanitize-html": "2.16.0",
135135
"@types/semver": "7.7.1",
136136
"@types/validate-npm-package-name": "4.0.2",
137-
"@vitest/coverage-v8": "4.0.18",
137+
"@vitest/coverage-v8": "4.1.0",
138138
"@vue/test-utils": "2.4.6",
139139
"axe-core": "4.11.1",
140140
"changelogen": "0.6.2",
@@ -155,7 +155,7 @@
155155
"storybook": "catalog:storybook",
156156
"typescript": "5.9.3",
157157
"unplugin-vue-markdown": "30.0.0",
158-
"vitest": "npm:@voidzero-dev/vite-plus-test@0.0.0-gd42e0ca6.20260225-0619",
158+
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.12",
159159
"vitest-environment-nuxt": "1.0.1",
160160
"vue-i18n-extract": "2.0.7",
161161
"vue-tsc": "3.2.5"

0 commit comments

Comments
 (0)