Skip to content

Commit

Permalink
feat(voronoi): init TypeScript setup
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc authored and wyze committed Apr 26, 2021
1 parent a00ef4a commit 74621c0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/voronoi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
],
"main": "./dist/nivo-voronoi.cjs.js",
"module": "./dist/nivo-voronoi.es.js",
"typings": "./index.d.ts",
"typings": "./dist/types/index.d.ts",
"files": [
"README.md",
"LICENSE.md",
"dist/",
"index.d.ts"
"!dist/tsconfig.tsbuildinfo"
],
"dependencies": {
"d3-delaunay": "^5.1.1",
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions packages/voronoi/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.types.json",
"compilerOptions": {
"outDir": "./dist/types",
"rootDir": "./src"
},
"include": ["src/**/*"]
}
1 change: 1 addition & 0 deletions tsconfig.monorepo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{ "path": "./packages/recompose" },

// Charts now
{ "path": "./packages/voronoi" },
{ "path": "./packages/bullet" },
{ "path": "./packages/circle-packing" },
{ "path": "./packages/marimekko" },
Expand Down

0 comments on commit 74621c0

Please sign in to comment.