@strapi/generators 4.9.0-exp.90df253ba90fd6879eb56a720a1f80d04ff745b8 → 4.9.1

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/.eslintignore ADDED
@@ -0,0 +1,3 @@
1
+ node_modules/
2
+ .eslintrc.js
3
+ lib/files/
package/.eslintrc.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: ['custom/back'],
4
+ };
@@ -7,7 +7,7 @@
7
7
 
8
8
  import React from 'react';
9
9
  import { Switch, Route } from 'react-router-dom';
10
- import { NotFound } from '@strapi/helper-plugin';
10
+ import { AnErrorOccurred } from '@strapi/helper-plugin';
11
11
  import pluginId from '../../pluginId';
12
12
  import HomePage from '../HomePage';
13
13
 
@@ -16,7 +16,7 @@ const App = () => {
16
16
  <div>
17
17
  <Switch>
18
18
  <Route path={`/plugins/${pluginId}`} component={HomePage} exact />
19
- <Route component={NotFound} />
19
+ <Route component={AnErrorOccurred} />
20
20
  </Switch>
21
21
  </div>
22
22
  );
@@ -7,7 +7,7 @@
7
7
 
8
8
  import React from 'react';
9
9
  import { Switch, Route } from 'react-router-dom';
10
- import { NotFound } from '@strapi/helper-plugin';
10
+ import { AnErrorOccurred } from '@strapi/helper-plugin';
11
11
  import pluginId from '../../pluginId';
12
12
  import HomePage from '../HomePage';
13
13
 
@@ -16,7 +16,7 @@ const App = () => {
16
16
  <div>
17
17
  <Switch>
18
18
  <Route path={`/plugins/${pluginId}`} component={HomePage} exact />
19
- <Route component={NotFound} />
19
+ <Route component={AnErrorOccurred} />
20
20
  </Switch>
21
21
  </div>
22
22
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.9.0-exp.90df253ba90fd6879eb56a720a1f80d04ff745b8",
3
+ "version": "4.9.1",
4
4
  "description": "Interactive API generator.",
5
5
  "keywords": [
6
6
  "strapi",
@@ -28,10 +28,13 @@
28
28
  }
29
29
  ],
30
30
  "main": "lib/index.js",
31
+ "scripts": {
32
+ "lint": "run -T eslint ."
33
+ },
31
34
  "dependencies": {
32
35
  "@sindresorhus/slugify": "1.1.0",
33
- "@strapi/typescript-utils": "4.9.0-exp.90df253ba90fd6879eb56a720a1f80d04ff745b8",
34
- "@strapi/utils": "4.9.0-exp.90df253ba90fd6879eb56a720a1f80d04ff745b8",
36
+ "@strapi/typescript-utils": "4.9.1",
37
+ "@strapi/utils": "4.9.1",
35
38
  "chalk": "4.1.2",
36
39
  "fs-extra": "10.0.0",
37
40
  "node-plop": "0.26.3",
@@ -42,5 +45,5 @@
42
45
  "node": ">=14.19.1 <=18.x.x",
43
46
  "npm": ">=6.0.0"
44
47
  },
45
- "gitHead": "366eb8a0d0f06935914854c6d9c4b3fe859468e0"
48
+ "gitHead": "c8f2f0543b45dda8eadde21a0782b64d156fc786"
46
49
  }