@strapi/generators 4.5.4 → 4.6.0-alpha.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import axios from 'axios';
6
- import { auth, wrapAxiosInstance } from '@strapi/helper-plugin';
6
+ import { auth } from '@strapi/helper-plugin';
7
7
 
8
8
  const instance = axios.create({
9
9
  baseURL: process.env.STRAPI_ADMIN_BACKEND_URL,
@@ -37,6 +37,4 @@ instance.interceptors.response.use(
37
37
  }
38
38
  );
39
39
 
40
- const wrapper = wrapAxiosInstance(instance);
41
-
42
- export default wrapper;
40
+ export default instance;
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  import React from 'react';
8
- import { Puzzle } from '@strapi/icons';
8
+ import Puzzle from '@strapi/icons/Puzzle';
9
9
 
10
10
  const PluginIcon: React.VoidFunctionComponent = () => <Puzzle />;
11
11
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
 
5
5
  import axios from 'axios';
6
- import { auth, wrapAxiosInstance } from '@strapi/helper-plugin';
6
+ import { auth } from '@strapi/helper-plugin';
7
7
 
8
8
  const instance = axios.create({
9
9
  baseURL: process.env.STRAPI_ADMIN_BACKEND_URL,
@@ -37,6 +37,4 @@ instance.interceptors.response.use(
37
37
  }
38
38
  );
39
39
 
40
- const wrapper = wrapAxiosInstance(instance);
41
-
42
- export default wrapper;
40
+ export default instance;
@@ -7,9 +7,7 @@
7
7
  "description": "Description of {{ pluginName }} plugin",
8
8
  "kind": "plugin"
9
9
  },
10
- "dependencies": {
11
- "@strapi/icons": "^1.3.1"
12
- },
10
+ "dependencies": {},
13
11
  "devDependencies": {
14
12
  "typescript": "4.6.3"
15
13
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/generators",
3
- "version": "4.5.4",
3
+ "version": "4.6.0-alpha.1",
4
4
  "description": "Interactive API generator.",
5
5
  "keywords": [
6
6
  "strapi",
@@ -30,8 +30,8 @@
30
30
  "main": "lib/index.js",
31
31
  "dependencies": {
32
32
  "@sindresorhus/slugify": "1.1.0",
33
- "@strapi/typescript-utils": "4.5.4",
34
- "@strapi/utils": "4.5.4",
33
+ "@strapi/typescript-utils": "4.6.0-alpha.1",
34
+ "@strapi/utils": "4.6.0-alpha.1",
35
35
  "chalk": "4.1.2",
36
36
  "fs-extra": "10.0.0",
37
37
  "node-plop": "0.26.3",
@@ -42,5 +42,5 @@
42
42
  "node": ">=14.19.1 <=18.x.x",
43
43
  "npm": ">=6.0.0"
44
44
  },
45
- "gitHead": "8716ecc920130db5341b0904cf868c6e6b581a5d"
45
+ "gitHead": "9171c48104548f5f6da21abf2a8098009f1a40e9"
46
46
  }