Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
3 changes: 1 addition & 2 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@
"unplugin-vue-components": "^0.28.0",
"vite": "^6.2.0",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-top-level-await": "^1.6.0",
"vite-plugin-wasm": "^3.5.0"
},
"overrides": {
"serialize-javascript": "^7.0.3"
}
}
}
2 changes: 0 additions & 2 deletions frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import { execSync } from 'child_process'
import wasm from 'vite-plugin-wasm'
import topLevelAwait from 'vite-plugin-top-level-await'

let commitHash = ''
try {
Expand All @@ -21,7 +20,6 @@ export default defineConfig({
plugins: [
vue(),
wasm(),
topLevelAwait(),
AutoImport({
imports: ['vue', 'vue-router'],
resolvers: [ElementPlusResolver({ importStyle: false })],
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "nap0o",
"license": "AGPL-3.0",
"private": true,
"scripts": {
"postinstall": "npm install --prefix backend && npm install --prefix frontend",
"dev": "npm run dev --prefix backend & npm run dev --prefix frontend"
}
}
"scripts": {
"postinstall": "npm install --legacy-peer-deps --prefix backend && npm install --legacy-peer-deps --prefix frontend",
"dev": "npm run dev --prefix backend & npm run dev --prefix frontend"
}
}