diff --git a/biome.json b/biome.json index b5b3cec..d3a0a08 100644 --- a/biome.json +++ b/biome.json @@ -80,7 +80,9 @@ "dist/**/*", ".output", ".nuxt", - "paraglide" + "paraglide", + "result", + "project.inlang" ] } } diff --git a/bun.lock b/bun.lock index 4793896..12330e4 100644 --- a/bun.lock +++ b/bun.lock @@ -60,6 +60,8 @@ "@iconify-json/twemoji": "^1.2.2", "@iconify/utils": "^2.3.0", "@inlang/paraglide-js": "2.0.11", + "@inlang/plugin-m-function-matcher": "^2.0.9", + "@inlang/plugin-message-format": "^4.0.0", "@tailwindcss/forms": "^0.5.10", "@types/html-to-text": "^9.0.4", "typescript": "^5.8.3", @@ -368,6 +370,10 @@ "@inlang/paraglide-js": ["@inlang/paraglide-js@2.0.11", "", { "dependencies": { "@inlang/recommend-sherlock": "0.2.1", "@inlang/sdk": "2.4.7", "commander": "11.1.0", "consola": "3.4.0", "json5": "2.2.3", "unplugin": "^2.1.2", "urlpattern-polyfill": "^10.0.0" }, "bin": { "paraglide-js": "bin/run.js" } }, "sha512-aR3vq/Q8wdXIaTHVujTZ+9NGlN+7OwVLVCiJBbhSo4Io9swR3iToAKgGeBk3GV8PJxiVqf/JwC5s4MLjZNcNJg=="], + "@inlang/plugin-m-function-matcher": ["@inlang/plugin-m-function-matcher@2.0.9", "", { "dependencies": { "@inlang/sdk": "2.4.7" } }, "sha512-BlQstNVOnVpmetDBD/sOR0ElBP+RJLUmZL0gjaH4UOYqu/KlUWaDyh7cBt751Bx+QCVB3t9gov6FLkNgpYvY0w=="], + + "@inlang/plugin-message-format": ["@inlang/plugin-message-format@4.0.0", "", { "dependencies": { "flat": "^6.0.1" } }, "sha512-zNpLxLTt+bDd3JLXj1ONzo+Q6AOzz2MfcgGo8XB6/bweGhFIndK3GU/q0iU4o7VI4KS1+OHNLpKwFcrAifwERQ=="], + "@inlang/recommend-sherlock": ["@inlang/recommend-sherlock@0.2.1", "", { "dependencies": { "comment-json": "^4.2.3" } }, "sha512-ckv8HvHy/iTqaVAEKrr+gnl+p3XFNwe5D2+6w6wJk2ORV2XkcRkKOJ/XsTUJbPSiyi4PI+p+T3bqbmNx/rDUlg=="], "@inlang/sdk": ["@inlang/sdk@2.4.7", "", { "dependencies": { "@lix-js/sdk": "0.4.6", "@sinclair/typebox": "^0.31.17", "kysely": "^0.27.4", "sqlite-wasm-kysely": "0.3.0", "uuid": "^10.0.0" } }, "sha512-EKq1mituvRjYVT4iCLFQyz4W4c5L0i5JsPKcjiOZnFUN7gcnKgnoqQB/M7eBy2dNTinH+yR6lftmurOdh77rzA=="], @@ -1140,6 +1146,8 @@ "fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], + "flat": ["flat@6.0.1", "", { "bin": { "flat": "cli.js" } }, "sha512-/3FfIa8mbrg3xE7+wAhWeV+bd7L2Mof+xtZb5dRDKZ+wDvYJK4WDYeIOuOhre5Yv5aQObZrlbRmk3RTSiuQBtw=="], + "fontaine": ["fontaine@0.5.0", "", { "dependencies": { "@capsizecss/metrics": "^2.1.1", "@capsizecss/unpack": "^2.0.1", "magic-regexp": "^0.8.0", "magic-string": "^0.30.8", "pathe": "^1.1.2", "ufo": "^1.4.0", "unplugin": "^1.8.3" } }, "sha512-vPDSWKhVAfTx4hRKT777+N6Szh2pAosAuzLpbppZ6O3UdD/1m6OlHjNcC3vIbgkRTIcLjzySLHXzPeLO2rE8cA=="], "fontkit": ["fontkit@2.0.4", "", { "dependencies": { "@swc/helpers": "^0.5.12", "brotli": "^1.3.2", "clone": "^2.1.2", "dfa": "^1.2.0", "fast-deep-equal": "^3.1.3", "restructure": "^3.0.0", "tiny-inflate": "^1.0.3", "unicode-properties": "^1.4.0", "unicode-trie": "^2.0.0" } }, "sha512-syetQadaUEDNdxdugga9CpEYVaQIxOwk7GlwZWWZ19//qW4zE5bknOKeMBDYAASwnpaSHKJITRLMF9m1fp3s6g=="], diff --git a/nix/package.nix b/nix/package.nix index 8bb5811..0190dbc 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -17,7 +17,7 @@ in pnpmDeps = pnpm.fetchDeps { inherit (finalAttrs) pname version src; - hash = "sha256-NFppXHekesdV9Qg81I7fNjLPTvb3vBz7557a1AGlyOI="; + hash = "sha256-h1QdCajYmY37GyByID+Idf0W5+LWXwX7pFnV033ziZg="; }; nativeBuildInputs = [ diff --git a/nuxt.config.ts b/nuxt.config.ts index 594dc0d..678f030 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -27,6 +27,15 @@ export default defineNuxtConfig({ classSuffix: "", }, compatibilityDate: "2024-11-05", + sourcemap: { + server: true, + client: true, + }, + fonts: { + families: [ + { name: "Inter", provider: "local", weights: [400, 500, 600, 700, 800], styles: ["normal", "italic"], display: "swap" }, + ], + }, pwa: { manifest: { name: "Versia", diff --git a/package.json b/package.json index 3be4cbd..5af60b5 100644 --- a/package.json +++ b/package.json @@ -88,6 +88,8 @@ "@iconify-json/twemoji": "^1.2.2", "@iconify/utils": "^2.3.0", "@inlang/paraglide-js": "2.0.11", + "@inlang/plugin-m-function-matcher": "^2.0.9", + "@inlang/plugin-message-format": "^4.0.0", "@tailwindcss/forms": "^0.5.10", "@types/html-to-text": "^9.0.4", "typescript": "^5.8.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index be678fc..16a4d66 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -171,6 +171,12 @@ importers: '@inlang/paraglide-js': specifier: 2.0.11 version: 2.0.11 + '@inlang/plugin-m-function-matcher': + specifier: ^2.0.9 + version: 2.0.9 + '@inlang/plugin-message-format': + specifier: ^4.0.0 + version: 4.0.0 '@tailwindcss/forms': specifier: ^0.5.10 version: 0.5.10(tailwindcss@4.1.4) @@ -965,6 +971,12 @@ packages: resolution: {integrity: sha512-aR3vq/Q8wdXIaTHVujTZ+9NGlN+7OwVLVCiJBbhSo4Io9swR3iToAKgGeBk3GV8PJxiVqf/JwC5s4MLjZNcNJg==} hasBin: true + '@inlang/plugin-m-function-matcher@2.0.9': + resolution: {integrity: sha512-BlQstNVOnVpmetDBD/sOR0ElBP+RJLUmZL0gjaH4UOYqu/KlUWaDyh7cBt751Bx+QCVB3t9gov6FLkNgpYvY0w==} + + '@inlang/plugin-message-format@4.0.0': + resolution: {integrity: sha512-zNpLxLTt+bDd3JLXj1ONzo+Q6AOzz2MfcgGo8XB6/bweGhFIndK3GU/q0iU4o7VI4KS1+OHNLpKwFcrAifwERQ==} + '@inlang/recommend-sherlock@0.2.1': resolution: {integrity: sha512-ckv8HvHy/iTqaVAEKrr+gnl+p3XFNwe5D2+6w6wJk2ORV2XkcRkKOJ/XsTUJbPSiyi4PI+p+T3bqbmNx/rDUlg==} @@ -2805,6 +2817,11 @@ packages: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} + flat@6.0.1: + resolution: {integrity: sha512-/3FfIa8mbrg3xE7+wAhWeV+bd7L2Mof+xtZb5dRDKZ+wDvYJK4WDYeIOuOhre5Yv5aQObZrlbRmk3RTSiuQBtw==} + engines: {node: '>=18'} + hasBin: true + fontaine@0.5.0: resolution: {integrity: sha512-vPDSWKhVAfTx4hRKT777+N6Szh2pAosAuzLpbppZ6O3UdD/1m6OlHjNcC3vIbgkRTIcLjzySLHXzPeLO2rE8cA==} @@ -6030,6 +6047,16 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros + '@inlang/plugin-m-function-matcher@2.0.9': + dependencies: + '@inlang/sdk': 2.4.7 + transitivePeerDependencies: + - babel-plugin-macros + + '@inlang/plugin-message-format@4.0.0': + dependencies: + flat: 6.0.1 + '@inlang/recommend-sherlock@0.2.1': dependencies: comment-json: 4.2.5 @@ -8169,6 +8196,8 @@ snapshots: dependencies: to-regex-range: 5.0.1 + flat@6.0.1: {} + fontaine@0.5.0: dependencies: '@capsizecss/metrics': 2.2.0 diff --git a/project.inlang/settings.json b/project.inlang/settings.json index 4cfe1b2..e7cd96e 100644 --- a/project.inlang/settings.json +++ b/project.inlang/settings.json @@ -3,11 +3,8 @@ "baseLocale": "en", "locales": ["en", "fr", "en-pt"], "modules": [ - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" + "./node_modules/@inlang/plugin-message-format/dist/index.js", + "./node_modules/@inlang/plugin-m-function-matcher/dist/index.js" ], "plugin.inlang.messageFormat": { "pathPattern": "./messages/{locale}.json" diff --git a/public/fonts/inter-400-italic.ttf b/public/fonts/inter-400-italic.ttf new file mode 100644 index 0000000..14d3595 Binary files /dev/null and b/public/fonts/inter-400-italic.ttf differ diff --git a/public/fonts/inter-400.ttf b/public/fonts/inter-400.ttf new file mode 100644 index 0000000..ce097c8 Binary files /dev/null and b/public/fonts/inter-400.ttf differ diff --git a/public/fonts/inter-500-italic.ttf b/public/fonts/inter-500-italic.ttf new file mode 100644 index 0000000..5c8c8b1 Binary files /dev/null and b/public/fonts/inter-500-italic.ttf differ diff --git a/public/fonts/inter-500.ttf b/public/fonts/inter-500.ttf new file mode 100644 index 0000000..71d9017 Binary files /dev/null and b/public/fonts/inter-500.ttf differ diff --git a/public/fonts/inter-600-italic.ttf b/public/fonts/inter-600-italic.ttf new file mode 100644 index 0000000..d9c9896 Binary files /dev/null and b/public/fonts/inter-600-italic.ttf differ diff --git a/public/fonts/inter-600.ttf b/public/fonts/inter-600.ttf new file mode 100644 index 0000000..053185e Binary files /dev/null and b/public/fonts/inter-600.ttf differ diff --git a/public/fonts/inter-700-italic.ttf b/public/fonts/inter-700-italic.ttf new file mode 100644 index 0000000..0d19c1a Binary files /dev/null and b/public/fonts/inter-700-italic.ttf differ diff --git a/public/fonts/inter-700.ttf b/public/fonts/inter-700.ttf new file mode 100644 index 0000000..cd13f60 Binary files /dev/null and b/public/fonts/inter-700.ttf differ diff --git a/public/fonts/inter-800-italic.ttf b/public/fonts/inter-800-italic.ttf new file mode 100644 index 0000000..df45062 Binary files /dev/null and b/public/fonts/inter-800-italic.ttf differ diff --git a/public/fonts/inter-800.ttf b/public/fonts/inter-800.ttf new file mode 100644 index 0000000..e71c601 Binary files /dev/null and b/public/fonts/inter-800.ttf differ