@strapi/generators 4.0.0-beta.5 → 4.0.0-beta.9

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.
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import React from 'react';
8
- import { Icon } from '@strapi/parts/Icon';
8
+ import { Icon } from '@strapi/design-system/Icon';
9
9
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
10
10
 
11
11
  const PluginIcon = () => <Icon as={() => <FontAwesomeIcon icon="plug" />} width="16px" />;
@@ -4,7 +4,7 @@
4
4
  * `{{ name }}` middleware.
5
5
  */
6
6
 
7
- module.exports = async (config, { strapi }) => {
7
+ module.exports = (config, { strapi }) => {
8
8
  // Add your own logic here.
9
9
  return async (ctx, next) => {
10
10
  strapi.log.info('In {{ name }} middleware.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.0.0-beta.5",
3
+ "version": "4.0.0-beta.9",
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.5",
33
+ "@strapi/utils": "4.0.0-beta.9",
34
34
  "chalk": "4.1.2",
35
35
  "fs-extra": "10.0.0",
36
36
  "node-plop": "0.26.2",
@@ -41,5 +41,5 @@
41
41
  "node": ">=12.x.x <=16.x.x",
42
42
  "npm": ">=6.0.0"
43
43
  },
44
- "gitHead": "7e7365d347e181b34496a2ff09d810b8c43a2dcf"
44
+ "gitHead": "0213c1a76970008a05249836f0472989df4245d2"
45
45
  }