Skip to content

Commit 5b90727

Browse files
committedSep 1, 2021
feat(sankey): init TypeScript migration
1 parent d9213a7 commit 5b90727

File tree

102 files changed

+1522
-1505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+1522
-1505
lines changed
 

‎packages/sankey/index.d.ts

-124
This file was deleted.

‎packages/sankey/package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,28 @@
2121
],
2222
"main": "./dist/nivo-sankey.cjs.js",
2323
"module": "./dist/nivo-sankey.es.js",
24+
"typings": "./dist/types/index.d.ts",
2425
"files": [
2526
"README.md",
2627
"LICENSE.md",
27-
"index.d.ts",
28-
"dist/"
28+
"dist/",
29+
"!dist/tsconfig.tsbuildinfo"
2930
],
3031
"dependencies": {
3132
"@nivo/colors": "0.73.0",
3233
"@nivo/legends": "0.73.0",
3334
"@nivo/tooltip": "0.73.0",
3435
"@react-spring/web": "9.2.4",
35-
"d3-sankey": "^0.12.1",
36+
"d3-sankey": "^0.12.3",
3637
"d3-shape": "^1.3.5",
3738
"lodash": "^4.17.21"
3839
},
3940
"devDependencies": {
40-
"@nivo/core": "0.73.0"
41+
"@nivo/core": "0.73.0",
42+
"@types/d3-sankey": "^0.11.2"
4143
},
4244
"peerDependencies": {
4345
"@nivo/core": "0.73.0",
44-
"prop-types": ">= 15.5.10 < 16.0.0",
4546
"react": ">= 16.14.0 < 18.0.0"
4647
},
4748
"publishConfig": {

0 commit comments

Comments
 (0)
Please sign in to comment.