@strapi/plugin-cloud 5.43.0 → 5.45.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/dist/admin/index.js +5 -4
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/index.mjs +5 -4
- package/dist/admin/index.mjs.map +1 -1
- package/dist/admin/src/index.d.ts +2 -1
- package/dist/admin/translations/cs.json.js +26 -0
- package/dist/admin/translations/cs.json.js.map +1 -0
- package/dist/admin/translations/cs.json.mjs +24 -0
- package/dist/admin/translations/cs.json.mjs.map +1 -0
- package/package.json +6 -6
package/dist/admin/index.js
CHANGED
|
@@ -9,6 +9,7 @@ function _interopNamespaceDefaultOnly (e) { return Object.freeze({ __proto__: nu
|
|
|
9
9
|
|
|
10
10
|
function __variableDynamicImportRuntime1__(path) {
|
|
11
11
|
switch (path) {
|
|
12
|
+
case './translations/cs.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/cs.json.js')); });
|
|
12
13
|
case './translations/en.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/en.json.js')); });
|
|
13
14
|
case './translations/es.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/es.json.js')); });
|
|
14
15
|
case './translations/fr.json': return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('./translations/fr.json.js')); });
|
|
@@ -37,10 +38,10 @@ var index = {
|
|
|
37
38
|
id: `${pluginId.pluginId}.Plugin.name`,
|
|
38
39
|
defaultMessage: pluginName
|
|
39
40
|
},
|
|
40
|
-
Component:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
Component: ()=>Promise.resolve().then(function () { return require('./pages/App.js'); }).then((mod)=>({
|
|
42
|
+
default: mod.App
|
|
43
|
+
})),
|
|
44
|
+
permissions: []
|
|
44
45
|
});
|
|
45
46
|
const plugin = {
|
|
46
47
|
id: pluginId.pluginId,
|
package/dist/admin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../admin/src/index.ts"],"sourcesContent":["/* eslint-disable check-file/filename-naming-convention */\n\nimport { Cloud } from '@strapi/icons';\n\nimport { Initializer } from './components/Initializer';\nimport { pluginId } from './pluginId';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nconst pluginName = 'Deploy';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n register(app:
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../admin/src/index.ts"],"sourcesContent":["/* eslint-disable check-file/filename-naming-convention */\n\nimport { Cloud } from '@strapi/icons';\n\nimport { Initializer } from './components/Initializer';\nimport { pluginId } from './pluginId';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nimport type { StrapiApp } from '@strapi/admin/strapi-admin';\n\nconst pluginName = 'Deploy';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n register(app: StrapiApp) {\n const { backendURL } = window.strapi;\n\n // Only add the plugin menu link and registering it if the project is on development (localhost).\n if (backendURL?.includes('localhost')) {\n app.addMenuLink({\n to: `plugins/${pluginId}`,\n icon: Cloud,\n intlLabel: {\n id: `${pluginId}.Plugin.name`,\n defaultMessage: pluginName,\n },\n Component: () => import('./pages/App').then((mod) => ({ default: mod.App })),\n permissions: [],\n });\n const plugin = {\n id: pluginId,\n initializer: Initializer,\n isReady: false,\n name: pluginName,\n };\n\n app.registerPlugin(plugin);\n }\n },\n\n async registerTrads(app: any) {\n const { locales } = app;\n\n const importedTrads = await Promise.all(\n (locales as any[]).map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":["pluginName","register","app","backendURL","window","strapi","includes","addMenuLink","to","pluginId","icon","Cloud","intlLabel","id","defaultMessage","Component","then","mod","default","App","permissions","plugin","initializer","Initializer","isReady","name","registerPlugin","registerTrads","locales","importedTrads","Promise","all","map","locale","data","prefixPluginTranslations","catch","resolve"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,MAAMA,UAAAA,GAAa,QAAA;AAEnB;AACA,YAAe;AACbC,IAAAA,QAAAA,CAAAA,CAASC,GAAc,EAAA;AACrB,QAAA,MAAM,EAAEC,UAAU,EAAE,GAAGC,OAAOC,MAAM;;QAGpC,IAAIF,UAAAA,EAAYG,SAAS,WAAA,CAAA,EAAc;AACrCJ,YAAAA,GAAAA,CAAIK,WAAW,CAAC;gBACdC,EAAAA,EAAI,CAAC,QAAQ,EAAEC,iBAAAA,CAAAA,CAAU;gBACzBC,IAAAA,EAAMC,WAAAA;gBACNC,SAAAA,EAAW;oBACTC,EAAAA,EAAI,CAAA,EAAGJ,iBAAAA,CAAS,YAAY,CAAC;oBAC7BK,cAAAA,EAAgBd;AAClB,iBAAA;gBACAe,SAAAA,EAAW,IAAM,oDAAO,gBAAA,KAAA,CAAeC,IAAI,CAAC,CAACC,OAAS;AAAEC,4BAAAA,OAAAA,EAASD,IAAIE;yBAAI,CAAA,CAAA;AACzEC,gBAAAA,WAAAA,EAAa;AACf,aAAA,CAAA;AACA,YAAA,MAAMC,MAAAA,GAAS;gBACbR,EAAAA,EAAIJ,iBAAAA;gBACJa,WAAAA,EAAaC,uBAAAA;gBACbC,OAAAA,EAAS,KAAA;gBACTC,IAAAA,EAAMzB;AACR,aAAA;AAEAE,YAAAA,GAAAA,CAAIwB,cAAc,CAACL,MAAAA,CAAAA;AACrB,QAAA;AACF,IAAA,CAAA;AAEA,IAAA,MAAMM,eAAczB,GAAQ,EAAA;QAC1B,MAAM,EAAE0B,OAAO,EAAE,GAAG1B,GAAAA;QAEpB,MAAM2B,aAAAA,GAAgB,MAAMC,OAAAA,CAAQC,GAAG,CACrC,OAACH,CAAkBI,GAAG,CAAC,CAACC,MAAAA,GAAAA;AACtB,YAAA,OAAO,iCAAM,CAAC,CAAC,eAAe,EAAEA,MAAAA,CAAO,KAAK,CAAC,CAAA,CAC1CjB,IAAI,CAAC,CAAC,EAAEE,OAAAA,EAASgB,IAAI,EAAE,GAAA;gBACtB,OAAO;AACLA,oBAAAA,IAAAA,EAAMC,kDAAyBD,IAAAA,EAAMzB,iBAAAA,CAAAA;AACrCwB,oBAAAA;AACF,iBAAA;AACF,YAAA,CAAA,CAAA,CACCG,KAAK,CAAC,IAAA;gBACL,OAAO;AACLF,oBAAAA,IAAAA,EAAM,EAAC;AACPD,oBAAAA;AACF,iBAAA;AACF,YAAA,CAAA,CAAA;AACJ,QAAA,CAAA,CAAA,CAAA;QAGF,OAAOH,OAAAA,CAAQO,OAAO,CAACR,aAAAA,CAAAA;AACzB,IAAA;AACF,CAAA;;;;"}
|
package/dist/admin/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import { prefixPluginTranslations } from './utils/prefixPluginTranslations.mjs';
|
|
|
5
5
|
|
|
6
6
|
function __variableDynamicImportRuntime1__(path) {
|
|
7
7
|
switch (path) {
|
|
8
|
+
case './translations/cs.json': return import('./translations/cs.json.mjs');
|
|
8
9
|
case './translations/en.json': return import('./translations/en.json.mjs');
|
|
9
10
|
case './translations/es.json': return import('./translations/es.json.mjs');
|
|
10
11
|
case './translations/fr.json': return import('./translations/fr.json.mjs');
|
|
@@ -33,10 +34,10 @@ var index = {
|
|
|
33
34
|
id: `${pluginId}.Plugin.name`,
|
|
34
35
|
defaultMessage: pluginName
|
|
35
36
|
},
|
|
36
|
-
Component:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
Component: ()=>import('./pages/App.mjs').then((mod)=>({
|
|
38
|
+
default: mod.App
|
|
39
|
+
})),
|
|
40
|
+
permissions: []
|
|
40
41
|
});
|
|
41
42
|
const plugin = {
|
|
42
43
|
id: pluginId,
|
package/dist/admin/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../admin/src/index.ts"],"sourcesContent":["/* eslint-disable check-file/filename-naming-convention */\n\nimport { Cloud } from '@strapi/icons';\n\nimport { Initializer } from './components/Initializer';\nimport { pluginId } from './pluginId';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nconst pluginName = 'Deploy';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n register(app:
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../admin/src/index.ts"],"sourcesContent":["/* eslint-disable check-file/filename-naming-convention */\n\nimport { Cloud } from '@strapi/icons';\n\nimport { Initializer } from './components/Initializer';\nimport { pluginId } from './pluginId';\nimport { prefixPluginTranslations } from './utils/prefixPluginTranslations';\n\nimport type { StrapiApp } from '@strapi/admin/strapi-admin';\n\nconst pluginName = 'Deploy';\n\n// eslint-disable-next-line import/no-default-export\nexport default {\n register(app: StrapiApp) {\n const { backendURL } = window.strapi;\n\n // Only add the plugin menu link and registering it if the project is on development (localhost).\n if (backendURL?.includes('localhost')) {\n app.addMenuLink({\n to: `plugins/${pluginId}`,\n icon: Cloud,\n intlLabel: {\n id: `${pluginId}.Plugin.name`,\n defaultMessage: pluginName,\n },\n Component: () => import('./pages/App').then((mod) => ({ default: mod.App })),\n permissions: [],\n });\n const plugin = {\n id: pluginId,\n initializer: Initializer,\n isReady: false,\n name: pluginName,\n };\n\n app.registerPlugin(plugin);\n }\n },\n\n async registerTrads(app: any) {\n const { locales } = app;\n\n const importedTrads = await Promise.all(\n (locales as any[]).map((locale) => {\n return import(`./translations/${locale}.json`)\n .then(({ default: data }) => {\n return {\n data: prefixPluginTranslations(data, pluginId),\n locale,\n };\n })\n .catch(() => {\n return {\n data: {},\n locale,\n };\n });\n })\n );\n\n return Promise.resolve(importedTrads);\n },\n};\n"],"names":["pluginName","register","app","backendURL","window","strapi","includes","addMenuLink","to","pluginId","icon","Cloud","intlLabel","id","defaultMessage","Component","then","mod","default","App","permissions","plugin","initializer","Initializer","isReady","name","registerPlugin","registerTrads","locales","importedTrads","Promise","all","map","locale","data","prefixPluginTranslations","catch","resolve"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAUA,MAAMA,UAAAA,GAAa,QAAA;AAEnB;AACA,YAAe;AACbC,IAAAA,QAAAA,CAAAA,CAASC,GAAc,EAAA;AACrB,QAAA,MAAM,EAAEC,UAAU,EAAE,GAAGC,OAAOC,MAAM;;QAGpC,IAAIF,UAAAA,EAAYG,SAAS,WAAA,CAAA,EAAc;AACrCJ,YAAAA,GAAAA,CAAIK,WAAW,CAAC;gBACdC,EAAAA,EAAI,CAAC,QAAQ,EAAEC,QAAAA,CAAAA,CAAU;gBACzBC,IAAAA,EAAMC,KAAAA;gBACNC,SAAAA,EAAW;oBACTC,EAAAA,EAAI,CAAA,EAAGJ,QAAAA,CAAS,YAAY,CAAC;oBAC7BK,cAAAA,EAAgBd;AAClB,iBAAA;gBACAe,SAAAA,EAAW,IAAM,OAAO,iBAAA,CAAA,CAAeC,IAAI,CAAC,CAACC,OAAS;AAAEC,4BAAAA,OAAAA,EAASD,IAAIE;yBAAI,CAAA,CAAA;AACzEC,gBAAAA,WAAAA,EAAa;AACf,aAAA,CAAA;AACA,YAAA,MAAMC,MAAAA,GAAS;gBACbR,EAAAA,EAAIJ,QAAAA;gBACJa,WAAAA,EAAaC,WAAAA;gBACbC,OAAAA,EAAS,KAAA;gBACTC,IAAAA,EAAMzB;AACR,aAAA;AAEAE,YAAAA,GAAAA,CAAIwB,cAAc,CAACL,MAAAA,CAAAA;AACrB,QAAA;AACF,IAAA,CAAA;AAEA,IAAA,MAAMM,eAAczB,GAAQ,EAAA;QAC1B,MAAM,EAAE0B,OAAO,EAAE,GAAG1B,GAAAA;QAEpB,MAAM2B,aAAAA,GAAgB,MAAMC,OAAAA,CAAQC,GAAG,CACrC,OAACH,CAAkBI,GAAG,CAAC,CAACC,MAAAA,GAAAA;AACtB,YAAA,OAAO,iCAAM,CAAC,CAAC,eAAe,EAAEA,MAAAA,CAAO,KAAK,CAAC,CAAA,CAC1CjB,IAAI,CAAC,CAAC,EAAEE,OAAAA,EAASgB,IAAI,EAAE,GAAA;gBACtB,OAAO;AACLA,oBAAAA,IAAAA,EAAMC,yBAAyBD,IAAAA,EAAMzB,QAAAA,CAAAA;AACrCwB,oBAAAA;AACF,iBAAA;AACF,YAAA,CAAA,CAAA,CACCG,KAAK,CAAC,IAAA;gBACL,OAAO;AACLF,oBAAAA,IAAAA,EAAM,EAAC;AACPD,oBAAAA;AACF,iBAAA;AACF,YAAA,CAAA,CAAA;AACJ,QAAA,CAAA,CAAA,CAAA;QAGF,OAAOH,OAAAA,CAAQO,OAAO,CAACR,aAAAA,CAAAA;AACzB,IAAA;AACF,CAAA;;;;"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var cs = {
|
|
4
|
+
"Plugin.name": "Nasazení",
|
|
5
|
+
"Homepage.title": "Nasazujte se Strapi Cloud zdarma!",
|
|
6
|
+
"Homepage.subTitle": "Začněte s naším zcela bezplatným tarifem – bez platební karty a bez časového omezení.",
|
|
7
|
+
"Homepage.deploy.title": "Vyberte preferovaný způsob nasazení",
|
|
8
|
+
"Homepage.deploy.ariaLabel": "Možnosti nasazení",
|
|
9
|
+
"Homepage.deploy.git.badge": "Doporučeno",
|
|
10
|
+
"Homepage.deploy.git.title": "Nasadit do Strapi Cloud",
|
|
11
|
+
"Homepage.deploy.git.subTitle": "Nasaďte projekt z GitHubu nebo GitLabu přímo ve Strapi Cloud",
|
|
12
|
+
"Homepage.deploy.git.button": "Nasadit do Strapi Cloud",
|
|
13
|
+
"Homepage.deploy.cli.title": "Nasadit přes CLI",
|
|
14
|
+
"Homepage.deploy.cli.subTitle": "Pomocí příkazového řádku nasaďte svůj projekt Strapi přímo",
|
|
15
|
+
"Homepage.deploy.cli.ariaLabel": "Správce balíčků",
|
|
16
|
+
"Homepage.deploy.cli.copy": "Kopírovat",
|
|
17
|
+
"Homepage.deploy.documentation": "Máte potíže? Podívejte se do naší dokumentace",
|
|
18
|
+
"Homepage.freePlan.api": "2,5 tis. API požadavků",
|
|
19
|
+
"Homepage.freePlan.storage": "10 GB úložiště",
|
|
20
|
+
"Homepage.freePlan.bandwidth": "10 GB přenosu assetů",
|
|
21
|
+
"Homepage.freePlan.cdn": "Globální CDN",
|
|
22
|
+
"Homepage.freePlan.pushToDeploy": "Push pro nasazení"
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
module.exports = cs;
|
|
26
|
+
//# sourceMappingURL=cs.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cs.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var cs = {
|
|
2
|
+
"Plugin.name": "Nasazení",
|
|
3
|
+
"Homepage.title": "Nasazujte se Strapi Cloud zdarma!",
|
|
4
|
+
"Homepage.subTitle": "Začněte s naším zcela bezplatným tarifem – bez platební karty a bez časového omezení.",
|
|
5
|
+
"Homepage.deploy.title": "Vyberte preferovaný způsob nasazení",
|
|
6
|
+
"Homepage.deploy.ariaLabel": "Možnosti nasazení",
|
|
7
|
+
"Homepage.deploy.git.badge": "Doporučeno",
|
|
8
|
+
"Homepage.deploy.git.title": "Nasadit do Strapi Cloud",
|
|
9
|
+
"Homepage.deploy.git.subTitle": "Nasaďte projekt z GitHubu nebo GitLabu přímo ve Strapi Cloud",
|
|
10
|
+
"Homepage.deploy.git.button": "Nasadit do Strapi Cloud",
|
|
11
|
+
"Homepage.deploy.cli.title": "Nasadit přes CLI",
|
|
12
|
+
"Homepage.deploy.cli.subTitle": "Pomocí příkazového řádku nasaďte svůj projekt Strapi přímo",
|
|
13
|
+
"Homepage.deploy.cli.ariaLabel": "Správce balíčků",
|
|
14
|
+
"Homepage.deploy.cli.copy": "Kopírovat",
|
|
15
|
+
"Homepage.deploy.documentation": "Máte potíže? Podívejte se do naší dokumentace",
|
|
16
|
+
"Homepage.freePlan.api": "2,5 tis. API požadavků",
|
|
17
|
+
"Homepage.freePlan.storage": "10 GB úložiště",
|
|
18
|
+
"Homepage.freePlan.bandwidth": "10 GB přenosu assetů",
|
|
19
|
+
"Homepage.freePlan.cdn": "Globální CDN",
|
|
20
|
+
"Homepage.freePlan.pushToDeploy": "Push pro nasazení"
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { cs as default };
|
|
24
|
+
//# sourceMappingURL=cs.json.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cs.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-cloud",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.45.0",
|
|
4
4
|
"description": "Instructions to deploy your local project to Strapi Cloud",
|
|
5
5
|
"homepage": "https://strapi.io",
|
|
6
6
|
"bugs": {
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"react-intl": "6.6.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@strapi/admin": "5.
|
|
58
|
-
"@strapi/strapi": "5.
|
|
59
|
-
"eslint-config-custom": "5.
|
|
57
|
+
"@strapi/admin": "5.45.0",
|
|
58
|
+
"@strapi/strapi": "5.45.0",
|
|
59
|
+
"eslint-config-custom": "5.45.0",
|
|
60
60
|
"react": "18.3.1",
|
|
61
61
|
"react-dom": "18.3.1",
|
|
62
62
|
"react-router-dom": "6.30.3",
|
|
63
63
|
"styled-components": "6.1.8",
|
|
64
|
-
"tsconfig": "5.
|
|
65
|
-
"typescript": "5.4.
|
|
64
|
+
"tsconfig": "5.45.0",
|
|
65
|
+
"typescript": "5.4.5"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@strapi/admin": "^5.0.0",
|