Files
payload/tools/scripts/package.json
Paul 3127d6ad6d fix(plugin-import-export): add translations for all UI elements and fields (#12449)
Converts all text and field labels into variables that can be
translated. Also generated the translations for them

So now the UI here is internationalised


![image](https://github.com/user-attachments/assets/40d7c010-ac58-4cd7-8786-01b3de3cabb7)

I've also moved some of the generic labels into the core package since
those could be re-used elsewhere
2025-05-19 13:19:55 -07:00

48 lines
1.9 KiB
JSON

{
"name": "@tools/scripts",
"version": "0.0.1",
"description": "Shared scripts for Payload internal tooling",
"keywords": [],
"license": "MIT",
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
"type": "module",
"exports": {
".": {
"import": "./src/index.ts"
}
},
"main": "src/index.ts",
"scripts": {
"build": "tsc --project tsconfig.build.json",
"build-template-with-local-pkgs": "pnpm runts src/build-template-with-local-pkgs.ts",
"gen-templates": "pnpm runts src/generate-template-variations.ts",
"generateTranslations:core": "node --no-deprecation --import @swc-node/register/esm-register src/generateTranslations/core.ts",
"generateTranslations:plugin-import-export": "node --no-deprecation --import @swc-node/register/esm-register src/generateTranslations/plugin-import-export.ts",
"generateTranslations:plugin-multi-tenant": "node --no-deprecation --import @swc-node/register/esm-register src/generateTranslations/plugin-multi-tenant.ts",
"license-check": "pnpm runts src/license-check.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"pack-all-to-dest": "pnpm runts src/pack-all-to-dest.ts",
"runts": "cross-env NODE_OPTIONS=--no-deprecation node --no-deprecation --import @swc-node/register/esm-register",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@swc-node/register": "1.10.9",
"@tools/constants": "workspace:*",
"@tools/releaser": "workspace:*",
"chalk": "^4.1.2",
"changelogen": "^0.5.5",
"create-payload-app": "workspace:*",
"csv-stringify": "^6.5.2",
"license-checker": "25.0.1",
"open": "^10.1.0",
"payload": "workspace:*"
},
"devDependencies": {
"@payloadcms/plugin-import-export": "workspace:*",
"@payloadcms/plugin-multi-tenant": "workspace:*",
"@payloadcms/richtext-lexical": "workspace:*",
"@payloadcms/translations": "workspace:*"
}
}