feature/build #1

Open
Tobi wants to merge 43 commits from feature/build into develop
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 9f66da7904 - Show all commits

View File

@@ -11,8 +11,8 @@
"check": "./node_modules/@sveltejs/kit/svelte-kit.js sync && ./node_modules/svelte-check/bin/svelte-check --tsconfig ./tsconfig.json",
"check:watch": "./node_modules/@sveltejs/kit/svelte-kit.js sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"format:check": "prettier --check",
"lint:check": "oxlint ."
"format:check": "./node_modules/prettier/bin/prettier.cjs . --check",
"lint:check": "./node_modules/oxlint/bin/oxlint ."
},
"devDependencies": {
"@eslint/compat": "^1.4.0",

View File

@@ -73,6 +73,10 @@ class LanguageService {
url.searchParams.append('languages', lang)
}
if (!env.TOLGEE_API_KEY) {
throw new Error('TOLGEE_API_KEY not set')
}
const response = await fetch(url, {
method: 'GET',
headers: {