Skip to content

Commit 5ead721

Browse files
LIlGGCopilot
andcommitted
chore: upgrade frontend toolchain
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent dc4e022 commit 5ead721

7 files changed

Lines changed: 1030 additions & 2039 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77

88
jobs:
99
cd:
10-
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v3
10+
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v4
1111
secrets:
1212
halo-pat: ${{ secrets.HALO_PAT }}
1313
permissions:
1414
contents: write
1515
with:
1616
skip-node-setup: true
1717
app-id: app-oPNFQ
18+
ui-path: "packages/live2d"
19+
pnpm-version: "10"
20+
node-version: "24"
21+
java-version: "21"

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010

1111
jobs:
1212
ci:
13-
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v3
13+
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v4
1414
with:
15-
skip-node-setup: true
15+
ui-path: "packages/live2d"
16+
pnpm-version: "10"
17+
node-version: "24"
18+
java-version: "21"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"@biomejs/biome": "^1.9.3",
1818
"typescript": "^5.7.2"
1919
},
20-
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
20+
"packageManager": "pnpm@10.33.4+sha512.1c67b3b359b2d408119ba1ed289f34b8fc3c6873412bec6fd264fbdc82489e510fcbecb9ce9d22dae7f3b76269d8441046014bdca53b9979cd7a561ad631b800"
2121
}

packages/live2d/package.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,24 @@
1919
"check": "pnpm sync:custom-tool-actions && biome check --write"
2020
},
2121
"dependencies": {
22-
"@lit/context": "^1.1.3",
23-
"@lit/react": "^1.0.7",
24-
"iconify-icon": "^2.3.0",
25-
"lit": "^3.2.1",
22+
"@lit/context": "^1.1.6",
23+
"@lit/react": "^1.0.8",
2624
"@pixi/sound": "^6.0.1",
25+
"iconify-icon": "^3.0.2",
26+
"lit": "^3.3.3",
2727
"pixi.js": "^8.13.1",
28-
"query-string": "^9.1.1",
29-
"react": "^19.0.0",
30-
"react-dom": "^19.0.0",
28+
"query-string": "^9.3.1",
29+
"react": "^19.2.6",
30+
"react-dom": "^19.2.6",
3131
"untitled-pixi-live2d-engine": "^1.1.0"
3232
},
3333
"devDependencies": {
34-
"@types/react": "^19.0.0",
35-
"@types/react-dom": "^19.0.0",
36-
"@unocss/postcss": "^65.4.3",
37-
"@vitejs/plugin-react": "^4.3.4",
34+
"@types/react": "^19.2.14",
35+
"@types/react-dom": "^19.2.3",
36+
"@unocss/postcss": "^66.6.8",
37+
"@vitejs/plugin-react": "^6.0.2",
3838
"ts-lit-plugin": "^2.0.2",
39-
"unocss": "^65.4.3",
40-
"vite": "^6.1.0",
41-
"vite-tsconfig-paths": "^5.1.4"
39+
"unocss": "^66.6.8",
40+
"vite": "^8.0.13"
4241
}
4342
}

packages/live2d/vite.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { resolve } from "node:path";
22
import react from "@vitejs/plugin-react";
33
import { defineConfig } from "vite";
4-
import tsconfigPaths from "vite-tsconfig-paths";
54

65
export default defineConfig({
76
plugins: [
@@ -12,8 +11,10 @@ export default defineConfig({
1211
},
1312
},
1413
}),
15-
tsconfigPaths(),
1614
],
15+
resolve: {
16+
tsconfigPaths: true,
17+
},
1718

1819
build: {
1920
outDir: "dist/lib",

packages/live2d/vite.halo.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { resolve } from "node:path";
22
import { defineConfig } from "vite";
3-
import tsconfigPaths from "vite-tsconfig-paths";
43

54
export default defineConfig({
65
base: "./",
7-
plugins: [tsconfigPaths()],
6+
resolve: {
7+
tsconfigPaths: true,
8+
},
89
build: {
910
emptyOutDir: false,
1011
outDir: "dist",

0 commit comments

Comments
 (0)