Skip to content

Commit

Permalink
chore: move out async-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxue committed Feb 26, 2020
1 parent 00381c5 commit 31c60da
Show file tree
Hide file tree
Showing 17 changed files with 10 additions and 176 deletions.
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ module.exports = {
modulePathIgnorePatterns: [ 'dist' ],
moduleNameMapper: {
'@antv/l7-(.+)$': '<rootDir>packages/$1/src',
'@antv/async-hook$': '<rootDir>packages/async-hook/src'
},
notify: true,
notifyMode: 'always',
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-node-resolve": "^6.0.0",
"@storybook/react": "^5.1.9",
"@types/async": "^3.0.8",
"@types/dat.gui": "^0.7.1",
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
Expand All @@ -36,7 +35,6 @@
"@types/node": "^12.12.22",
"@types/storybook__react": "^4.0.2",
"@types/supercluster": "^5.0.1",
"async-es": "^3.2.0",
"awesome-typescript-loader": "^5.2.1",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
Expand Down
11 changes: 0 additions & 11 deletions packages/async-hook/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions packages/async-hook/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions packages/async-hook/src/core/AsyncParallelHook.ts

This file was deleted.

5 changes: 0 additions & 5 deletions packages/async-hook/src/core/IHook.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/async-hook/src/core/SyncBailHook.ts

This file was deleted.

22 changes: 0 additions & 22 deletions packages/async-hook/src/core/SyncHook.ts

This file was deleted.

27 changes: 0 additions & 27 deletions packages/async-hook/src/core/SyncWaterfallHook.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/async-hook/src/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions packages/async-hook/tsconfig.build.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "xiaoiver",
"license": "ISC",
"dependencies": {
"@antv/async-hook": "^2.0.28-alpha.2",
"@antv/async-hook": "^2.1.0",
"@antv/l7-utils": "^2.0.28-alpha.2",
"@babel/runtime": "^7.7.7",
"@mapbox/tiny-sdf": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/layers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "xiaoiver",
"license": "ISC",
"dependencies": {
"@antv/async-hook": "^2.0.28-alpha.2",
"@antv/async-hook": "^2.1.0",
"@antv/l7-core": "^2.0.28-alpha.2",
"@antv/l7-source": "^2.0.28-alpha.2",
"@antv/l7-utils": "^2.0.28-alpha.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"author": "lzxue",
"license": "ISC",
"dependencies": {
"@antv/async-hook": "^2.0.28-alpha.2",
"@antv/async-hook": "^2.1.0",
"@antv/l7-core": "^2.0.28-alpha.2",
"@antv/l7-utils": "^2.0.28-alpha.2",
"@babel/runtime": "^7.7.7",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"rootDir": "./",
"baseUrl": "./",
"paths": {
"@antv/async-hook": ["packages/async-hook/src"],
"@antv/l7-*": ["packages/*/src"],
"@antv/l7": ["packages/l7/src"],
"*": ["node_modules", "packages"]
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"paths": {
"@antv/l7-*": ["packages/*/src"],
"@antv/l7": ["packages/l7/src"],
"@antv/async-hook": ["packages/async-hook/src"],
"*": ["node_modules", "packages", "typings/*"]
}
},
Expand Down
17 changes: 7 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
dependencies:
"@antv/util" "~1.3.1"

"@antv/async-hook@^2.1.0":
version "2.1.0"
resolved "https://registry.npmjs.org/@antv/async-hook/-/async-hook-2.1.0.tgz#17f57a6ae5e9c55adac3cdfac7d441258c3f9aeb"
integrity sha512-q7Rup5jTDAiWh77Xb2vgkCURJGczmU2iWTCkBDq28PuK5KUoenyeGGrFKAVkgqaL663wdpw0Vzn+sYriTfT9hA==
dependencies:
async "^3.1.1"

"@antv/attr@~0.1.2":
version "0.1.2"
resolved "https://registry.npmjs.org/@antv/attr/-/attr-0.1.2.tgz#2eeb122fcaaf851a2d8749abc7c60519d3f77e37"
Expand Down Expand Up @@ -3419,11 +3426,6 @@
resolved "https://registry.npmjs.org/@types/amap-js-api/-/amap-js-api-1.4.7.tgz#565342799c14c0b112cfea237aaa4b700360f406"
integrity sha512-YWU1cWVtZ3d25/0rLiVH1ecJfEPRh+WiCShOsDbOa4woW7oP55OCoxKXuvkD+GjePv9Ye7dKR78HtDuF6s+OFQ==

"@types/async@^3.0.8":
version "3.0.8"
resolved "https://registry.npmjs.org/@types/async/-/async-3.0.8.tgz#8c183f149d8cc91f944d58e5594d2a614ceb33ff"
integrity sha512-wIM8bCrHeQHCUyDqJYXyvG8P98YeERaOB1NeOvcjnjlM32pn21S13j6tZqhiWX+nkpU3EvhtE/nuO1ItCpZ+HQ==

"@types/babel__core@^7.1.0":
version "7.1.5"
resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.5.tgz#e4d84704b4df868b3ad538365a13da2fa6dbc023"
Expand Down Expand Up @@ -4801,11 +4803,6 @@ async-each@^1.0.1:
resolved "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==

async-es@^3.2.0:
version "3.2.0"
resolved "https://registry.npmjs.org/async-es/-/async-es-3.2.0.tgz#8837aa12f675de80fac56b94a4b4cef515343de3"
integrity sha512-dMWVIUBi/ejt+QERtMdIin2rlzSNK7GAfEwIyaOGDy536s0OqH+aUNkj9MQ01hq2rB1f7x6w7RJchtthCk0IDA==

async-foreach@^0.1.3:
version "0.1.3"
resolved "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542"
Expand Down

0 comments on commit 31c60da

Please sign in to comment.