mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 13:54:01 +01:00
Compare commits
2 Commits
f73276df8f
...
f586394f80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f586394f80 | ||
| 506152a986 |
34
.github/workflows/nuxthub.yml
vendored
Normal file
34
.github/workflows/nuxthub.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Deploy to NuxtHub
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: "Deploy to NuxtHub"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Ensure NuxtHub module is installed
|
||||
run: bunx nuxthub@latest ensure
|
||||
|
||||
- name: Build & Deploy to NuxtHub
|
||||
uses: nuxt-hub/action@v2
|
||||
with:
|
||||
project-key: artchat-vuju
|
||||
1
.wrangler/deploy/config.json
Normal file
1
.wrangler/deploy/config.json
Normal file
@@ -0,0 +1 @@
|
||||
{"configPath":"../../.output/server/wrangler.json"}
|
||||
10
bun.lock
10
bun.lock
@@ -5,7 +5,7 @@
|
||||
"name": "nuxt-app",
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
"@iconify-json/devicon": "^1.2.44",
|
||||
"@iconify-json/devicon": "^1.2.45",
|
||||
"@iconify-json/logos": "^1.2.9",
|
||||
"@iconify-json/ph": "^1.2.2",
|
||||
"@iconify-json/simple-icons": "^1.2.53",
|
||||
@@ -18,7 +18,7 @@
|
||||
"@nuxtjs/google-fonts": "^3.2.0",
|
||||
"@nuxtjs/i18n": "10.1.0",
|
||||
"@pinia/nuxt": "^0.11.2",
|
||||
"@tailwindcss/typography": "^0.5.18",
|
||||
"@tailwindcss/typography": "^0.5.19",
|
||||
"@vueuse/math": "13.9.0",
|
||||
"@vueuse/motion": "^3.0.3",
|
||||
"better-sqlite3": "^12.4.1",
|
||||
@@ -29,13 +29,13 @@
|
||||
"remark-parse": "^11.0.0",
|
||||
"remark-rehype": "^11.1.2",
|
||||
"typescript": "^5.9.2",
|
||||
"vue": "^3.5.21",
|
||||
"vue": "^3.5.22",
|
||||
"vue-router": "^4.5.1",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.5.2",
|
||||
"@types/node": "^24.6.0",
|
||||
"@vueuse/nuxt": "^13.9.0",
|
||||
"vue-tsc": "^3.0.8",
|
||||
"vue-tsc": "^3.1.0",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -51,6 +51,12 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
|
||||
vite: {
|
||||
build: {
|
||||
sourcemap: false,
|
||||
},
|
||||
},
|
||||
|
||||
// Nuxt Color Mode
|
||||
colorMode: {
|
||||
preference: 'system',
|
||||
@@ -108,9 +114,13 @@ export default defineNuxtConfig({
|
||||
// Nitro
|
||||
nitro: {
|
||||
experimental: {
|
||||
websocket: true,
|
||||
openAPI: true,
|
||||
},
|
||||
preset: 'cloudflare-module',
|
||||
cloudflare: {
|
||||
deployConfig: true,
|
||||
nodeCompat: true,
|
||||
},
|
||||
},
|
||||
|
||||
// Nuxt Env
|
||||
|
||||
Reference in New Issue
Block a user