Skip to content

Commit

Permalink
Fix broken deps, bullshit audit rules upgraded vite to 6 series which…
Browse files Browse the repository at this point in the history
… doesn't work. Moved production dependencies out of devDependencies, added NODE_ENV=production to build
  • Loading branch information
lietu committed Dec 4, 2024
1 parent f145312 commit 97d3501
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 364 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build frontend
run: |
pnpm -C frontend build
NODE_ENV=production pnpm -C frontend build
- name: Build for Linux amd64
run: |
Expand Down
16 changes: 8 additions & 8 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"typescript": "^5.0.0",
"vite": "^5.0.3"
"svelte-check": "^3.6.0"
},
"type": "module",
"dependencies": {
"@fontsource/merriweather-sans": "^5.0.14",
"@poppanator/sveltekit-svg": "^4.2.1",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"lottie-web": "^5.12.2",
"sass": "^1.77.8"
"sass": "^1.77.8",
"svelte": "^4.2.7",
"typescript": "^5.0.0",
"vite": "^5.0.3"
},
"pnpm": {
"overrides": {
Expand Down
Loading

0 comments on commit 97d3501

Please sign in to comment.