Skip to content

Commit

Permalink
feat:fix components packing error
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Feb 1, 2021
1 parent 0d5a070 commit bfb83fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions packages/graphin-components/.npmignore
Expand Up @@ -13,8 +13,7 @@ coverage
# Dependency directories
node_modules
**/node_modules
**/lib
**/es

jspm_packages/

# Optional npm cache directory
Expand All @@ -34,7 +33,6 @@ jspm_packages/
.idea

# build
lib
build

# lock
Expand Down
6 changes: 3 additions & 3 deletions packages/graphin-components/package.json
@@ -1,6 +1,6 @@
{
"name": "@antv/graphin-components",
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.9",
"description": "Components for graphin",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -40,7 +40,7 @@
"jest": "^25.4.0",
"jest-canvas-mock": "^2.1.2",
"less": "^3.10.3",
"less-loader": "^6.1.0",
"less-loader": "^5.0.0",
"mini-css-extract-plugin": "^0.8.0",
"react-color": "^2.19.3",
"react-pie-menu": "^0.2.5",
Expand All @@ -55,7 +55,7 @@
"webpack-cli": "^3.3.10"
},
"dependencies": {
"@antv/graphin": "2.0.0-beta.5",
"@antv/graphin": "2.0.0-beta.9",
"react-color": "^2.19.3"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/graphin-components/src/index.ts
Expand Up @@ -13,4 +13,5 @@ export { default as Toolbar } from './Toolbar';
export { default as MiniMap } from './MiniMap';
export { default as Legend } from './Legend';

export * as Type from './typing';
// @ts-ignore
// export * as Type from './typing';

0 comments on commit bfb83fa

Please sign in to comment.