Skip to content

Commit 2babf12

Browse files
committed
Initial public release: @datasketch/monkeytab@0.2.0
An embeddable, editable React table component. Contents: - src/ — types, UI, browser entry, in-memory adapter - tests/ — Vitest suite (14 tests across 5 files) - examples/browser-standalone — runnable demo - docs/guides, docs/reference — rendered at monkeytab.com - .github/workflows/ci.yml — build + typecheck + test + coverage - .github/ISSUE_TEMPLATE/, .github/PULL_REQUEST_TEMPLATE.md License: MIT
1 parent 18f05ba commit 2babf12

132 files changed

Lines changed: 27636 additions & 11 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Bug report
3+
about: Something isn't working as documented
4+
labels: bug
5+
---
6+
7+
**What's wrong**
8+
9+
<!-- A short description of what you observed -->
10+
11+
**Steps to reproduce**
12+
13+
1.
14+
2.
15+
3.
16+
17+
**Expected behavior**
18+
19+
<!-- What you thought should happen instead -->
20+
21+
**Environment**
22+
23+
- `@datasketch/monkeytab` version:
24+
- React version:
25+
- Browser (if relevant):
26+
27+
**Minimal reproduction**
28+
29+
<!-- A CodeSandbox link or short snippet helps a lot. Optional but appreciated. -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new capability or improvement
4+
labels: enhancement
5+
---
6+
7+
**The use case**
8+
9+
<!-- What are you trying to do? Why does the current API make it hard? -->
10+
11+
**Proposal**
12+
13+
<!-- What would you like to see? Be as concrete as you can — props, API shape, behavior. -->
14+
15+
**Alternatives considered**
16+
17+
<!-- Other ways you've tried to solve this, if any. Optional. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--
2+
Thanks for contributing! A few quick things before you submit:
3+
4+
This repo is a public mirror — your PR will be reviewed here, applied
5+
upstream by a maintainer, and then merged in this repo. Your commit
6+
attribution stays on the PR. See CONTRIBUTING.md → "How PRs get merged"
7+
for the full flow.
8+
-->
9+
10+
**What this changes**
11+
12+
<!-- One or two sentences. What does this PR do, and why? -->
13+
14+
**Type of change**
15+
16+
- [ ] Bug fix
17+
- [ ] New feature
18+
- [ ] Documentation
19+
- [ ] Refactor / internals
20+
- [ ] Test
21+
22+
**Tests**
23+
24+
<!-- Did you add or update tests? If not, why not? -->
25+
26+
**Checklist**
27+
28+
- [ ] I read [CONTRIBUTING.md](../CONTRIBUTING.md)
29+
- [ ] `npm run build` succeeds
30+
- [ ] `npm test` passes

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
# Cancel in-progress runs for the same branch when a new push lands.
10+
concurrency:
11+
group: ci-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
test:
16+
name: Build & test
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Setup Node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: '20'
27+
cache: 'npm'
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Type-check source
33+
run: npm run build:check
34+
35+
- name: Build
36+
run: npm run build
37+
38+
- name: Run tests with coverage
39+
run: npm run test:coverage
40+
41+
- name: Upload coverage report
42+
if: always()
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: coverage-report
46+
path: coverage/
47+
retention-days: 7

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
node_modules
2+
dist
3+
coverage
4+
*.log
5+
.DS_Store
6+
.env
7+
.env.local
8+
.vite
9+
deno.lock
10+
11+
# Internal-only files written by the sync script — NEVER committed.
12+
# These contain context about the public/private split and the sync model.
13+
.local/
14+
CLAUDE.md
15+
.claude/

0 commit comments

Comments
 (0)