Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d53cb19
chore: clean up package.json metadata for npm discoverability
bbopen Mar 11, 2026
8999723
chore: update tywrap-ir PyPI classifiers and docs URL
bbopen Mar 11, 2026
c6c670b
docs: add Why tywrap comparison table, badges, and star CTA
bbopen Mar 11, 2026
273d616
docs: add AGENTS.md and CLAUDE.md for AI coding agent discoverability
bbopen Mar 11, 2026
9512fa7
chore: install vitepress and add docs scripts
bbopen Mar 11, 2026
ff24cc4
docs: add vitepress config with full sidebar
bbopen Mar 11, 2026
ba36410
docs: add vitepress landing page
bbopen Mar 11, 2026
b25256b
docs: migrate existing docs into vitepress guide/reference structure
bbopen Mar 11, 2026
49d05f3
docs: add Bun, Deno, HTTP, and runtime comparison guides
bbopen Mar 11, 2026
fde1577
docs: add CLI reference page
bbopen Mar 11, 2026
c00d2d0
docs: add environment variables reference page
bbopen Mar 11, 2026
fdd4082
docs: add llms.txt and llms-full.txt for AI agent discoverability
bbopen Mar 11, 2026
e383eb0
docs: remove ignoreDeadLinks now that all reference pages exist
bbopen Mar 11, 2026
f527321
ci: add github pages docs deploy workflow
bbopen Mar 11, 2026
7f61424
ci: add codecov coverage upload
bbopen Mar 11, 2026
3d3300f
ci: add file-based pr auto-labeling
bbopen Mar 11, 2026
afdd892
ci: add stale issue and pr management workflow
bbopen Mar 11, 2026
c7a3a7a
chore: add renovate config for automated dependency updates
bbopen Mar 11, 2026
826c913
ci: add release-please workflow for automated changelog and npm publish
bbopen Mar 11, 2026
b7c415b
chore: add vitepress dirs to gitignore and commit implementation plan
bbopen Mar 11, 2026
5b1cee7
chore: swap renovate for dependabot (npm, pip, github-actions)
bbopen Mar 11, 2026
8228937
fix(ci): resolve @types/react peer dep conflict breaking npm ci
bbopen Mar 11, 2026
27f47a2
fix: address review findings across docs, CI, and metadata
bbopen Mar 16, 2026
4942383
fix(runtime): harden advanced typing and worker recovery
bbopen Mar 16, 2026
18ff997
fix(types): unblock py310 advanced typing
bbopen Mar 17, 2026
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
50 changes: 50 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
version: 2
updates:
# npm dependencies
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "America/New_York"
groups:
typescript-types:
patterns:
- "@types/*"
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
open-pull-requests-limit: 5
labels:
- "area:ci"

# Python dependencies
- package-ecosystem: "pip"
directory: "/tywrap_ir"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "America/New_York"
open-pull-requests-limit: 3
labels:
- "area:ci"
Comment on lines +24 to +34
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial

Consider adding grouping for pip dependencies.

The pip ecosystem configuration is functional but lacks grouping, unlike the other ecosystems. If the /tywrap_ir project has multiple dependencies, each update will create a separate PR.

♻️ Optional: Add grouping similar to other ecosystems
   - package-ecosystem: "pip"
     directory: "/tywrap_ir"
     schedule:
       interval: "weekly"
       day: "monday"
       time: "06:00"
       timezone: "America/New_York"
+    groups:
+      python-dependencies:
+        patterns:
+          - "*"
+        update-types:
+          - "minor"
+          - "patch"
     open-pull-requests-limit: 3
     labels:
       - "area:ci"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Python dependencies
- package-ecosystem: "pip"
directory: "/tywrap_ir"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "America/New_York"
open-pull-requests-limit: 3
labels:
- "area:ci"
# Python dependencies
- package-ecosystem: "pip"
directory: "/tywrap_ir"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "America/New_York"
groups:
python-dependencies:
patterns:
- "*"
update-types:
- "minor"
- "patch"
open-pull-requests-limit: 3
labels:
- "area:ci"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/dependabot.yml around lines 24 - 34, Add a "groups" block to the
dependabot entry for package-ecosystem: "pip" and directory: "/tywrap_ir" so pip
updates are batched; e.g., create a group name (like "tywrap_ir-deps") and set
its "patterns" to match your Python dependency files (e.g., "requirements.txt",
"pyproject.toml", "*.in" or a catch-all pattern) so multiple dependency updates
in /tywrap_ir are combined into a single PR instead of separate ones.


# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "America/New_York"
groups:
github-actions:
patterns:
- "*"
open-pull-requests-limit: 3
labels:
- "area:ci"
39 changes: 39 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
area:runtime:
- changed-files:
- any-glob-to-any-file:
- 'src/runtime/**'
- 'test/runtime*'
- 'runtime/**'

area:codegen:
- changed-files:
- any-glob-to-any-file:
- 'src/core/**'
- 'src/config/**'
- 'src/tywrap.ts'
- 'src/cli.ts'
- 'tywrap_ir/**'
- 'test/python/**'
- 'test/cli*'

area:types:
- changed-files:
- any-glob-to-any-file:
- 'src/types/**'
- 'test-d/**'
- 'tsd.json'

area:docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '*.md'
- 'CONTRIBUTING.md'
- 'AGENTS.md'
- 'CLAUDE.md'
Comment on lines +26 to +33
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick | 🔵 Trivial

Minor redundancy in docs patterns.

Lines 29-31 (CONTRIBUTING.md, AGENTS.md, CLAUDE.md) are already covered by the *.md glob pattern on line 28. These explicit entries are redundant but harmless—they may serve as documentation of important files.

♻️ Optional: Remove redundant entries
 area:docs:
   - changed-files:
       - any-glob-to-any-file:
           - 'docs/**'
           - '*.md'
-          - 'CONTRIBUTING.md'
-          - 'AGENTS.md'
-          - 'CLAUDE.md'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
area:docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '*.md'
- 'CONTRIBUTING.md'
- 'AGENTS.md'
- 'CLAUDE.md'
area:docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- '*.md'
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/labeler.yml around lines 24 - 31, The labeler config under the
"area:docs" rule contains redundant explicit file entries ('CONTRIBUTING.md',
'AGENTS.md', 'CLAUDE.md') because the '*.md' glob already matches them; update
the "any-glob-to-any-file" list in the area:docs rule to remove those explicit
filenames (leave '*.md' and 'docs/**' intact) so the rule is not redundant—look
for the "area:docs" block and the "any-glob-to-any-file" list to make this
change.


area:ci:
- changed-files:
- any-glob-to-any-file:
- '.github/**'
- 'scripts/**'
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ jobs:
env:
NODE_OPTIONS: --expose-gc
TYWRAP_PERF_BUDGETS: '1'
run: npm test
run: ${{ (matrix.node-version == 22 && matrix.python-version == '3.11') && 'npm run test:coverage' || 'npm test' }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
if: matrix.node-version == 22 && matrix.python-version == '3.11'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/lcov.info
fail_ci_if_error: false

python-suite-core:
if: github.event_name != 'schedule'
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Deploy Docs to GitHub Pages

on:
push:
branches: [main]
workflow_dispatch:

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

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm

- uses: actions/configure-pages@v4

- name: Install dependencies
run: npm ci --prefer-offline --no-audit

- name: Build VitePress site
run: npm run docs:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR Labeler

on:
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
labeler:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
188 changes: 0 additions & 188 deletions .github/workflows/publish.yml

This file was deleted.

Loading
Loading