feat(SW-706): add Lokalise tooling and codemod

This commit is contained in:
Michael Zetterberg
2025-03-12 07:02:49 +01:00
parent 1c5b116ed8
commit e22fc1f3c8
26 changed files with 1478 additions and 130 deletions

View File

@@ -0,0 +1,13 @@
// Run the lokalise.ts through Jiti
import { fileURLToPath } from "node:url"
import createJiti from "jiti"
const lokalise = createJiti(fileURLToPath(import.meta.url))("./lokalise.ts")
lokalise.codemod([
"**/*.{ts,tsx}",
"!**/codemods/lokalise/**", // ignore itself
"!**/node_modules/**", // ignore node_modules
])