Registry-Entscheidung evidenzbasiert: das Package ist pnpm-Dependency von ThreadNet-Webs apps/web, der Lockfile pinnt die Tarball-URL auf rohana - Registry bleibt dort. Publish-Auth ueber CI-Variable GITEA_NPM_TOKEN statt lokaler Klartext-.npmrc. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
534 B
TypeScript
21 lines
534 B
TypeScript
import { defineConfig } from "i18next-cli";
|
|
|
|
export default defineConfig({
|
|
locales: ["en"],
|
|
extract: {
|
|
input: ["src/**/*.{ts,tsx}"],
|
|
output: "locales/{{language}}/{{namespace}}.json",
|
|
defaultNS: "app",
|
|
keySeparator: ".",
|
|
nsSeparator: false,
|
|
contextSeparator: "|",
|
|
extractFromComments: false,
|
|
functions: ["t", "*.t", "translatedError", "i18nKey"],
|
|
transComponents: ["Trans"],
|
|
},
|
|
types: {
|
|
input: ["locales/{{language}}/{{namespace}}.json"],
|
|
output: "src/types/i18next.d.ts",
|
|
},
|
|
});
|