@captiveorigins/payload-plugin-polyglot 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,88 @@
1
1
  {
2
2
  "name": "@captiveorigins/payload-plugin-polyglot",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "Keeps all your Payload content translated into every language you have, a little at a time: finds content on its own, translates on publish and in a sweep, remembers every sentence, skips placeholder text, and never overwrites a human-reviewed translation.",
5
+ "keywords": [
6
+ "payload",
7
+ "payload-plugin",
8
+ "payloadcms",
9
+ "i18n",
10
+ "localization",
11
+ "translation",
12
+ "machine-translation",
13
+ "claude"
14
+ ],
15
+ "license": "MIT",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/mgilardi/payload-plugin-polyglot.git"
19
+ },
20
+ "type": "module",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/index.js"
25
+ },
26
+ "./claude": {
27
+ "types": "./dist/claude.d.ts",
28
+ "import": "./dist/claude.js"
29
+ },
30
+ "./rsc": {
31
+ "types": "./dist/rsc/index.d.ts",
32
+ "import": "./dist/rsc/index.js"
33
+ },
34
+ "./client": {
35
+ "types": "./dist/client/index.d.ts",
36
+ "import": "./dist/client/index.js"
37
+ }
38
+ },
39
+ "main": "./dist/index.js",
40
+ "types": "./dist/index.d.ts",
41
+ "files": [
42
+ "dist",
43
+ "README.md",
44
+ "LICENSE"
45
+ ],
46
+ "engines": {
47
+ "node": ">=20.9"
48
+ },
49
+ "scripts": {
50
+ "build": "rm -rf dist && tsc -p tsconfig.build.json",
51
+ "typecheck": "tsc --noEmit",
52
+ "test": "vitest run",
53
+ "prepack": "npm run build",
54
+ "prepublishOnly": "npm run typecheck && npm test"
55
+ },
56
+ "peerDependencies": {
57
+ "@anthropic-ai/sdk": ">=1.0.0",
58
+ "@payloadcms/next": "^3.80.0",
59
+ "@payloadcms/ui": "^3.80.0",
60
+ "next": ">=15",
61
+ "payload": "^3.80.0",
62
+ "react": ">=19"
63
+ },
64
+ "peerDependenciesMeta": {
65
+ "@anthropic-ai/sdk": {
66
+ "optional": true
67
+ },
68
+ "next": {
69
+ "optional": true
70
+ }
71
+ },
72
+ "devDependencies": {
73
+ "@anthropic-ai/sdk": "1.3.0",
74
+ "@payloadcms/db-mongodb": "3.92.1",
75
+ "@payloadcms/next": "3.92.1",
76
+ "@payloadcms/ui": "3.92.1",
77
+ "@types/node": "^24.0.0",
78
+ "@types/react": "^19.3.0",
79
+ "graphql": "^16.14.2",
80
+ "mongodb-memory-server": "^11.3.0",
81
+ "next": "16.3.3",
82
+ "payload": "3.92.1",
83
+ "react": "^19.3.1",
84
+ "react-dom": "^19.3.1",
85
+ "typescript": "^5.9.0",
86
+ "vitest": "^3.2.0"
87
+ }
88
+ }