Skip to content

chore: align package configuration with @nlib/typing#400

Merged
gjbkz merged 3 commits intomainfrom
chore/align-package-config-with-typing
Feb 20, 2026
Merged

chore: align package configuration with @nlib/typing#400
gjbkz merged 3 commits intomainfrom
chore/align-package-config-with-typing

Conversation

@gjbkz
Copy link
Member

@gjbkz gjbkz commented Feb 20, 2026

Summary

  • Replace ESLint + Prettier with Biome.js (v2.2.5) for linting and formatting
  • Add jsr.io publishing support (jsr.json, cli/sync-version.ts)
  • Rename source files from .mts to .ts, update internal imports (.mjs.ts)
  • Replace @nlib/indexen with custom cli/generate-index.ts
  • Replace rename-cjs.mjs with custom cli/build.ts + cli/util.ts (TypeScript compiler API)
  • Add tsconfig.types.json for clean type declaration output (excludes test files)
  • Update package.json: "type": "module", new exports (mjs/mod.mjs, cjs/mod.cjs, types/mod.d.ts), trimmed devDependencies
  • Update CI: Node 24.x, add Bun / Deno / JSR dry-run test jobs
  • Update release.yml: add JSR publish job + npm provenance (--provenance)
  • Simplify git hooks: remove lint-staged, remove commit-msg hook

Test plan

  • npm run lint — Biome passes
  • npm run test — 27 unit tests pass (Node.js built-in runner)
  • npm run build — generates mjs/, cjs/, types/ correctly
  • CI: Bun and Deno test jobs (will run in GitHub Actions)
  • CI: JSR dry-run publish

🤖 Generated with Claude Code

gjbkz and others added 3 commits February 20, 2026 10:25
- Replace ESLint + Prettier with Biome.js (v2.2.5)
- Add jsr.io publishing support (jsr.json, cli/sync-version.ts)
- Rename source files from .mts to .ts, update imports .mjs→.ts
- Replace @nlib/indexen with custom cli/generate-index.ts
- Replace rename-cjs.mjs with custom cli/build.ts + cli/util.ts
- Add tsconfig.types.json for clean type declaration builds
- Update package.json: type=module, new exports (mod.mjs/mod.cjs/mod.d.ts), clean devDeps
- Update CI: Node 24.x, add Bun/Deno/JSR dry-run test jobs
- Update release.yml: add JSR publish + npm provenance
- Simplify git hooks: remove lint-staged, remove commit-msg hook

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gjbkz gjbkz merged commit 62b1dd4 into main Feb 20, 2026
6 checks passed
@gjbkz gjbkz deleted the chore/align-package-config-with-typing branch February 20, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant