@localazy/strapi-plugin 1.0.0-beta.5 → 1.0.1
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/LICENSE +21 -0
- package/README.md +32 -10
- package/dist/server/index.js +23 -2
- package/dist/server/index.mjs +23 -2
- package/package.json +17 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-present, Localazy s.r.o.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
[<img src="https://localazy.com/directus9/assets/9fc36b9c-81b7-4dbf-bd82-b64cd984090f" width="285" height="50" alt="Localazy" >](https://localazy.com)
|
|
4
|
+
|
|
5
|
+
### 📦 `@localazy/strapi-plugin`
|
|
6
|
+
|
|
7
|
+
[**Documentation**](https://localazy.com/docs/strapi/strapi-plugin-introduction-installation) |
|
|
8
|
+
[**Blog Articles**](https://localazy.com/tags/strapi)
|
|
9
|
+
|
|
10
|
+
_The official Strapi Plugin by Localazy_
|
|
11
|
+
|
|
12
|
+
[](https://www.npmjs.com/package/@localazy/strapi-plugin)
|
|
13
|
+
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
## 🚀 Quick Start
|
|
17
|
+
|
|
18
|
+
This is a README for Strapi v5. For Strapi v4, please refer to the [Strapi v4 README](https://github.com/localazy/strapi-plugin/tree/strapi-v4#readme) file.
|
|
2
19
|
|
|
3
20
|
```
|
|
4
21
|
npm install @localazy/strapi-plugin@latest && npx @localazy/strapi-plugin
|
|
5
22
|
```
|
|
6
23
|
|
|
7
|
-
## The Official Strapi Localization Plugin by Localazy
|
|
24
|
+
## ✨ The Official Strapi Localization Plugin by Localazy
|
|
8
25
|
|
|
9
26
|
Strapi localization doesn't have to be a headache! Install the Strapi localization plugin and seamlessly translate your content into multiple languages with [Localazy](https://localazy.com).
|
|
10
27
|
|
|
@@ -16,7 +33,7 @@ Strapi localization doesn't have to be a headache! Install the Strapi localizati
|
|
|
16
33
|
|
|
17
34
|
📰 Learn more in the [Strapi + Localazy tutorial](https://localazy.com/blog/how-to-strapi-localization-with-localazy#getting-started-with-strapi-localization).
|
|
18
35
|
|
|
19
|
-
## Installation & Setup
|
|
36
|
+
## 🔧 Installation & Setup
|
|
20
37
|
|
|
21
38
|
The plugin is available on [NPM](https://www.npmjs.com/package/@localazy/strapi-plugin).
|
|
22
39
|
You can also follow the installation commands located in your Strapi project Marketplace or [Strapi Marketplace > Localazy](https://market.strapi.io/plugins/@localazy-strapi-plugin) itself. This is the recommended approach.
|
|
@@ -35,7 +52,7 @@ Due to the changes in Strapi core code it's also necessary to add an environment
|
|
|
35
52
|
STRAPI_ADMIN_LOCALAZY_ENV=
|
|
36
53
|
```
|
|
37
54
|
|
|
38
|
-
## Configuration
|
|
55
|
+
## ⚙️ Configuration
|
|
39
56
|
|
|
40
57
|
Additional configuration object may be provided in the `plugins.js` file. The following options are available:
|
|
41
58
|
|
|
@@ -52,12 +69,17 @@ localazy: {
|
|
|
52
69
|
},
|
|
53
70
|
```
|
|
54
71
|
|
|
55
|
-
##
|
|
72
|
+
## 🛟 Support
|
|
73
|
+
|
|
74
|
+
If you encounter any issues or have questions, feel free to contact us through whichever channel suits you best:
|
|
75
|
+
|
|
76
|
+
- [Intercom chat](https://localazy.com)
|
|
77
|
+
- [GitHub issues](https://github.com/localazy/strapi-plugin/issues)
|
|
78
|
+
- [Discussion forum](https://discuss.localazy.com/)
|
|
79
|
+
- [team@localazy.com](mailto:team@localazy.com)
|
|
56
80
|
|
|
57
|
-
|
|
58
|
-
- Localazy Blog: [Articles about the Strapi plugin](https://localazy.com/tags/strapi)
|
|
81
|
+
## 📜 License
|
|
59
82
|
|
|
60
|
-
|
|
83
|
+
This project is licensed under the MIT License.
|
|
61
84
|
|
|
62
|
-
|
|
63
|
-
- Join the [Localazy Discussion Forum](https://discuss.localazy.com/) to discuss all things localization.
|
|
85
|
+
See [LICENSE](LICENSE) for details.
|
package/dist/server/index.js
CHANGED
|
@@ -811,7 +811,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
811
811
|
baseMerge(object, source, srcIndex);
|
|
812
812
|
});
|
|
813
813
|
const name = "@localazy/strapi-plugin";
|
|
814
|
-
const version$1 = "1.0.
|
|
814
|
+
const version$1 = "1.0.1";
|
|
815
815
|
const description = "The official Strapi Plugin by Localazy.";
|
|
816
816
|
const keywords = [
|
|
817
817
|
"strapi",
|
|
@@ -824,6 +824,14 @@ const keywords = [
|
|
|
824
824
|
"cms",
|
|
825
825
|
"l10n"
|
|
826
826
|
];
|
|
827
|
+
const repository = {
|
|
828
|
+
type: "git",
|
|
829
|
+
url: "git+https://github.com/localazy/strapi-plugin"
|
|
830
|
+
};
|
|
831
|
+
const bugs = {
|
|
832
|
+
url: "https://github.com/localazy/strapi-plugin/issues"
|
|
833
|
+
};
|
|
834
|
+
const homepage = "https://github.com/localazy/strapi-plugin#readme";
|
|
827
835
|
const license = "MIT";
|
|
828
836
|
const author = {
|
|
829
837
|
name: "Localazy",
|
|
@@ -848,7 +856,9 @@ const exports$1 = {
|
|
|
848
856
|
"default": "./dist/server/index.js"
|
|
849
857
|
}
|
|
850
858
|
};
|
|
851
|
-
const bin =
|
|
859
|
+
const bin = {
|
|
860
|
+
"strapi-plugin": "install/index.mjs"
|
|
861
|
+
};
|
|
852
862
|
const files = [
|
|
853
863
|
"dist",
|
|
854
864
|
"install"
|
|
@@ -875,6 +885,7 @@ const dependencies = {
|
|
|
875
885
|
const devDependencies = {
|
|
876
886
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
877
887
|
"@localazy/api-client": "^2.1.6",
|
|
888
|
+
"@localazy/conventional-changelog-preset": "^1.2.9",
|
|
878
889
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
879
890
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
880
891
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -888,6 +899,10 @@ const devDependencies = {
|
|
|
888
899
|
"@typescript-eslint/parser": "^8.21.0",
|
|
889
900
|
axios: "^1.7.9",
|
|
890
901
|
chalk: "^5.4.1",
|
|
902
|
+
"conventional-changelog": "^5.1.0",
|
|
903
|
+
"conventional-changelog-cli": "^4.1.0",
|
|
904
|
+
"conventional-changelog-writer": "github:localazy/conventional-changelog-writer",
|
|
905
|
+
"conventional-recommended-bump": "^9.0.0",
|
|
891
906
|
eslint: "^9.18.0",
|
|
892
907
|
"eslint-config-prettier": "^10.0.1",
|
|
893
908
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -934,6 +949,9 @@ const _package = {
|
|
|
934
949
|
version: version$1,
|
|
935
950
|
description,
|
|
936
951
|
keywords,
|
|
952
|
+
repository,
|
|
953
|
+
bugs,
|
|
954
|
+
homepage,
|
|
937
955
|
license,
|
|
938
956
|
author,
|
|
939
957
|
type,
|
|
@@ -956,16 +974,19 @@ const _package$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
956
974
|
__proto__: null,
|
|
957
975
|
author,
|
|
958
976
|
bin,
|
|
977
|
+
bugs,
|
|
959
978
|
default: _package,
|
|
960
979
|
dependencies,
|
|
961
980
|
description,
|
|
962
981
|
devDependencies,
|
|
963
982
|
exports: exports$1,
|
|
964
983
|
files,
|
|
984
|
+
homepage,
|
|
965
985
|
keywords,
|
|
966
986
|
license,
|
|
967
987
|
name,
|
|
968
988
|
peerDependencies,
|
|
989
|
+
repository,
|
|
969
990
|
scripts,
|
|
970
991
|
strapi: strapi$1,
|
|
971
992
|
type,
|
package/dist/server/index.mjs
CHANGED
|
@@ -798,7 +798,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
798
798
|
baseMerge(object, source, srcIndex);
|
|
799
799
|
});
|
|
800
800
|
const name = "@localazy/strapi-plugin";
|
|
801
|
-
const version$1 = "1.0.
|
|
801
|
+
const version$1 = "1.0.1";
|
|
802
802
|
const description = "The official Strapi Plugin by Localazy.";
|
|
803
803
|
const keywords = [
|
|
804
804
|
"strapi",
|
|
@@ -811,6 +811,14 @@ const keywords = [
|
|
|
811
811
|
"cms",
|
|
812
812
|
"l10n"
|
|
813
813
|
];
|
|
814
|
+
const repository = {
|
|
815
|
+
type: "git",
|
|
816
|
+
url: "git+https://github.com/localazy/strapi-plugin"
|
|
817
|
+
};
|
|
818
|
+
const bugs = {
|
|
819
|
+
url: "https://github.com/localazy/strapi-plugin/issues"
|
|
820
|
+
};
|
|
821
|
+
const homepage = "https://github.com/localazy/strapi-plugin#readme";
|
|
814
822
|
const license = "MIT";
|
|
815
823
|
const author = {
|
|
816
824
|
name: "Localazy",
|
|
@@ -835,7 +843,9 @@ const exports$1 = {
|
|
|
835
843
|
"default": "./dist/server/index.js"
|
|
836
844
|
}
|
|
837
845
|
};
|
|
838
|
-
const bin =
|
|
846
|
+
const bin = {
|
|
847
|
+
"strapi-plugin": "install/index.mjs"
|
|
848
|
+
};
|
|
839
849
|
const files = [
|
|
840
850
|
"dist",
|
|
841
851
|
"install"
|
|
@@ -862,6 +872,7 @@ const dependencies = {
|
|
|
862
872
|
const devDependencies = {
|
|
863
873
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
864
874
|
"@localazy/api-client": "^2.1.6",
|
|
875
|
+
"@localazy/conventional-changelog-preset": "^1.2.9",
|
|
865
876
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
866
877
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
867
878
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -875,6 +886,10 @@ const devDependencies = {
|
|
|
875
886
|
"@typescript-eslint/parser": "^8.21.0",
|
|
876
887
|
axios: "^1.7.9",
|
|
877
888
|
chalk: "^5.4.1",
|
|
889
|
+
"conventional-changelog": "^5.1.0",
|
|
890
|
+
"conventional-changelog-cli": "^4.1.0",
|
|
891
|
+
"conventional-changelog-writer": "github:localazy/conventional-changelog-writer",
|
|
892
|
+
"conventional-recommended-bump": "^9.0.0",
|
|
878
893
|
eslint: "^9.18.0",
|
|
879
894
|
"eslint-config-prettier": "^10.0.1",
|
|
880
895
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -921,6 +936,9 @@ const _package = {
|
|
|
921
936
|
version: version$1,
|
|
922
937
|
description,
|
|
923
938
|
keywords,
|
|
939
|
+
repository,
|
|
940
|
+
bugs,
|
|
941
|
+
homepage,
|
|
924
942
|
license,
|
|
925
943
|
author,
|
|
926
944
|
type,
|
|
@@ -943,16 +961,19 @@ const _package$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
943
961
|
__proto__: null,
|
|
944
962
|
author,
|
|
945
963
|
bin,
|
|
964
|
+
bugs,
|
|
946
965
|
default: _package,
|
|
947
966
|
dependencies,
|
|
948
967
|
description,
|
|
949
968
|
devDependencies,
|
|
950
969
|
exports: exports$1,
|
|
951
970
|
files,
|
|
971
|
+
homepage,
|
|
952
972
|
keywords,
|
|
953
973
|
license,
|
|
954
974
|
name,
|
|
955
975
|
peerDependencies,
|
|
976
|
+
repository,
|
|
956
977
|
scripts,
|
|
957
978
|
strapi: strapi$1,
|
|
958
979
|
type,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localazy/strapi-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "The official Strapi Plugin by Localazy.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
"cms",
|
|
14
14
|
"l10n"
|
|
15
15
|
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/localazy/strapi-plugin"
|
|
19
|
+
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/localazy/strapi-plugin/issues"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/localazy/strapi-plugin#readme",
|
|
16
24
|
"license": "MIT",
|
|
17
25
|
"author": {
|
|
18
26
|
"name": "Localazy",
|
|
@@ -37,7 +45,9 @@
|
|
|
37
45
|
"default": "./dist/server/index.js"
|
|
38
46
|
}
|
|
39
47
|
},
|
|
40
|
-
"bin":
|
|
48
|
+
"bin": {
|
|
49
|
+
"strapi-plugin": "install/index.mjs"
|
|
50
|
+
},
|
|
41
51
|
"files": [
|
|
42
52
|
"dist",
|
|
43
53
|
"install"
|
|
@@ -70,6 +80,7 @@
|
|
|
70
80
|
"devDependencies": {
|
|
71
81
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
72
82
|
"@localazy/api-client": "^2.1.6",
|
|
83
|
+
"@localazy/conventional-changelog-preset": "^1.2.9",
|
|
73
84
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
74
85
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
75
86
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -83,6 +94,10 @@
|
|
|
83
94
|
"@typescript-eslint/parser": "^8.21.0",
|
|
84
95
|
"axios": "^1.7.9",
|
|
85
96
|
"chalk": "^5.4.1",
|
|
97
|
+
"conventional-changelog": "^5.1.0",
|
|
98
|
+
"conventional-changelog-cli": "^4.1.0",
|
|
99
|
+
"conventional-changelog-writer": "github:localazy/conventional-changelog-writer",
|
|
100
|
+
"conventional-recommended-bump": "^9.0.0",
|
|
86
101
|
"eslint": "^9.18.0",
|
|
87
102
|
"eslint-config-prettier": "^10.0.1",
|
|
88
103
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|