@localazy/strapi-plugin 1.0.0 → 1.0.3
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/README.md +3 -1
- package/dist/server/index.js +28 -12
- package/dist/server/index.mjs +28 -12
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
_The official Strapi Plugin by Localazy_
|
|
11
11
|
|
|
12
|
-
[](https://www.npmjs.com/package/@localazy/strapi-plugin)
|
|
13
13
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
@@ -65,6 +65,8 @@ localazy: {
|
|
|
65
65
|
*/
|
|
66
66
|
populateDefaultDepth?: number, // default is 5
|
|
67
67
|
populateMaxDepth?: number, // default is 10
|
|
68
|
+
skipCreatorFields?: boolean, // default is false
|
|
69
|
+
enableSocketIO?: boolean, // default is true
|
|
68
70
|
},
|
|
69
71
|
},
|
|
70
72
|
```
|
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.3";
|
|
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",
|
|
@@ -877,7 +885,7 @@ const dependencies = {
|
|
|
877
885
|
const devDependencies = {
|
|
878
886
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
879
887
|
"@localazy/api-client": "^2.1.6",
|
|
880
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
888
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
881
889
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
882
890
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
883
891
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -941,6 +949,9 @@ const _package = {
|
|
|
941
949
|
version: version$1,
|
|
942
950
|
description,
|
|
943
951
|
keywords,
|
|
952
|
+
repository,
|
|
953
|
+
bugs,
|
|
954
|
+
homepage,
|
|
944
955
|
license,
|
|
945
956
|
author,
|
|
946
957
|
type,
|
|
@@ -963,16 +974,19 @@ const _package$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
963
974
|
__proto__: null,
|
|
964
975
|
author,
|
|
965
976
|
bin,
|
|
977
|
+
bugs,
|
|
966
978
|
default: _package,
|
|
967
979
|
dependencies,
|
|
968
980
|
description,
|
|
969
981
|
devDependencies,
|
|
970
982
|
exports: exports$1,
|
|
971
983
|
files,
|
|
984
|
+
homepage,
|
|
972
985
|
keywords,
|
|
973
986
|
license,
|
|
974
987
|
name,
|
|
975
988
|
peerDependencies,
|
|
989
|
+
repository,
|
|
976
990
|
scripts,
|
|
977
991
|
strapi: strapi$1,
|
|
978
992
|
type,
|
|
@@ -21670,17 +21684,19 @@ const bootstrap = ({ strapi: strapi2 }) => {
|
|
|
21670
21684
|
}
|
|
21671
21685
|
}
|
|
21672
21686
|
});
|
|
21673
|
-
|
|
21674
|
-
|
|
21675
|
-
|
|
21676
|
-
|
|
21677
|
-
|
|
21678
|
-
|
|
21679
|
-
|
|
21680
|
-
|
|
21687
|
+
if (strapi2.plugin(PLUGIN_NAME)?.config("enableSocketIO", true)) {
|
|
21688
|
+
process.nextTick(async () => {
|
|
21689
|
+
const io2 = new Server2(strapi2.server.httpServer, {
|
|
21690
|
+
cors: {
|
|
21691
|
+
origin: "*",
|
|
21692
|
+
methods: ["GET", "POST"]
|
|
21693
|
+
},
|
|
21694
|
+
// this must be a constructor
|
|
21695
|
+
wsEngine: require$$8.WebSocketServer
|
|
21696
|
+
});
|
|
21697
|
+
strapi2.StrapIO = io2;
|
|
21681
21698
|
});
|
|
21682
|
-
|
|
21683
|
-
});
|
|
21699
|
+
}
|
|
21684
21700
|
};
|
|
21685
21701
|
const destroy = ({ strapi: strapi2 }) => {
|
|
21686
21702
|
};
|
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.3";
|
|
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",
|
|
@@ -864,7 +872,7 @@ const dependencies = {
|
|
|
864
872
|
const devDependencies = {
|
|
865
873
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
866
874
|
"@localazy/api-client": "^2.1.6",
|
|
867
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
875
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
868
876
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
869
877
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
870
878
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -928,6 +936,9 @@ const _package = {
|
|
|
928
936
|
version: version$1,
|
|
929
937
|
description,
|
|
930
938
|
keywords,
|
|
939
|
+
repository,
|
|
940
|
+
bugs,
|
|
941
|
+
homepage,
|
|
931
942
|
license,
|
|
932
943
|
author,
|
|
933
944
|
type,
|
|
@@ -950,16 +961,19 @@ const _package$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
950
961
|
__proto__: null,
|
|
951
962
|
author,
|
|
952
963
|
bin,
|
|
964
|
+
bugs,
|
|
953
965
|
default: _package,
|
|
954
966
|
dependencies,
|
|
955
967
|
description,
|
|
956
968
|
devDependencies,
|
|
957
969
|
exports: exports$1,
|
|
958
970
|
files,
|
|
971
|
+
homepage,
|
|
959
972
|
keywords,
|
|
960
973
|
license,
|
|
961
974
|
name,
|
|
962
975
|
peerDependencies,
|
|
976
|
+
repository,
|
|
963
977
|
scripts,
|
|
964
978
|
strapi: strapi$1,
|
|
965
979
|
type,
|
|
@@ -21657,17 +21671,19 @@ const bootstrap = ({ strapi: strapi2 }) => {
|
|
|
21657
21671
|
}
|
|
21658
21672
|
}
|
|
21659
21673
|
});
|
|
21660
|
-
|
|
21661
|
-
|
|
21662
|
-
|
|
21663
|
-
|
|
21664
|
-
|
|
21665
|
-
|
|
21666
|
-
|
|
21667
|
-
|
|
21674
|
+
if (strapi2.plugin(PLUGIN_NAME)?.config("enableSocketIO", true)) {
|
|
21675
|
+
process.nextTick(async () => {
|
|
21676
|
+
const io2 = new Server2(strapi2.server.httpServer, {
|
|
21677
|
+
cors: {
|
|
21678
|
+
origin: "*",
|
|
21679
|
+
methods: ["GET", "POST"]
|
|
21680
|
+
},
|
|
21681
|
+
// this must be a constructor
|
|
21682
|
+
wsEngine: WebSocketServer
|
|
21683
|
+
});
|
|
21684
|
+
strapi2.StrapIO = io2;
|
|
21668
21685
|
});
|
|
21669
|
-
|
|
21670
|
-
});
|
|
21686
|
+
}
|
|
21671
21687
|
};
|
|
21672
21688
|
const destroy = ({ strapi: strapi2 }) => {
|
|
21673
21689
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localazy/strapi-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
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",
|
|
@@ -72,7 +80,7 @@
|
|
|
72
80
|
"devDependencies": {
|
|
73
81
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
74
82
|
"@localazy/api-client": "^2.1.6",
|
|
75
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
83
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
76
84
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
77
85
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
78
86
|
"@strapi/icons": "^2.0.0-rc.14",
|