Skip to content

chore: Update devDependencies and migrate to ESM#63

Merged
shinpr merged 2 commits intomainfrom
chore/update-dev-dependencies
Mar 8, 2026
Merged

chore: Update devDependencies and migrate to ESM#63
shinpr merged 2 commits intomainfrom
chore/update-dev-dependencies

Conversation

@shinpr
Copy link
Owner

@shinpr shinpr commented Mar 8, 2026

Summary

  • Update @types/node (^20 → ^25) and tsc-alias (^1.8.7 → ^1.8.16)
  • Remove unmaintained ts-prune (archived since 2022) and its check:unused script
  • Migrate entire project from CommonJS to ESM ("type": "module", Node16 module resolution, .js import extensions)

Test plan

  • npm run check:all passes (lint, format, circular deps, build, 161 tests)
  • node dist/index.js skills install --path /tmp/test works correctly
  • node dist/index.js skills install --help displays help

🤖 Generated with Claude Code

shinpr and others added 2 commits March 8, 2026 11:49
- Bump @types/node ^20.19.37 → ^25.3.5
- Bump tsc-alias ^1.8.7 → ^1.8.16
- Remove ts-prune (archived, unmaintained since 2022)
- Remove check:unused script and its reference in check:all

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Set "type": "module" in package.json
- Change tsconfig module/moduleResolution to Node16
- Convert src/index.ts from require() to dynamic import()
- Replace __dirname with import.meta.url pattern
- Add .js extensions to all relative imports in source files
- Convert bin/install-skills.js and scripts/show-coverage.js to ESM

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shinpr shinpr self-assigned this Mar 8, 2026
@shinpr shinpr merged commit 31e63fc into main Mar 8, 2026
1 check passed
@shinpr shinpr deleted the chore/update-dev-dependencies branch March 8, 2026 03:02
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