agama/web/tsconfig.json
Ladislav Slezák 8cf36f0975
Do not use Cockpit manifest for storing supported languages (#1121)
## Problem

- Continue with dropping the Cockpit dependency

## Solution

- Do not use the Cockpit manifest for storing the list of supported
languages
- Use a separate `languages.json` file instead of the `manifest.json`
- Import the JSON file directly into the JS code
- The workflow is not changed, the update script just generates a
different file
- The change is backward compatible, works with both Cockpit and the new
server

## Testing

- Updated unit tests
- Tested manually, the language selection still works fine
2024-03-27 14:26:20 +01:00

27 lines
509 B
JSON

{
"compilerOptions": {
"baseUrl": "./",
"isolatedModules": true,
"noEmit": true,
"target": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"allowJs": true,
"jsx": "react",
"allowSyntheticDefaultImports": true,
"paths": {
"~/*": [
"src/*"
],
"~/client": [
"src/client/index.js"
],
"@icons/*": [
"node_modules/@material-symbols/svg-400/outlined/*"
]
}
},
"include": [
"src"
]
}