feat: add support for hidden labels when diffing Lokalise labels

This commit is contained in:
Michael Zetterberg
2025-05-22 14:00:52 +02:00
parent 14ca1775d8
commit b5b4a61c41
4 changed files with 33 additions and 10 deletions

View File

@@ -4,11 +4,13 @@ import { config } from "dotenv"
config({ path: `${process.cwd()}/.env.local` })
const extractPath = path.resolve(__dirname, "translations")
const filteredExtractPath = path.resolve(__dirname, "translations")
const allExtractPath = path.resolve(__dirname, "translations-all")
async function main() {
const { download } = await import("./lokalise")
await download(extractPath)
await download(filteredExtractPath, false)
await download(allExtractPath, true)
}
main()