Skip to content

Commit

Permalink
vendor: add files entry to package.json (#1724)
Browse files Browse the repository at this point in the history
* vendor: add files entry to package.json

* ts: update refs

* ts: add type:clean
  • Loading branch information
williaster authored Jun 29, 2023
1 parent 766c087 commit f1c3552
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@
"test": "yarn run jest",
"test:watch": "yarn run jest --watch",
"ts": "ts-node --project ./tsconfig.node.json",
"type": "lerna exec --parallel -- tsc --build",
"type": "yarn type:clean && yarn type:build",
"type:build": "lerna exec --parallel -- tsc --build",
"type:clean": "find . -type f -name 'tsconfig.tsbuildinfo' -delete",
"type:pkg": "lerna exec --scope $PKG -- tsc --build --verbose",
"type:update-refs": "yarn run ts ./scripts/updateTsReferences.ts",
"vendor-check": "yarn run ts ./packages/visx-vendor/scripts/flagVendorRequirements.ts"
Expand Down
11 changes: 9 additions & 2 deletions packages/visx-vendor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,12 @@
"import": "./esm/internmap.js",
"require": "./lib/internmap.js"
}
}
}
},
"files": [
"lib/",
"esm/",
"vendor-cjs/",
"./d3-*",
"./internmap.js"
]
}
4 changes: 2 additions & 2 deletions packages/visx-xychart/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"path": "../visx-tooltip"
},
{
"path": "../visx-voronoi"
"path": "../visx-vendor"
},
{
"path": "../visx-vendor"
"path": "../visx-voronoi"
}
]
}

0 comments on commit f1c3552

Please sign in to comment.