Skip to content

Commit ad8c29c

Browse files
authored
Move demos out to demos repo (#155)
1 parent e971b52 commit ad8c29c

Some content is hidden

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

55 files changed

+5
-1877
lines changed

.github/workflows/ci_apps_hightable_demo.yml

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

.github/workflows/ci_apps_hyparquet_demo.yml

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

.github/workflows/deploy_pages.yml

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

README.md

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ It contains the following packages, published to npm:
77
- [`@hyparam/components`](./packages/components): a library of React components and utilities for building Hyperparam UIs.
88
- [`hyperparam`](./packages/cli): a cli tool for viewing arbitrarily large datasets in the browser.
99

10-
It also contains the following applications:
11-
12-
- [`hightable-demo`](./apps/hightable-demo): an example project showing how to use [hightable](https://github.com/hyparam/hightable).
13-
- [`hyparquet-demo`](./apps/hyparquet-demo): an example project showing how to use [hyparquet](https://github.com/hyparam/hyparquet).
14-
1510
## Use
1611

1712
Install all the workspaces with:
@@ -44,20 +39,6 @@ Build all the workspaces (they are built in order, so the dependencies are built
4439
npm run build -ws
4540
```
4641

47-
Run an app:
48-
49-
- `hightable-demo`:
50-
51-
```bash
52-
npm run dev -w hightable-demo
53-
```
54-
55-
- `hyparquet-demo`:
56-
57-
```bash
58-
npm run dev -w hyparquet-demo
59-
```
60-
6142
- `hyperparam`:
6243

6344
```bash
@@ -74,10 +55,10 @@ npm run dev -w @hyparam/components
7455

7556
The monorepo is managed with [npm workspaces](https://docs.npmjs.com/cli/v10/using-npm/workspaces). Some workspaces are dependencies of others. Currently:
7657

77-
- `@hyparam/components` is a dependency of `hyperparam` and `hyparquet-demo`.
58+
- `@hyparam/components` is a dependency of `hyperparam`.
7859

79-
It means that if you make a change to `@hyparam/components`, you need to rebuild it before developing `hyperparam` or `hyparquet-demo`.
60+
It means that if you make a change to `@hyparam/components`, you need to rebuild it before developing `hyperparam`.
8061

81-
Also, if you increment the version of `@hyparam/components`, you need to update the version of `@hyparam/components` in the `package.json` of `hyperparam` and `hyparquet-demo`, as we use exact versions in the `package.json` of the workspaces. Note that we don't have to increment the version after every change, only when we want to publish a new version with a significant batch of changes.
62+
Also, if you increment the version of `@hyparam/components`, you need to update the version of `@hyparam/components` in the `package.json` of `hyperparam`, as we use exact versions in the `package.json` of the workspaces. Note that we don't have to increment the version after every change, only when we want to publish a new version with a significant batch of changes.
8263

8364
The root package.json contains a special field, `overrides`, which sets the shared dependencies versions we want to have in all the workspaces. The "check_dependencies" GitHub action checks that the dependencies are the same in all the workspaces (`npm ls` would fail if dependency version mismatch).

apps/hightable-demo/.gitignore

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

apps/hightable-demo/LICENSE

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

apps/hightable-demo/README.md

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

apps/hightable-demo/eslint.config.js

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

apps/hightable-demo/index.html

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

apps/hightable-demo/package.json

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

0 commit comments

Comments
 (0)