[U] Migrate to svelte 5, switch to bun

matching
Azalea 2024-12-23 18:32:02 -05:00
parent f5959925aa
commit 6631bb593c
4 changed files with 25 additions and 29 deletions

View File

@ -1 +0,0 @@
yarnPath: .yarn/releases/yarn-4.1.1.cjs

View File

@ -5,18 +5,16 @@ This project is also heavily WIP, so more details will be added later on.
## Development ## Development
This project uses Svelte (NOT SvelteKit) + TypeScript + Sass, built using Vite. This project uses Svelte (NOT SvelteKit) + TypeScript + Sass, built using Vite. The preferred editor is VSCode.
The preferred editor is IntelliJ IDEA, but VSCode can pass as well.
Please check out [SVELTE.md](SVELTE.md) for more details on the technical aspects of the project.
### Running locally ### Running locally
First, you would need to install Node.js and yarn. First, you would need to install Node.js and bun.
Then, you would need to start your testing AquaDX server and configure the `aqua_host` in `src/libs/config.ts` to use your URL. Then, you would need to start your testing AquaDX server and configure the `aqua_host` in `src/libs/config.ts` to use your URL.
Please leave `data_host` unchanged if you're not sure what it is. Please leave `data_host` unchanged if you're not sure what it is.
Finally, run: Finally, run:
```shell ```shell
yarn install bun install
yarn dev bun run dev
``` ```

Binary file not shown.

View File

@ -11,37 +11,36 @@
"lint": "eslint . --ext ts,tsx,svelte --max-warnings 0 --fix" "lint": "eslint . --ext ts,tsx,svelte --max-warnings 0 --fix"
}, },
"devDependencies": { "devDependencies": {
"@iconify/svelte": "^3.1.6", "@iconify/svelte": "^4.1.0",
"@iconify/tools": "^4.0.4", "@iconify/tools": "^4.1.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0", "@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"@types/d3": "^7", "@types/d3": "^7.4.3",
"@types/wicg-file-system-access": "^2023.10.5", "@types/wicg-file-system-access": "^2023.10.5",
"@unocss/svelte-scoped": "^0.62.4", "@unocss/svelte-scoped": "^0.65.2",
"chartjs-adapter-moment": "^1.0.1", "chartjs-adapter-moment": "^1.0.1",
"eslint": "^8.57.0", "eslint": "^9.17.0",
"eslint-plugin-svelte": "^2.37.0", "eslint-plugin-svelte": "^2.46.1",
"sass": "^1.75.0", "sass": "^1.83.0",
"shiki": "^1.3.0", "shiki": "^1.24.4",
"svelte": "^4.2.15", "svelte": "^5",
"svelte-check": "^3.6.9", "svelte-check": "^4",
"svelte-routing": "^2.12.0", "svelte-routing": "^2.13.0",
"svelte-turnstile": "^0.5.0", "svelte-turnstile": "^0.9.0",
"tslib": "^2.6.2", "tslib": "^2.8.1",
"typescript": "^5.4.5", "typescript": "^5.7.2",
"typescript-eslint": "^7.7.0", "typescript-eslint": "^8.18.2",
"unocss": "^0.62.4", "unocss": "^0.65.2",
"vite": "^5.2.10" "vite": "^6.0.5"
}, },
"dependencies": { "dependencies": {
"cal-heatmap": "^4.2.4", "cal-heatmap": "^4.2.4",
"chart.js": "^4.4.2", "chart.js": "^4.4.7",
"d3": "^7.9.0", "d3": "^7.9.0",
"lxgw-wenkai-lite-webfont": "^1.7.0", "lxgw-wenkai-lite-webfont": "^1.7.0",
"modern-normalize": "^2.0.0", "modern-normalize": "^3.0.1",
"moment": "^2.30.1", "moment": "^2.30.1",
"show-open-file-picker": "^0.2.2", "show-open-file-picker": "^0.2.2"
"svelte-chartjs": "^3.1.5"
}, },
"packageManager": "pnpm@9.7.0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf" "packageManager": "pnpm@9.7.0+sha512.dc09430156b427f5ecfc79888899e1c39d2d690f004be70e05230b72cb173d96839587545d09429b55ac3c429c801b4dc3c0e002f653830a420fa2dd4e3cf9cf"
} }