Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"workspaceFolder": "/workspaces/react-vtree",
"runArgs": ["--name=reactvtree_dev"],
"containerEnv": {
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
"PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD": "1",
"CODEX_HOME": "/workspaces/react-vtree/.agents/codex"
},
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
workflow_dispatch:
push:
branches: [master]
branches: [main]
paths:
- '.github/workflows/ci.yml'
- '__stories__/**'
Expand All @@ -21,7 +21,7 @@ on:
- 'tsconfig.json'
- 'vitest.config.ts'
pull_request:
branches: [master]
branches: [main]
types: [opened, synchronize, reopened]
paths:
- '.github/workflows/ci.yml'
Expand Down Expand Up @@ -59,3 +59,10 @@ jobs:
run: npm ci
- name: Check
run: npm run check
- name: Coverage
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: .coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
40 changes: 40 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: GitHub Pages

on:
workflow_run:
workflows: [CI]
branches: [main]
types: [completed]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: true

jobs:
deploy:
name: Build & Deploy Storybook
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
timeout-minutes: 10
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
cache: npm
node-version: lts/*
- run: npm ci
- run: npm run storybook:build
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v4
with:
path: storybook-static
- id: deployment
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# testing
/.nyc_output
/coverage
/.coverage
/storybook-static

# production
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
[![Latest Stable Version](https://img.shields.io/npm/v/react-vtree.svg)](https://www.npmjs.com/package/react-vtree)
[![License](https://img.shields.io/npm/l/react-vtree.svg)](./LICENSE)
[![CI Status](https://github.com/Lodin/react-vtree/workflows/CI/badge.svg)](https://github.com/Lodin/react-vtree/actions)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=Lodin_react-vtree&metric=coverage)](https://sonarcloud.io/dashboard?id=Lodin_react-vtree)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Lodin_react-vtree&metric=bugs)](https://sonarcloud.io/dashboard?id=Lodin_react-vtree)
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=Lodin_react-vtree&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=Lodin_react-vtree)
[![Coverage](https://codecov.io/gh/Lodin/react-vtree/branch/main/graph/badge.svg)](https://codecov.io/gh/Lodin/react-vtree)

This package provides a lightweight and flexible solution for rendering large tree structures. It is built on top of the [react-window](https://github.com/bvaughn/react-window) library.

Expand Down
Binary file removed docs/favicon.ico
Binary file not shown.
74 changes: 0 additions & 74 deletions docs/iframe.html

This file was deleted.

19 changes: 0 additions & 19 deletions docs/index.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.1f5d05ff1080719ccfd7.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/main.3bee8bdae6551f0ed35f.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime~main.286b69a873d49f2f199c.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/runtime~main.3bee8bdae6551f0ed35f.bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/sb_dll/storybook_ui-manifest.json

This file was deleted.

113 changes: 0 additions & 113 deletions docs/sb_dll/storybook_ui_dll.LICENCE

This file was deleted.

2 changes: 0 additions & 2 deletions docs/sb_dll/storybook_ui_dll.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/vendors~main.3bee8bdae6551f0ed35f.bundle.js

This file was deleted.

111 changes: 0 additions & 111 deletions docs/vendors~main.bdf11623c948ac9dd748.bundle.js

This file was deleted.

Loading
Loading