Skip to content

Replace esbuild with tools-rolldown, add release files#1

Merged
vitbokisch merged 8 commits into
mainfrom
chore/rolldown-and-release-prep
Mar 21, 2026
Merged

Replace esbuild with tools-rolldown, add release files#1
vitbokisch merged 8 commits into
mainfrom
chore/rolldown-and-release-prep

Conversation

@vitbokisch
Copy link
Copy Markdown
Contributor

Summary

  • Build system: Replaced custom esbuild.config.ts (120 LOC) with declarative vl-tools.config.mjs using @vitus-labs/tools-rolldown, aligning with the vitus-labs ecosystem
  • Release files: Added MIT LICENSE, proper README with setup/architecture docs, and CHANGELOG for v0.1.0
  • CI hardening: SHA-pinned claude-code-action@beta in claude-review workflow
  • Deps updated: All packages to latest (@types/chrome 0.1.38, esbuild removed, vitest 4.1.0, happy-dom 20.8.4, rolldown via tools-rolldown)

Test plan

  • bun run check — biome lint/format passes
  • bun run typecheck — zero TS errors
  • bun run build — 5 bundles via rolldown, manifest version synced
  • bun run test -- --coverage — 25/25 tests, 100% coverage
  • Load dist/ as unpacked extension in Chrome — panel appears on Pyreon pages

🤖 Generated with Claude Code

vitbokisch and others added 8 commits March 20, 2026 08:55
Switch build system from custom esbuild config to declarative
vl-tools.config.mjs using @vitus-labs/tools-rolldown, aligning with
the vitus-labs ecosystem. Add LICENSE (MIT), README, and CHANGELOG
for v0.1.0 release readiness. Pin claude-code-action SHA in CI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Lint job: replace `biome lint` + `biome format --check` with
  single `biome check` (Biome v2 removed --check flag)
- Audit job: replace `bun pm audit` with `npx audit-ci --high`
  (bun removed audit subcommand)
- Dependency review: add continue-on-error (needs Advanced Security)
- Test job: remove unnecessary build step before tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace npm-based audit with native `bun audit --audit-level=high`
- Fix dependency-update workflow to use same command
- Update CI rules doc

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The tar vulnerabilities are in transitive devDependencies only
(tools-rolldown > rollup-plugin-filesize > pacote > cacache > tar)
and are not shipped in the extension. Use critical level to avoid
false positives from upstream devDep chains.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Job-level permissions are restricted by the top-level permissions
block. CodeQL needs security-events: write to upload SARIF results.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CodeQL SARIF upload requires Code scanning to be enabled in repo
Security settings. Mark as non-blocking until configured.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@vitbokisch vitbokisch merged commit 20cfe77 into main Mar 21, 2026
8 of 9 checks passed
@vitbokisch vitbokisch deleted the chore/rolldown-and-release-prep branch March 21, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants