@strapi/plugin-documentation 4.15.0 → 4.15.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/admin/src/index.js +3 -9
- package/package.json +4 -4
package/admin/src/index.js
CHANGED
|
@@ -25,9 +25,7 @@ export default {
|
|
|
25
25
|
},
|
|
26
26
|
permissions: PERMISSIONS.main,
|
|
27
27
|
async Component() {
|
|
28
|
-
const component = await import(
|
|
29
|
-
/* webpackChunkName: "documentation-page" */ './pages/PluginPage'
|
|
30
|
-
);
|
|
28
|
+
const component = await import('./pages/PluginPage');
|
|
31
29
|
|
|
32
30
|
return component;
|
|
33
31
|
},
|
|
@@ -47,9 +45,7 @@ export default {
|
|
|
47
45
|
id: 'documentation',
|
|
48
46
|
to: `/settings/${pluginId}`,
|
|
49
47
|
async Component() {
|
|
50
|
-
const component = await import(
|
|
51
|
-
/* webpackChunkName: "documentation-settings" */ './pages/SettingsPage'
|
|
52
|
-
);
|
|
48
|
+
const component = await import('./pages/SettingsPage');
|
|
53
49
|
|
|
54
50
|
return component;
|
|
55
51
|
},
|
|
@@ -59,9 +55,7 @@ export default {
|
|
|
59
55
|
async registerTrads({ locales }) {
|
|
60
56
|
const importedTrads = await Promise.all(
|
|
61
57
|
locales.map((locale) => {
|
|
62
|
-
return import(
|
|
63
|
-
/* webpackChunkName: "documentation-translation-[request]" */ `./translations/${locale}.json`
|
|
64
|
-
)
|
|
58
|
+
return import(`./translations/${locale}.json`)
|
|
65
59
|
.then(({ default: data }) => {
|
|
66
60
|
return {
|
|
67
61
|
data: prefixPluginTranslations(data, pluginId),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-documentation",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.1",
|
|
4
4
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@strapi/design-system": "1.13.0",
|
|
32
|
-
"@strapi/helper-plugin": "4.15.
|
|
32
|
+
"@strapi/helper-plugin": "4.15.1",
|
|
33
33
|
"@strapi/icons": "1.13.0",
|
|
34
|
-
"@strapi/utils": "4.15.
|
|
34
|
+
"@strapi/utils": "4.15.1",
|
|
35
35
|
"bcryptjs": "2.4.3",
|
|
36
36
|
"cheerio": "^1.0.0-rc.12",
|
|
37
37
|
"formik": "2.4.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
|
75
75
|
"kind": "plugin"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "b6c085052f108fcfe47d22972a664dfa85aa0358"
|
|
78
78
|
}
|