Skip to content

To vite, vitest, oxc, ...#8

Merged
baxyz merged 18 commits into
mainfrom
to-vite
Feb 4, 2026
Merged

To vite, vitest, oxc, ...#8
baxyz merged 18 commits into
mainfrom
to-vite

Conversation

@baxyz

@baxyz baxyz commented Jan 19, 2026

Copy link
Copy Markdown
Contributor
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • New CI

  • What is the current behavior? (You can also link to an open issue here)

  • bun CI

  • What is the new behavior (if this is a feature change)?

  • Vite (plus) CI

  • Other information:

  • Improve PR validation also

baxyz added 9 commits January 19, 2026 22:26
- Replace Bun with Node.js as runtime
- Replace bun:test with Vitest for testing
- Update package.json with new dependencies (vite, vitest, tsx, oxlint)
- Add vitest.config.ts configuration
- Update tsconfig.json for modern bundler moduleResolution
- Remove bun.lockb and bunfig.toml
- Migrate all test files from bun:test to vitest
- Fix spyOn usage in consoleLogPromise.test.ts to use vi.spyOn
- Replace Bun.build with Vite for JS bundling
- Use rollup-plugin-dts for .d.ts generation
- Create utils module for file operations
- Migrate all build helpers to use Node.js fs APIs
- Update coherency scripts to use Node.js
- Update license script to use glob package
- Add glob as dev dependency
- All builds now generate proper .d.ts files
- Update all GitHub Actions to use Node.js 22 instead of Bun
- Replace oven-sh/setup-bun with actions/setup-node
- Change bun install to npm ci
- Change bun run commands to npm run
- Update cache paths from bun.lockb to package-lock.json
- Update devcontainer to use Node.js 22 feature
- Replace Bun VS Code extension with Vitest Explorer
- Update release workflow to use npx tsx for scripts
- Update all README.md files to use npm/npx tsx commands
- Update RELEASE.md and ARCHITECTURE.md documentation
- Update scripts to reference npm commands instead of bun
- Update pre-release-validator to check npm instead of bun
- Update release.ts to use npm run commands
- Update pr-validation.yml workflow jobs
- Update SECURITY.md to reference npm audit
- Update .editorconfig and .cspell.json for new lockfile
- Replace npm with pnpm 9.15.4 as package manager
- Update all GitHub Actions to use pnpm/action-setup@v4
- Upgrade Node.js version requirement from 20 to 24
- Configure pnpm store as Docker volume in devcontainer
- Add PNPM_HOME environment variable to devcontainer
- Update all documentation to use pnpm commands
- Replace package-lock.json with pnpm-lock.yaml
- Add parse() function to parse semantic version strings
- Export ParsedVersion interface for typed results
- Support core version (MAJOR.MINOR.PATCH)
- Support pre-release identifiers (-alpha, -beta.1, -rc.1)
- Support build metadata (+build, +sha.abc123)
- Support optional 'v' prefix
- Add comprehensive test suite (20 tests)
- Import parse() from ./parse instead of inline parseVersion
- Full SemVer 2.0.0 compliance maintained
- Comprehensive test suite (16 tests) for compare function
- Tests cover: core version, prerelease, build metadata, edge cases
- Add toISO8601(): Convert to ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)
- Add toRFC3339(): Convert to RFC 3339 format (with optional milliseconds)
- Add toRFC2822(): Convert to RFC 2822 format (email/HTTP headers)
- All functions handle Date, timestamp, or date string inputs
- Return null for invalid dates
- Add comprehensive test suite (19 tests)
- Document project overview and tech stack
- Define coding conventions and file structure
- Explain testing guidelines with Vitest
- Document build system (Vite + Rollup)
- List standards: SemVer 2.0.0, ISO 8601, RFC 3339, RFC 2822
- Provide common tasks and commit message format
- Include CI/CD and DevContainer setup details
@github-actions

github-actions Bot commented Jan 19, 2026

Copy link
Copy Markdown
Contributor

🔍 PR Validation Summary

Job Status
Version Calculation ⚠️ unknown
Build ⚠️ unknown
Test ⚠️ unknown
Security Audit ✅ success
Lint ⚠️ unknown
Type Check ⚠️ unknown
Coherency Tests ⚠️ unknown

- Configure Vitest with json-summary reporter for CI
- Add coverage thresholds (current: 80%, target: 100%)
- Update run-unit-tests action to support coverage input
- Extract coverage metrics (lines, branches, functions, statements)
- Display coverage table with progress bars in PR comment
- Show overall status based on jobs + coverage results
baxyz added 2 commits February 4, 2026 22:06
- Deleted the `run-verification`, `setup-environment`, and `version-manager` actions as they are no longer needed.
- Updated the `pr-validation` workflow to use new job workflows for build, test, lint, and verification.
- Introduced new job workflows: `job-build`, `job-lint`, `job-security`, `job-tests`, `job-typecheck`, and `job-verification` to modularize the CI process.
- Enhanced the `release` workflow to include a dry-run option for safer releases.
- Improved Node.js version handling across workflows for consistency.
baxyz added 2 commits February 4, 2026 22:34
- Add .github/copilot-instructions.md for Copilot guidance
- Document preference for Claude models over GPT
- Include key coding conventions and guidelines
- Reference AGENTS.md for detailed project context
- Remove pull_request_target trigger that caused workflow conflicts
- Simplify workflow to use only pull_request for internal PRs
- Remove IS_TRUSTED_PR conditions no longer needed
- Delete redundant copilot-instructions.md (AGENTS.md suffices)
- Update AGENTS.md with critical restrictions (no git push, no GPT models)
@baxyz baxyz merged commit 89ee0ef into main Feb 4, 2026
6 of 9 checks passed
@baxyz baxyz deleted the to-vite branch February 4, 2026 22:46
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.

1 participant