Skip to content

Commit

Permalink
feat(components): build and use components in a separate index.html #35
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Apr 10, 2024
1 parent 29a7af0 commit 0a95979
Show file tree
Hide file tree
Showing 20 changed files with 857 additions and 93 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defaults:

jobs:
linter:
name: Run linter
name: Run checks and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -33,6 +33,9 @@ jobs:
- name: Run linter
run: npm run lint

- name: Build
run: npm run build

unit_tests:
name: Run unit tests
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
!.vscode/extensions.json

*storybook.log
**/node_modules
2 changes: 1 addition & 1 deletion components/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/node_modules/
/lib/
/dist/
/test/
Expand All @@ -13,3 +12,4 @@ storybook-static/
/playwright/.cache/

*storybook.log
genspectrum-dashboard-components*.tgz
11 changes: 0 additions & 11 deletions components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,3 @@ To run tests, run:
```bash
npm run test
```

## Example usage

To see the components in action, run:

```bash
npm run serve
```

This will start a server at http://localhost:5173/ that shows the components that are used in
`index.html`.
59 changes: 0 additions & 59 deletions components/index.html

This file was deleted.

Loading

0 comments on commit 0a95979

Please sign in to comment.