@strapi/generators 4.0.4 → 4.0.5
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.
|
@@ -4,8 +4,11 @@ const register = require('./register');
|
|
|
4
4
|
const bootstrap = require('./bootstrap');
|
|
5
5
|
const destroy = require('./destroy');
|
|
6
6
|
const config = require('./config');
|
|
7
|
+
const contentTypes = require('./content-types');
|
|
7
8
|
const controllers = require('./controllers');
|
|
8
9
|
const routes = require('./routes');
|
|
10
|
+
const middlewares = require('./middlewares');
|
|
11
|
+
const policies = require('./policies');
|
|
9
12
|
const services = require('./services');
|
|
10
13
|
|
|
11
14
|
module.exports = {
|
|
@@ -16,7 +19,7 @@ module.exports = {
|
|
|
16
19
|
controllers,
|
|
17
20
|
routes,
|
|
18
21
|
services,
|
|
19
|
-
contentTypes
|
|
20
|
-
policies
|
|
21
|
-
middlewares
|
|
22
|
+
contentTypes,
|
|
23
|
+
policies,
|
|
24
|
+
middlewares,
|
|
22
25
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/generators",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "Interactive API generator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"main": "lib/index.js",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@sindresorhus/slugify": "1.1.0",
|
|
33
|
-
"@strapi/utils": "4.0.
|
|
33
|
+
"@strapi/utils": "4.0.5",
|
|
34
34
|
"chalk": "4.1.2",
|
|
35
35
|
"fs-extra": "10.0.0",
|
|
36
36
|
"node-plop": "0.26.3",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"node": ">=12.22.0 <=16.x.x",
|
|
42
42
|
"npm": ">=6.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "45020eee065af8917011cc43398f95c4c624d6ad"
|
|
45
45
|
}
|