build: 🏗️ Make build work entirely offline

Useful for Nix build
This commit is contained in:
Jesse Wierzbinski 2025-04-15 22:50:07 +02:00
parent 5fdf31a717
commit ba0b5bf4ad
No known key found for this signature in database
17 changed files with 54 additions and 7 deletions

View file

@ -80,7 +80,9 @@
"dist/**/*",
".output",
".nuxt",
"paraglide"
"paraglide",
"result",
"project.inlang"
]
}
}

View file

@ -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=="],

View file

@ -17,7 +17,7 @@ in
pnpmDeps = pnpm.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-NFppXHekesdV9Qg81I7fNjLPTvb3vBz7557a1AGlyOI=";
hash = "sha256-h1QdCajYmY37GyByID+Idf0W5+LWXwX7pFnV033ziZg=";
};
nativeBuildInputs = [

View file

@ -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",

View file

@ -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",

View file

@ -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

View file

@ -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"

Binary file not shown.

BIN
public/fonts/inter-400.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
public/fonts/inter-500.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
public/fonts/inter-600.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
public/fonts/inter-700.ttf Normal file

Binary file not shown.

Binary file not shown.

BIN
public/fonts/inter-800.ttf Normal file

Binary file not shown.