@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
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
export default wrapper;
|
|
40
|
+
export default instance;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { auth
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
export default wrapper;
|
|
40
|
+
export default instance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/generators",
|
|
3
|
-
"version": "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.
|
|
34
|
-
"@strapi/utils": "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": "
|
|
45
|
+
"gitHead": "9171c48104548f5f6da21abf2a8098009f1a40e9"
|
|
46
46
|
}
|