migrated to bun and also updated the gh actions

This commit is contained in:
2025-10-24 18:59:09 +02:00
parent 65473a085a
commit a2cd25bf5f
4 changed files with 64 additions and 5660 deletions

View File

@@ -5,31 +5,34 @@ on:
branches: ["main"] # Replace with your default branch if different
jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*" # Uses the latest LTS version
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: npm install
run: bun install
- name: Build
run: npx vite build
run: bun run build
- name: Move dist to public
run: |
rm -rf public
mv dist public
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
permissions:
contents: read
pages: write
id-token: write

BIN
bun.lockb Executable file

Binary file not shown.

View File

@@ -1,47 +1,46 @@
{
"name": "dwa",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build:app": "vue-tsc && vite build",
"build": "pnpm build:app && pnpm build:sw",
"preview": "vite preview",
"build:sw": "workbox generateSW workbox-config.js"
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@vee-validate/zod": "^4.12.5",
"@vue/test-utils": "^2.4.4",
"@vueuse/core": "^10.9.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-vue-next": "^0.344.0",
"moment": "^2.30.1",
"radix-vue": "^1.4.9",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"vaul-vue": "^0.1.0",
"vee-validate": "^4.12.5",
"vue": "^3.4.19",
"vue-router": "^4.3.0",
"vue-sonner": "^1.1.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^1.3.1",
"autoprefixer": "^10.4.18",
"jsdom": "^24.0.0",
"shadcn-vue": "^0.9.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-pwa": "^0.19.0",
"vitest": "^1.3.1",
"vue-tsc": "^1.8.27"
}
"name": "dwa",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"build:sw": "workbox generateSW workbox-config.js"
},
"dependencies": {
"@faker-js/faker": "^8.4.1",
"@vee-validate/zod": "^4.12.5",
"@vue/test-utils": "^2.4.4",
"@vueuse/core": "^10.9.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-vue-next": "^0.344.0",
"moment": "^2.30.1",
"radix-vue": "^1.4.9",
"tailwind-merge": "^2.2.1",
"tailwindcss-animate": "^1.0.7",
"vaul-vue": "^0.1.0",
"vee-validate": "^4.12.5",
"vue": "^3.4.19",
"vue-router": "^4.3.0",
"vue-sonner": "^1.1.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^1.3.1",
"autoprefixer": "^10.4.18",
"jsdom": "^24.0.0",
"shadcn-vue": "^0.9.0",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-pwa": "^0.19.0",
"vitest": "^1.3.1",
"vue-tsc": "^1.8.27"
}
}

5598
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff