@strapi/generators 4.0.0-beta.14 → 4.0.0-beta.18

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.
@@ -3,7 +3,7 @@
3
3
  module.exports = {
4
4
  index(ctx) {
5
5
  ctx.body = strapi
6
- .plugin('{{ id }}')
6
+ .plugin('{{ pluginName }}')
7
7
  .service('myService')
8
8
  .getWelcomeMessage();
9
9
  },
@@ -92,6 +92,10 @@ module.exports = async inquirer => {
92
92
 
93
93
  if (addAttributes) {
94
94
  await createNewAttributes(inquirer);
95
+ } else {
96
+ console.warn(
97
+ `You won't be able to manage entries from the admin, you can still add attributes later from the content type builder.`
98
+ );
95
99
  }
96
100
 
97
101
  return attributes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.0.0-beta.14",
3
+ "version": "4.0.0-beta.18",
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.0-beta.14",
33
+ "@strapi/utils": "4.0.0-beta.18",
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.x.x <=16.x.x",
42
42
  "npm": ">=6.0.0"
43
43
  },
44
- "gitHead": "0c0789354d34c685b94474911b79c1b679155dfa"
44
+ "gitHead": "3e9e3f13cb85822e6d92b0e448ae0b94d440dac1"
45
45
  }