fix(frontend): .env reaches the build for $env/static, the runtime image stays without it; eslint + prettier as an alternative to biome; image named with dashes
This commit is contained in:
1 parent
180f16defd
commit
c93a8fc68d
16 files changed
+136
-15
No files matched your search
@@ -8,14 +8,18 @@
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"dev": "vite dev",
|
||||
{%- if linter == 'biome' %}
|
||||
"fix": "ultracite fix",
|
||||
"lint": "ultracite check",
|
||||
{%- else %}
|
||||
"fix": "prettier --write . && eslint --fix .",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
{%- endif %}
|
||||
"prepare": "svelte-kit sync || echo ''",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
{%- set deps = {
|
||||
"@biomejs/biome": "2.5.13",
|
||||
"@sveltejs/kit": "^2.63.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||
"@tailwindcss/vite": "^4.3.0",
|
||||
@@ -24,9 +28,23 @@
|
||||
"svelte-check": "^4.6.0",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"typescript": "^6.0.3",
|
||||
"ultracite": "7.12.0",
|
||||
"vite": "^8.0.16",
|
||||
} -%}
|
||||
{%- if linter == 'biome' %}{% set _ = deps.update({
|
||||
"@biomejs/biome": "2.5.13",
|
||||
"ultracite": "7.12.0",
|
||||
}) %}{% else %}{% set _ = deps.update({
|
||||
"@eslint/compat": "^2.1.1",
|
||||
"@eslint/js": "^10.0.1",
|
||||
"eslint": "^10.12.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-svelte": "^3.23.0",
|
||||
"globals": "^17.13.0",
|
||||
"prettier": "^3.9.9",
|
||||
"prettier-plugin-svelte": "^4.1.1",
|
||||
"prettier-plugin-tailwindcss": "^0.8.1",
|
||||
"typescript-eslint": "^8.71.1",
|
||||
}) %}{% endif -%}
|
||||
{%- if frontend_adapter == 'bun' %}{% set _ = deps.update({"svelte-adapter-bun": "^1.0.1"}) %}{% else %}{% set _ = deps.update({"@sveltejs/adapter-static": "^3.0.10"}) %}{% endif -%}
|
||||
{%- if ui_library == 'shadcn' %}{% set _ = deps.update({
|
||||
"@internationalized/date": "^3.12.0",
|
||||
|
||||
Reference in new issue
Block a user