Skip to content

Commit

Permalink
fix: generator runtime bug (alibaba#285)
Browse files Browse the repository at this point in the history
* fix: generator-runtime bug

* Publish

 - @umijs/hooks@1.7.1-beta.1
 - @umijs/use-request@1.2.1
  • Loading branch information
brickspert authored Mar 10, 2020
1 parent 3789b26 commit 00bbd1c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const options: IBundleOptions = {
'use-request',
'hooks',
],
extraBabelPlugins: [['babel-plugin-transform-async-to-promises']],
};

export default options;
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.throttle": "^4.1.6",
"babel-plugin-import": "^1.12.0",
"babel-plugin-transform-async-to-promises": "^0.8.15",
"create-test-server": "^3.0.1",
"del": "^5.1.0",
"enzyme": "^3.10.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umijs/hooks",
"version": "1.7.0",
"version": "1.7.1-beta.1",
"description": "react hooks library",
"keywords": [
"umi hooks",
Expand Down Expand Up @@ -28,7 +28,7 @@
"package.json"
],
"dependencies": {
"@umijs/use-request": "^1.2.0",
"@umijs/use-request": "^1.2.1",
"intersection-observer": "^0.7.0",
"lodash.isequal": "^4.5.0",
"resize-observer-polyfill": "^1.5.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/use-request/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umijs/use-request",
"version": "1.2.0",
"version": "1.2.1",
"description": "React Hooks for fetching, caching and updating asynchronous data",
"main": "./lib/index.js",
"module": "./es/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
"umi-request": "^1.2.17"
},
"devDependencies": {
"@umijs/hooks": "^1.7.0",
"@umijs/hooks": "^1.7.1-beta.1",
"axios": "^0.19.2"
},
"gitHead": "4ea8f5c04c06eff2a33b2be473a8f7460909bebb"
Expand Down

0 comments on commit 00bbd1c

Please sign in to comment.