Introduces a Google Translate integration with a new service module and endpoint (/google), refactors translation handling to support both DeepL and Google providers, and updates cache key generation to include the provider. Adds integration and unit tests for the new provider and updates API route definitions for clarity and extensibility.
17 lines
447 B
JSON
17 lines
447 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowImportingTsExtensions": true,
|
|
"lib": ["ES2020", "WebWorker"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"noEmit": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "ES2020",
|
|
"types": ["jest", "@cloudflare/workers-types"]
|
|
},
|
|
"exclude": ["node_modules", "dist"],
|
|
"include": ["src/**/*", "tests/**/*", "worker-configuration.d.ts"]
|
|
}
|