diff --git a/frontend/.prettierrc.toml b/frontend/.prettierrc.toml index d3490127..9d272207 100644 --- a/frontend/.prettierrc.toml +++ b/frontend/.prettierrc.toml @@ -5,5 +5,5 @@ trailingComma = "all" arrowParens = "avoid" [[overrides]] -files = ["tsconfig.json"] -options = { parser = "jsonc" } \ No newline at end of file +files = [ "tsconfig.json" ] +options = { parser = "jsonc" } diff --git a/frontend/app/HeroPage.svelte b/frontend/app/HeroPage.svelte index 4146f1d7..eb44de43 100644 --- a/frontend/app/HeroPage.svelte +++ b/frontend/app/HeroPage.svelte @@ -1,7 +1,23 @@ + +
-

- </ Promplate - Demo - /> -

+
+
+ y - x >= $i} /> +
+

+ Promplate + Demo +

+
diff --git a/frontend/package.json b/frontend/package.json index 148b4688..8989c154 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -12,22 +12,24 @@ "check": "svelte-check --tsconfig ./tsconfig.json" }, "devDependencies": { - "@antfu/eslint-config": "^2.6.4", - "@sveltejs/vite-plugin-svelte": "^3.0.2", - "@tsconfig/svelte": "^5.0.2", - "@unocss/eslint-plugin": "^0.58.5", - "@unocss/extractor-svelte": "^0.58.5", - "@unocss/reset": "^0.58.5", + "@antfu/eslint-config": "^2.15.0", + "@promplate/pattern": "^0.0.1", + "@sveltejs/vite-plugin-svelte": "^3.1.0", + "@tsconfig/svelte": "^5.0.4", + "@unocss/eslint-plugin": "^0.59.3", + "@unocss/extractor-svelte": "^0.59.3", + "@unocss/reset": "^0.59.3", "eslint": "^8.57.0", - "eslint-plugin-format": "^0.1.0", - "eslint-plugin-svelte": "^2.35.1", + "eslint-plugin-format": "^0.1.1", + "eslint-plugin-svelte": "^2.37.0", "prettier": "^3.2.5", - "prettier-plugin-svelte": "^3.2.1", - "svelte": "^4.2.12", - "svelte-check": "^3.6.4", + "prettier-plugin-svelte": "^3.2.3", + "svelte": "^4.2.15", + "svelte-check": "^3.6.9", + "svelte-eslint-parser": "^0.33.1", "tslib": "^2.6.2", - "typescript": "^5.3.3", - "unocss": "^0.58.5", - "vite": "^5.1.4" + "typescript": "^5.4.5", + "unocss": "^0.59.3", + "vite": "^5.2.9" } } diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index c8d0dcd8..145317a9 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -17,7 +17,7 @@ async function getProxies() { export default async () => { return defineConfig({ plugins: [unocss(), svelte()], - server: { proxy: await getProxies() }, + server: { proxy: await getProxies().catch(() => ({})) }, build: { rollupOptions: { output: {