Skip to content

Commit 0aa7345

Browse files
authored
Merge pull request #6 from L4Ph/fix-ci
fix ci and command
2 parents 9abea41 + 866fa78 commit 0aa7345

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: actions/checkout@v4
2424
- uses: oven-sh/setup-bun@v2
2525
- name: install deps
26-
run: rm -rf node_modules && bun install --ignore-scripts --frozen-lockfile
26+
run: rm -rf node_modules && bun install --frozen-lockfile
2727
- name: build
2828
run: bun run build
2929
- name: deploy

bun.lockb

1.22 KB
Binary file not shown.

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite dev",
8-
"build": "vite build",
8+
"build": "bun run check && vite build",
99
"preview": "vite preview",
1010
"deploy": "bun run build && bunx wrangler pages deploy",
1111
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
@@ -20,8 +20,8 @@
2020
"@fontsource-variable/m-plus-2": "^5.1.0",
2121
"@l4ph/web-novel-parser": "npm:@jsr/l4ph__web-novel-parser",
2222
"@macfja/svelte-persistent-store": "^2.4.1",
23-
"@tauri-apps/api": "^2.0.0-rc.5",
24-
"@tauri-apps/cli": "^2.0.0-rc.16",
23+
"@tauri-apps/api": "^2.0.0-rc.6",
24+
"@tauri-apps/cli": "^2.0.0-rc.17",
2525
"@tauri-apps/plugin-dialog": "github:tauri-apps/tauri-plugin-dialog#v2",
2626
"@tauri-apps/plugin-fs": "github:tauri-apps/tauri-plugin-fs#v2",
2727
"bits-ui": "^0.21.15",
@@ -39,16 +39,16 @@
3939
"@biomejs/biome": "1.9.2",
4040
"@svelte-put/shortcut": "^3.1.1",
4141
"@sveltejs/adapter-static": "^3.0.5",
42-
"@sveltejs/kit": "^2.5.28",
42+
"@sveltejs/kit": "^2.6.1",
4343
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.7",
4444
"@tailwindcss/typography": "^0.5.15",
4545
"@tailwindcss/vite": "^4.0.0-alpha.25",
4646
"@types/bun": "latest",
47-
"@types/node": "^22.7.0",
47+
"@types/node": "^22.7.4",
4848
"autoprefixer": "^10.4.20",
49-
"eslint-plugin-svelte": "^2.44.0",
50-
"svelte": "^5.0.0-next.259",
51-
"svelte-check": "^4.0.2",
49+
"eslint-plugin-svelte": "^2.44.1",
50+
"svelte": "^5.0.0-next.260",
51+
"svelte-check": "^4.0.4",
5252
"tailwindcss": "^4.0.0-alpha.25",
5353
"tslib": "^2.7.0",
5454
"typescript": "^5.6.2",

vite.config.js

-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,4 @@ export default defineConfig(async () => ({
3232
ignored: ["**/src-tauri/**"],
3333
},
3434
},
35-
resolve: {
36-
alias: {
37-
$lib: fileURLToPath(new URL("./src/lib", import.meta.url)),
38-
},
39-
},
4035
}));

0 commit comments

Comments
 (0)