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'
},
server: {
host: true
host: true,
port: 3000
},
trailingSlash: 'never',
vite: {
@ -33,14 +34,11 @@ export default defineConfig({
}
}
},
experimental: {
assets: true
},
// Customizable depending on goal
output: 'server',
adapter: node({
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",
"private": true,
"scripts": {
@ -16,19 +16,19 @@
"install:test": "playwright install --with-deps"
},
"dependencies": {
"@astrojs/node": "^5",
"@astrojs/tailwind": "^4",
"@astrojs/node": "^6",
"@astrojs/tailwind": "^5",
"@dzeio/logger": "^3",
"@dzeio/object-util": "^1",
"@dzeio/url-manager": "^1",
"astro": "^2",
"lucide-astro": "^0.262.0",
"astro": "^3",
"lucide-astro": "^0",
"tailwindcss": "^3"
},
"devDependencies": {
"@playwright/test": "^1.36.1",
"@playwright/test": "^1",
"@types/node": "^20",
"@vitest/coverage-v8": "^0.33.0",
"vitest": "^0.33.0"
"@vitest/coverage-v8": "^0",
"vitest": "^0"
}
}

2
src/env.d.ts vendored
View File

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