**BREAKING CHANGE:** This bumps the **minimum required Next.js** version from 15.0.0 to 15.2.3. This update is necessary due to a critical security vulnerability found in earlier Next.js versions, which requires an exception to our standard semantic versioning process. Additionally, this bumps all templates to the latest Next.js and Payload versions.
96 lines
2.7 KiB
JSON
96 lines
2.7 KiB
JSON
{
|
|
"name": "@payloadcms/translations",
|
|
"version": "3.29.0",
|
|
"homepage": "https://payloadcms.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/payloadcms/payload.git",
|
|
"directory": "packages/translations"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Payload <dev@payloadcms.com> (https://payloadcms.com)",
|
|
"maintainers": [
|
|
{
|
|
"name": "Payload",
|
|
"email": "info@payloadcms.com",
|
|
"url": "https://payloadcms.com"
|
|
}
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./src/exports/index.ts",
|
|
"types": "./src/exports/index.ts",
|
|
"default": "./src/exports/index.ts"
|
|
},
|
|
"./all": {
|
|
"import": "./src/exports/all.ts",
|
|
"types": "./src/exports/all.ts",
|
|
"default": "./src/exports/all.ts"
|
|
},
|
|
"./utilities": {
|
|
"import": "./src/exports/utilities.ts",
|
|
"types": "./src/exports/utilities.ts",
|
|
"default": "./src/exports/utilities.ts"
|
|
},
|
|
"./languages/*": {
|
|
"import": "./src/languages/*.ts",
|
|
"types": "./src/languages/*.ts",
|
|
"default": "./src/languages/*.ts"
|
|
}
|
|
},
|
|
"main": "./src/exports/index.ts",
|
|
"types": "./src/exports/index.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "pnpm build:types && pnpm build:swc",
|
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths",
|
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
"clean": "rimraf -g {dist,*.tsbuildinfo}",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"prepublishOnly": "pnpm clean && pnpm turbo build",
|
|
"translateNewKeys": "node --no-deprecation --import @swc-node/register/esm-register scripts/translateNewKeys/run.ts"
|
|
},
|
|
"dependencies": {
|
|
"date-fns": "4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@payloadcms/eslint-config": "workspace:*",
|
|
"@swc/core": "1.10.12",
|
|
"@types/react": "19.0.12",
|
|
"@types/react-dom": "19.0.4",
|
|
"dotenv": "16.4.7",
|
|
"prettier": "3.5.3",
|
|
"typescript": "5.7.3"
|
|
},
|
|
"publishConfig": {
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/exports/index.js",
|
|
"types": "./dist/exports/index.d.ts",
|
|
"default": "./dist/exports/index.js"
|
|
},
|
|
"./all": {
|
|
"import": "./dist/exports/all.js",
|
|
"types": "./dist/exports/all.d.ts",
|
|
"default": "./dist/exports/all.js"
|
|
},
|
|
"./utilities": {
|
|
"import": "./dist/exports/utilities.js",
|
|
"types": "./dist/exports/utilities.d.ts",
|
|
"default": "./dist/exports/utilities.js"
|
|
},
|
|
"./languages/*": {
|
|
"import": "./dist/languages/*.js",
|
|
"types": "./dist/languages/*.d.ts",
|
|
"default": "./dist/languages/*.js"
|
|
}
|
|
},
|
|
"main": "./dist/exports/index.js",
|
|
"types": "./dist/exports/index.d.ts"
|
|
}
|
|
}
|