@payload-enchants/translator 1.3.0-pre.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -0
- package/dist/client/api/index.js.map +1 -1
- package/dist/client/components/CustomButton/CustomButtonWithTranslator.d.ts.map +1 -1
- package/dist/client/components/CustomButton/CustomButtonWithTranslator.js +2 -4
- package/dist/client/components/CustomButton/CustomButtonWithTranslator.js.map +1 -1
- package/dist/client/components/CustomButton/index.d.ts +2 -2
- package/dist/client/components/CustomButton/index.d.ts.map +1 -1
- package/dist/client/components/CustomButton/index.js +2 -2
- package/dist/client/components/CustomButton/index.js.map +1 -1
- package/dist/client/components/LocaleLabel/LocaleLabel.js.map +1 -1
- package/dist/client/components/ResolverButton/ResolverButton.js +0 -1
- package/dist/client/components/ResolverButton/ResolverButton.js.map +1 -1
- package/dist/client/components/TranslatorModal/TranslatorModal.d.ts.map +1 -1
- package/dist/client/components/TranslatorModal/TranslatorModal.js +2 -3
- package/dist/client/components/TranslatorModal/TranslatorModal.js.map +1 -1
- package/dist/client/providers/Translator/TranslatorProvider.d.ts.map +1 -1
- package/dist/client/providers/Translator/TranslatorProvider.js +24 -18
- package/dist/client/providers/Translator/TranslatorProvider.js.map +1 -1
- package/dist/i18n-translations.d.ts +18 -0
- package/dist/i18n-translations.d.ts.map +1 -1
- package/dist/i18n-translations.js +18 -0
- package/dist/i18n-translations.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/resolvers/google.js +1 -1
- package/dist/resolvers/google.js.map +1 -1
- package/dist/resolvers/libreTranslate.d.ts +16 -0
- package/dist/resolvers/libreTranslate.d.ts.map +1 -0
- package/dist/resolvers/libreTranslate.js +48 -0
- package/dist/resolvers/libreTranslate.js.map +1 -0
- package/dist/resolvers/openAI.d.ts +2 -2
- package/dist/resolvers/openAI.d.ts.map +1 -1
- package/dist/resolvers/openAI.js +10 -10
- package/dist/resolvers/openAI.js.map +1 -1
- package/dist/translate/findEntityWithConfig.d.ts.map +1 -1
- package/dist/translate/findEntityWithConfig.js +4 -4
- package/dist/translate/findEntityWithConfig.js.map +1 -1
- package/dist/translate/operation.d.ts.map +1 -1
- package/dist/translate/operation.js +3 -1
- package/dist/translate/operation.js.map +1 -1
- package/dist/translate/traverseFields.d.ts.map +1 -1
- package/dist/translate/traverseFields.js +94 -86
- package/dist/translate/traverseFields.js.map +1 -1
- package/dist/translate/traverseRichText.js +3 -3
- package/dist/translate/traverseRichText.js.map +1 -1
- package/dist/translate/updateEntity.d.ts.map +1 -1
- package/dist/translate/updateEntity.js +2 -2
- package/dist/translate/updateEntity.js.map +1 -1
- package/package.json +12 -13
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@payload-enchants/translator",
|
3
|
-
"version": "1.3.0
|
3
|
+
"version": "1.3.0",
|
4
4
|
"private": false,
|
5
5
|
"bugs": "https://github.com/r1tsuu/payload-enchants/issues",
|
6
6
|
"repository": "https://github.com/r1tsuu/payload-enchants",
|
@@ -48,22 +48,21 @@
|
|
48
48
|
"dist"
|
49
49
|
],
|
50
50
|
"dependencies": {
|
51
|
-
"bson-objectid": "^2.0.4"
|
51
|
+
"bson-objectid": "^2.0.4",
|
52
|
+
"he": "^1.2.0"
|
52
53
|
},
|
53
54
|
"devDependencies": {
|
54
|
-
"@
|
55
|
-
"@
|
56
|
-
"@types/react": "npm:types-react@19.0.0-
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"react-dom": "19.0.0-rc-06d0b89e-20240801",
|
61
|
-
"typescript": "^5.5.2"
|
55
|
+
"@types/he": "^1.2.3",
|
56
|
+
"@types/react": "npm:types-react@19.0.0-rc.1",
|
57
|
+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
|
58
|
+
"react": "19.0.0-rc-66855b96-20241106",
|
59
|
+
"react-dom": "19.0.0-rc-66855b96-20241106",
|
60
|
+
"typescript": "5.7.2"
|
62
61
|
},
|
63
62
|
"peerDependencies": {
|
64
|
-
"@payloadcms/translations": "^3.
|
65
|
-
"@payloadcms/ui": "^3.
|
66
|
-
"payload": "^3.
|
63
|
+
"@payloadcms/translations": "^3.1.0",
|
64
|
+
"@payloadcms/ui": "^3.1.0",
|
65
|
+
"payload": "^3.1.0"
|
67
66
|
},
|
68
67
|
"publishConfig": {
|
69
68
|
"registry": "https://registry.npmjs.org/"
|