feat: Upgrade to Astro 3
Some checks failed
Build, check & Test / run (push) Failing after 13s

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
Florian Bouillon 2023-08-31 10:26:30 +02:00
parent bd880f0272
commit a0390bea73
4 changed files with 6857 additions and 7010 deletions

View File

@ -22,7 +22,8 @@ export default defineConfig({
inlineStylesheets: 'auto' inlineStylesheets: 'auto'
}, },
server: { server: {
host: true host: true,
port: 3000
}, },
trailingSlash: 'never', trailingSlash: 'never',
vite: { vite: {
@ -33,14 +34,11 @@ export default defineConfig({
} }
} }
}, },
experimental: {
assets: true
},
// Customizable depending on goal // Customizable depending on goal
output: 'server', output: 'server',
adapter: node({ adapter: node({
mode: "standalone" mode: "standalone"
}), }),
site: 'https://print.dzeio.com', site: 'https://example.com',
}) })

13841
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
{ {
"name": "@fi3d/slicer-as-a-service", "name": "@dzeio/template",
"type": "module", "type": "module",
"private": true, "private": true,
"scripts": { "scripts": {
@ -16,19 +16,19 @@
"install:test": "playwright install --with-deps" "install:test": "playwright install --with-deps"
}, },
"dependencies": { "dependencies": {
"@astrojs/node": "^5", "@astrojs/node": "^6",
"@astrojs/tailwind": "^4", "@astrojs/tailwind": "^5",
"@dzeio/logger": "^3", "@dzeio/logger": "^3",
"@dzeio/object-util": "^1", "@dzeio/object-util": "^1",
"@dzeio/url-manager": "^1", "@dzeio/url-manager": "^1",
"astro": "^2", "astro": "^3",
"lucide-astro": "^0.262.0", "lucide-astro": "^0",
"tailwindcss": "^3" "tailwindcss": "^3"
}, },
"devDependencies": { "devDependencies": {
"@playwright/test": "^1.36.1", "@playwright/test": "^1",
"@types/node": "^20", "@types/node": "^20",
"@vitest/coverage-v8": "^0.33.0", "@vitest/coverage-v8": "^0",
"vitest": "^0.33.0" "vitest": "^0"
} }
} }

2
src/env.d.ts vendored
View File

@ -1,5 +1,5 @@
/// <reference path="../.astro/types.d.ts" /> /// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client-image" /> /// <reference types="astro/client" />
/// <reference path="./libs/ResponseBuilder" /> /// <reference path="./libs/ResponseBuilder" />
/** /**