Skip to content

Commit

Permalink
[all] Try to fix #54
Browse files Browse the repository at this point in the history
  • Loading branch information
sim51 committed Jun 28, 2023
1 parent 12fdb4d commit 67940c8
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 8 deletions.
5 changes: 4 additions & 1 deletion project/packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_core.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_core.esm.min.js",
".": {
"default": "./lib/react-sigma_core.esm.min.js",
"types": "./lib/index.d.ts"
},
"./lib/react-sigma.min.css": "./lib/react-sigma.min.css"
},
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-circlepack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"module": "./lib/react-sigma_layout-circlepack.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-circlepack.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-circlepack.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-circular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-circular.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-circular.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-circular.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"publishConfig": {
"access": "public",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-core.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-core.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-core.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-force/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-force.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-force.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-force.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-forceatlas2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-forceatlas2.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-forceatlas2.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-forceatlas2.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-noverlap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-noverlap.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-noverlap.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-noverlap.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down
5 changes: 4 additions & 1 deletion project/packages/layout-random/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"module": "./lib/react-sigma_layout-random.esm.min.js",
"typings": "./lib/index.d.ts",
"exports": {
".": "./lib/react-sigma_layout-random.esm.min.js"
".": {
"default": "./lib/react-sigma_layout-random.esm.min.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"clean": "rimraf lib tsconfig.tsbuildinfo .rollup.cache",
Expand Down

0 comments on commit 67940c8

Please sign in to comment.