Skip to content

Commit f9095e8

Browse files
committed
remove npm workspaces + use published utils package
1 parent 31df2aa commit f9095e8

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ It also contains the following applications:
1010
- [`hyperparam`](./apps/cli): a cli tool for viewing arbitrarily large datasets in the browser.
1111
- [`hightable-demo`](./apps/hightable-demo): an example project showing how to use [hightable](https://github.com/hyparam/hightable).
1212
- [`hyparquet-demo`](./apps/hyparquet-demo): an example project showing how to use [hyparquet](https://github.com/hyparam/hyparquet).
13+
14+
## Development
15+
16+
The dependencies between the packages and applications of this monorepo are pinned, and the packages are published to npm. It means that the changes in a dependency are not automatically reflected in the dependent package or application.
17+
18+
To make the development easier, you can locally replace the npm dependencies with the local packages, replacing the pinned versions (eg `"@hyparam/utils": "0.1.0",`) with a relative path (`"@hyparam/utils": "file:../../packages/utils",`). It's not ideal, we might switch to pnpm or yarn workspaces in the future.

apps/hyparquet-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "vitest run --dir test"
1414
},
1515
"dependencies": {
16-
"@hyparam/utils": "file:../../packages/utils",
16+
"@hyparam/utils": "0.1.0",
1717
"hyparquet": "1.5.0",
1818
"hyparquet-compressors": "0.1.4",
1919
"hightable": "0.7.0",

package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test": "vitest run"
3939
},
4040
"dependencies": {
41-
"@hyparam/utils": "file:../utils",
41+
"@hyparam/utils": "0.1.0",
4242
"hightable": "0.6.3",
4343
"hyparquet": "1.5.0",
4444
"hyparquet-compressors": "0.1.4"

0 commit comments

Comments
 (0)