@strapi/generators 0.0.0-next.e6eaa3d0563c85f80fd88b258df70a55c057096e → 0.0.0-next.e822ba8a3443f5fce869d85539f9fdaa02e10639
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 +18 -3
- package/dist/index.d.ts +9 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +91 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +89 -24
- package/dist/index.mjs.map +1 -1
- package/dist/plopfile.d.ts +1 -1
- package/dist/plopfile.d.ts.map +1 -1
- package/dist/plopfile.js +25 -701
- package/dist/plopfile.js.map +1 -1
- package/dist/plopfile.mjs +24 -678
- package/dist/plopfile.mjs.map +1 -1
- package/dist/plops/api.d.ts +1 -1
- package/dist/plops/api.d.ts.map +1 -1
- package/dist/plops/api.js +149 -0
- package/dist/plops/api.js.map +1 -0
- package/dist/plops/api.mjs +147 -0
- package/dist/plops/api.mjs.map +1 -0
- package/dist/plops/content-type.d.ts +1 -1
- package/dist/plops/content-type.d.ts.map +1 -1
- package/dist/plops/content-type.js +245 -0
- package/dist/plops/content-type.js.map +1 -0
- package/dist/plops/content-type.mjs +243 -0
- package/dist/plops/content-type.mjs.map +1 -0
- package/dist/plops/controller.d.ts +1 -1
- package/dist/plops/controller.d.ts.map +1 -1
- package/dist/plops/controller.js +73 -0
- package/dist/plops/controller.js.map +1 -0
- package/dist/plops/controller.mjs +71 -0
- package/dist/plops/controller.mjs.map +1 -0
- package/dist/plops/middleware.d.ts +1 -1
- package/dist/plops/middleware.d.ts.map +1 -1
- package/dist/plops/middleware.js +75 -0
- package/dist/plops/middleware.js.map +1 -0
- package/dist/plops/middleware.mjs +73 -0
- package/dist/plops/middleware.mjs.map +1 -0
- package/dist/plops/migration.d.ts +1 -1
- package/dist/plops/migration.d.ts.map +1 -1
- package/dist/plops/migration.js +35 -0
- package/dist/plops/migration.js.map +1 -0
- package/dist/plops/migration.mjs +33 -0
- package/dist/plops/migration.mjs.map +1 -0
- package/dist/plops/policy.d.ts +1 -1
- package/dist/plops/policy.d.ts.map +1 -1
- package/dist/plops/policy.js +75 -0
- package/dist/plops/policy.js.map +1 -0
- package/dist/plops/policy.mjs +73 -0
- package/dist/plops/policy.mjs.map +1 -0
- package/dist/plops/prompts/bootstrap-api-prompts.d.ts +6 -2
- package/dist/plops/prompts/bootstrap-api-prompts.d.ts.map +1 -1
- package/dist/plops/prompts/bootstrap-api-prompts.js +13 -0
- package/dist/plops/prompts/bootstrap-api-prompts.js.map +1 -0
- package/dist/plops/prompts/bootstrap-api-prompts.mjs +11 -0
- package/dist/plops/prompts/bootstrap-api-prompts.mjs.map +1 -0
- package/dist/plops/prompts/ct-names-prompts.d.ts +18 -2
- package/dist/plops/prompts/ct-names-prompts.d.ts.map +1 -1
- package/dist/plops/prompts/ct-names-prompts.js +44 -0
- package/dist/plops/prompts/ct-names-prompts.js.map +1 -0
- package/dist/plops/prompts/ct-names-prompts.mjs +42 -0
- package/dist/plops/prompts/ct-names-prompts.mjs.map +1 -0
- package/dist/plops/prompts/get-attributes-prompts.d.ts +8 -2
- package/dist/plops/prompts/get-attributes-prompts.d.ts.map +1 -1
- package/dist/plops/prompts/get-attributes-prompts.js +101 -0
- package/dist/plops/prompts/get-attributes-prompts.js.map +1 -0
- package/dist/plops/prompts/get-attributes-prompts.mjs +99 -0
- package/dist/plops/prompts/get-attributes-prompts.mjs.map +1 -0
- package/dist/plops/prompts/get-destination-prompts.d.ts +24 -2
- package/dist/plops/prompts/get-destination-prompts.d.ts.map +1 -1
- package/dist/plops/prompts/get-destination-prompts.js +78 -0
- package/dist/plops/prompts/get-destination-prompts.js.map +1 -0
- package/dist/plops/prompts/get-destination-prompts.mjs +76 -0
- package/dist/plops/prompts/get-destination-prompts.mjs.map +1 -0
- package/dist/plops/prompts/kind-prompts.d.ts +11 -2
- package/dist/plops/prompts/kind-prompts.d.ts.map +1 -1
- package/dist/plops/prompts/kind-prompts.js +26 -0
- package/dist/plops/prompts/kind-prompts.js.map +1 -0
- package/dist/plops/prompts/kind-prompts.mjs +24 -0
- package/dist/plops/prompts/kind-prompts.mjs.map +1 -0
- package/dist/plops/service.d.ts +1 -1
- package/dist/plops/service.d.ts.map +1 -1
- package/dist/plops/service.js +71 -0
- package/dist/plops/service.js.map +1 -0
- package/dist/plops/service.mjs +69 -0
- package/dist/plops/service.mjs.map +1 -0
- package/dist/plops/utils/extend-plugin-index-files.d.ts +8 -0
- package/dist/plops/utils/extend-plugin-index-files.d.ts.map +1 -0
- package/dist/plops/utils/extend-plugin-index-files.js +356 -0
- package/dist/plops/utils/extend-plugin-index-files.js.map +1 -0
- package/dist/plops/utils/extend-plugin-index-files.mjs +335 -0
- package/dist/plops/utils/extend-plugin-index-files.mjs.map +1 -0
- package/dist/plops/utils/get-file-path.d.ts +1 -1
- package/dist/plops/utils/get-file-path.js +17 -0
- package/dist/plops/utils/get-file-path.js.map +1 -0
- package/dist/plops/utils/get-file-path.mjs +15 -0
- package/dist/plops/utils/get-file-path.mjs.map +1 -0
- package/dist/plops/utils/get-formatted-date.js +8 -0
- package/dist/plops/utils/get-formatted-date.js.map +1 -0
- package/dist/plops/utils/get-formatted-date.mjs +6 -0
- package/dist/plops/utils/get-formatted-date.mjs.map +1 -0
- package/dist/plops/utils/validate-attribute-input.js +12 -0
- package/dist/plops/utils/validate-attribute-input.js.map +1 -0
- package/dist/plops/utils/validate-attribute-input.mjs +10 -0
- package/dist/plops/utils/validate-attribute-input.mjs.map +1 -0
- package/dist/plops/utils/validate-file-name-input.js +12 -0
- package/dist/plops/utils/validate-file-name-input.js.map +1 -0
- package/dist/plops/utils/validate-file-name-input.mjs +10 -0
- package/dist/plops/utils/validate-file-name-input.mjs.map +1 -0
- package/dist/plops/utils/validate-input.js +12 -0
- package/dist/plops/utils/validate-input.js.map +1 -0
- package/dist/plops/utils/validate-input.mjs +10 -0
- package/dist/plops/utils/validate-input.mjs.map +1 -0
- package/dist/templates/js/content-type.schema.json.hbs +0 -1
- package/dist/templates/js/plugin/plugin.routes.index.js.hbs +12 -0
- package/dist/templates/js/plugin/plugin.routes.type.index.js.hbs +6 -0
- package/dist/templates/ts/content-type.schema.json.hbs +0 -1
- package/dist/templates/ts/core-controller.ts.hbs +1 -1
- package/dist/templates/ts/middleware.ts.hbs +2 -2
- package/dist/templates/ts/plugin/plugin.routes.index.ts.hbs +9 -0
- package/dist/templates/ts/plugin/plugin.routes.type.index.ts.hbs +4 -0
- package/package.json +21 -15
- package/dist/files/js/plugin/.gitattributes +0 -103
- package/dist/files/js/plugin/admin/src/components/Initializer/index.js +0 -26
- package/dist/files/js/plugin/admin/src/components/PluginIcon/index.js +0 -12
- package/dist/files/js/plugin/admin/src/index.js +0 -61
- package/dist/files/js/plugin/admin/src/pages/App/index.js +0 -25
- package/dist/files/js/plugin/admin/src/pages/HomePage/index.js +0 -20
- package/dist/files/js/plugin/admin/src/pluginId.js +0 -5
- package/dist/files/js/plugin/admin/src/translations/en.json +0 -1
- package/dist/files/js/plugin/admin/src/translations/fr.json +0 -1
- package/dist/files/js/plugin/admin/src/utils/getTrad.js +0 -5
- package/dist/files/js/plugin/server/bootstrap.js +0 -5
- package/dist/files/js/plugin/server/config/index.js +0 -6
- package/dist/files/js/plugin/server/controllers/index.js +0 -7
- package/dist/files/js/plugin/server/controllers/my-controller.js.hbs +0 -10
- package/dist/files/js/plugin/server/destroy.js +0 -5
- package/dist/files/js/plugin/server/index.js +0 -25
- package/dist/files/js/plugin/server/middlewares/index.js +0 -3
- package/dist/files/js/plugin/server/policies/index.js +0 -3
- package/dist/files/js/plugin/server/register.js +0 -5
- package/dist/files/js/plugin/server/routes/index.js +0 -10
- package/dist/files/js/plugin/server/services/index.js +0 -7
- package/dist/files/js/plugin/server/services/my-service.js +0 -7
- package/dist/files/js/plugin/strapi-admin.js +0 -3
- package/dist/files/js/plugin/strapi-server.js +0 -3
- package/dist/files/ts/plugin/.gitattributes +0 -103
- package/dist/files/ts/plugin/admin/src/components/Initializer/index.tsx +0 -24
- package/dist/files/ts/plugin/admin/src/components/PluginIcon/index.tsx +0 -12
- package/dist/files/ts/plugin/admin/src/index.tsx +0 -67
- package/dist/files/ts/plugin/admin/src/pages/App/index.tsx +0 -25
- package/dist/files/ts/plugin/admin/src/pages/HomePage/index.tsx +0 -19
- package/dist/files/ts/plugin/admin/src/pluginId.ts +0 -5
- package/dist/files/ts/plugin/admin/src/translations/en.json +0 -1
- package/dist/files/ts/plugin/admin/src/translations/fr.json +0 -1
- package/dist/files/ts/plugin/admin/src/utils/getTrad.ts +0 -5
- package/dist/files/ts/plugin/custom.d.ts +0 -5
- package/dist/files/ts/plugin/server/bootstrap.ts +0 -5
- package/dist/files/ts/plugin/server/config/index.ts +0 -4
- package/dist/files/ts/plugin/server/controllers/index.ts +0 -5
- package/dist/files/ts/plugin/server/controllers/my-controller.ts.hbs +0 -10
- package/dist/files/ts/plugin/server/destroy.ts +0 -5
- package/dist/files/ts/plugin/server/index.ts +0 -23
- package/dist/files/ts/plugin/server/middlewares/index.ts +0 -1
- package/dist/files/ts/plugin/server/policies/index.ts +0 -1
- package/dist/files/ts/plugin/server/register.ts +0 -5
- package/dist/files/ts/plugin/server/routes/index.ts +0 -10
- package/dist/files/ts/plugin/server/services/index.ts +0 -5
- package/dist/files/ts/plugin/server/services/my-service.ts +0 -7
- package/dist/files/ts/plugin/strapi-admin.js +0 -3
- package/dist/files/ts/plugin/strapi-server.js +0 -3
- package/dist/files/ts/plugin/tsconfig.json +0 -20
- package/dist/files/ts/plugin/tsconfig.server.json +0 -25
- package/dist/plops/plugin.d.ts +0 -4
- package/dist/plops/plugin.d.ts.map +0 -1
- package/dist/plops/prompts/draft-and-publish-prompts.d.ts +0 -4
- package/dist/plops/prompts/draft-and-publish-prompts.d.ts.map +0 -1
- package/dist/templates/js/README.md.hbs +0 -3
- package/dist/templates/js/plugin-package.json.hbs +0 -42
- package/dist/templates/ts/README.md.hbs +0 -3
- package/dist/templates/ts/plugin-package.json.hbs +0 -51
- /package/dist/{files/js/plugin/server/content-types/index.js → templates/js/plugin/plugin.index.js.hbs} +0 -0
- /package/dist/{files/ts/plugin/server/content-types/index.ts → templates/ts/plugin/plugin.index.ts.hbs} +0 -0
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { prefixPluginTranslations } from '@strapi/helper-plugin';
|
|
2
|
-
|
|
3
|
-
import pluginPkg from '../../package.json';
|
|
4
|
-
import pluginId from './pluginId';
|
|
5
|
-
import Initializer from './components/Initializer';
|
|
6
|
-
import PluginIcon from './components/PluginIcon';
|
|
7
|
-
|
|
8
|
-
const name = pluginPkg.strapi.name;
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
register(app: any) {
|
|
12
|
-
app.addMenuLink({
|
|
13
|
-
to: `/plugins/${pluginId}`,
|
|
14
|
-
icon: PluginIcon,
|
|
15
|
-
intlLabel: {
|
|
16
|
-
id: `${pluginId}.plugin.name`,
|
|
17
|
-
defaultMessage: name,
|
|
18
|
-
},
|
|
19
|
-
Component: async () => {
|
|
20
|
-
const component = await import('./pages/App');
|
|
21
|
-
|
|
22
|
-
return component;
|
|
23
|
-
},
|
|
24
|
-
permissions: [
|
|
25
|
-
// Uncomment to set the permissions of the plugin here
|
|
26
|
-
// {
|
|
27
|
-
// action: '', // the action name should be plugin::plugin-name.actionType
|
|
28
|
-
// subject: null,
|
|
29
|
-
// },
|
|
30
|
-
],
|
|
31
|
-
});
|
|
32
|
-
const plugin = {
|
|
33
|
-
id: pluginId,
|
|
34
|
-
initializer: Initializer,
|
|
35
|
-
isReady: false,
|
|
36
|
-
name,
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
app.registerPlugin(plugin);
|
|
40
|
-
},
|
|
41
|
-
|
|
42
|
-
bootstrap(app: any) {},
|
|
43
|
-
|
|
44
|
-
async registerTrads(app: any) {
|
|
45
|
-
const { locales } = app;
|
|
46
|
-
|
|
47
|
-
const importedTrads = await Promise.all(
|
|
48
|
-
(locales as any[]).map((locale) => {
|
|
49
|
-
return import(`./translations/${locale}.json`)
|
|
50
|
-
.then(({ default: data }) => {
|
|
51
|
-
return {
|
|
52
|
-
data: prefixPluginTranslations(data, pluginId),
|
|
53
|
-
locale,
|
|
54
|
-
};
|
|
55
|
-
})
|
|
56
|
-
.catch(() => {
|
|
57
|
-
return {
|
|
58
|
-
data: {},
|
|
59
|
-
locale,
|
|
60
|
-
};
|
|
61
|
-
});
|
|
62
|
-
})
|
|
63
|
-
);
|
|
64
|
-
|
|
65
|
-
return Promise.resolve(importedTrads);
|
|
66
|
-
},
|
|
67
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* This component is the skeleton around the actual pages, and should only
|
|
4
|
-
* contain code that should be seen on all pages. (e.g. navigation bar)
|
|
5
|
-
*
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { Switch, Route } from 'react-router-dom';
|
|
10
|
-
import { AnErrorOccurred } from '@strapi/helper-plugin';
|
|
11
|
-
import pluginId from '../../pluginId';
|
|
12
|
-
import HomePage from '../HomePage';
|
|
13
|
-
|
|
14
|
-
const App = () => {
|
|
15
|
-
return (
|
|
16
|
-
<div>
|
|
17
|
-
<Switch>
|
|
18
|
-
<Route path={`/plugins/${pluginId}`} component={HomePage} exact />
|
|
19
|
-
<Route component={AnErrorOccurred} />
|
|
20
|
-
</Switch>
|
|
21
|
-
</div>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default App;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
*
|
|
3
|
-
* HomePage
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import pluginId from '../../pluginId';
|
|
9
|
-
|
|
10
|
-
const HomePage = () => {
|
|
11
|
-
return (
|
|
12
|
-
<div>
|
|
13
|
-
<h1>{pluginId}'s HomePage</h1>
|
|
14
|
-
<p>Happy coding</p>
|
|
15
|
-
</div>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export default HomePage;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import register from './register';
|
|
2
|
-
import bootstrap from './bootstrap';
|
|
3
|
-
import destroy from './destroy';
|
|
4
|
-
import config from './config';
|
|
5
|
-
import contentTypes from './content-types';
|
|
6
|
-
import controllers from './controllers';
|
|
7
|
-
import routes from './routes';
|
|
8
|
-
import middlewares from './middlewares';
|
|
9
|
-
import policies from './policies';
|
|
10
|
-
import services from './services';
|
|
11
|
-
|
|
12
|
-
export default {
|
|
13
|
-
register,
|
|
14
|
-
bootstrap,
|
|
15
|
-
destroy,
|
|
16
|
-
config,
|
|
17
|
-
controllers,
|
|
18
|
-
routes,
|
|
19
|
-
services,
|
|
20
|
-
contentTypes,
|
|
21
|
-
policies,
|
|
22
|
-
middlewares,
|
|
23
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@strapi/typescript-utils/tsconfigs/admin",
|
|
3
|
-
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"strict": true
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
"include": ["admin", "custom.d.ts"],
|
|
10
|
-
|
|
11
|
-
"exclude": [
|
|
12
|
-
"node_modules/",
|
|
13
|
-
"dist/",
|
|
14
|
-
|
|
15
|
-
// Do not include server files in the server compilation
|
|
16
|
-
"server/",
|
|
17
|
-
// Do not include test files
|
|
18
|
-
"**/*.test.ts"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@strapi/typescript-utils/tsconfigs/server",
|
|
3
|
-
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "dist",
|
|
6
|
-
"rootDir": "."
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
"include": [
|
|
10
|
-
// Include the root directory
|
|
11
|
-
"server",
|
|
12
|
-
// Force the JSON files in the src folder to be included
|
|
13
|
-
"server/**/*.json"
|
|
14
|
-
],
|
|
15
|
-
|
|
16
|
-
"exclude": [
|
|
17
|
-
"node_modules/",
|
|
18
|
-
"dist/",
|
|
19
|
-
|
|
20
|
-
// Do not include admin files in the server compilation
|
|
21
|
-
"admin/",
|
|
22
|
-
// Do not include test files
|
|
23
|
-
"**/*.test.ts"
|
|
24
|
-
]
|
|
25
|
-
}
|
package/dist/plops/plugin.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/plops/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;+BAmCb,WAAW;AAAjC,wBA8DE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draft-and-publish-prompts.d.ts","sourceRoot":"","sources":["../../../src/plops/prompts/draft-and-publish-prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,cAAc,CAOpC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{ pluginName }}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"description": "This is the description of the plugin.",
|
|
5
|
-
"strapi": {
|
|
6
|
-
"name": "{{ pluginName }}",
|
|
7
|
-
"description": "Description of {{titleCase pluginName }} plugin",
|
|
8
|
-
"kind": "plugin",
|
|
9
|
-
"displayName": "{{titleCase pluginName }}"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"@strapi/design-system": "^1.6.3",
|
|
13
|
-
"@strapi/helper-plugin": "^4.6.0",
|
|
14
|
-
"@strapi/icons": "^1.6.3",
|
|
15
|
-
"prop-types": "^15.7.2"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"react": "^18.2.0",
|
|
19
|
-
"react-dom": "^18.2.0",
|
|
20
|
-
"react-router-dom": "^5.3.4",
|
|
21
|
-
"styled-components": "^5.3.6"
|
|
22
|
-
},
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
25
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
26
|
-
"react-router-dom": "^5.2.0",
|
|
27
|
-
"styled-components": "^5.2.1"
|
|
28
|
-
},
|
|
29
|
-
"author": {
|
|
30
|
-
"name": "A Strapi developer"
|
|
31
|
-
},
|
|
32
|
-
"maintainers": [
|
|
33
|
-
{
|
|
34
|
-
"name": "A Strapi developer"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=18.0.0 <=20.x.x",
|
|
39
|
-
"npm": ">=6.0.0"
|
|
40
|
-
},
|
|
41
|
-
"license": "MIT"
|
|
42
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "{{ pluginName }}",
|
|
3
|
-
"version": "0.0.0",
|
|
4
|
-
"description": "This is the description of the plugin.",
|
|
5
|
-
"strapi": {
|
|
6
|
-
"name": "{{ pluginName }}",
|
|
7
|
-
"description": "Description of {{ pluginName }} plugin",
|
|
8
|
-
"kind": "plugin"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@strapi/design-system": "^1.6.3",
|
|
12
|
-
"@strapi/helper-plugin": "^4.6.0",
|
|
13
|
-
"@strapi/icons": "^1.6.3",
|
|
14
|
-
"prop-types": "^15.7.2"
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@strapi/typescript-utils": "^4.6.0",
|
|
18
|
-
"@types/react": "^17.0.53",
|
|
19
|
-
"@types/react-dom": "^18.0.28",
|
|
20
|
-
"@types/react-router-dom": "^5.3.3",
|
|
21
|
-
"@types/styled-components": "^5.1.26",
|
|
22
|
-
"react": "^18.2.0",
|
|
23
|
-
"react-dom": "^18.2.0",
|
|
24
|
-
"react-router-dom": "^5.3.4",
|
|
25
|
-
"styled-components": "^5.3.6",
|
|
26
|
-
"typescript": "5.0.4"
|
|
27
|
-
},
|
|
28
|
-
"peerDependencies": {
|
|
29
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
30
|
-
"react-dom": "^17.0.0 || ^18.0.0",
|
|
31
|
-
"react-router-dom": "^5.2.0",
|
|
32
|
-
"styled-components": "^5.2.1"
|
|
33
|
-
},
|
|
34
|
-
"author": {
|
|
35
|
-
"name": "A Strapi developer"
|
|
36
|
-
},
|
|
37
|
-
"maintainers": [
|
|
38
|
-
{
|
|
39
|
-
"name": "A Strapi developer"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">=18.0.0 <=20.x.x",
|
|
44
|
-
"npm": ">=6.0.0"
|
|
45
|
-
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"develop": "tsc -p tsconfig.server.json -w",
|
|
48
|
-
"build": "tsc -p tsconfig.server.json"
|
|
49
|
-
},
|
|
50
|
-
"license": "MIT"
|
|
51
|
-
}
|
|
File without changes
|
|
File without changes
|