Skip to content

chore: modernize repo tooling and dependencies#8

Merged
simllll merged 12 commits intomainfrom
claude/modernize-repo-analysis-TFyXJ
Jan 22, 2026
Merged

chore: modernize repo tooling and dependencies#8
simllll merged 12 commits intomainfrom
claude/modernize-repo-analysis-TFyXJ

Conversation

@simllll
Copy link
Owner

@simllll simllll commented Jan 21, 2026

No description provided.

claude and others added 9 commits January 21, 2026 23:21
Major dependency updates:
- Migrate redis-storage from redis@3.x to redis@4.x (native promises)
- Update @types/node from 18.19.0 to ^20.0.0
- Upgrade TypeScript from 5.1.6 to ^5.7.0
- Upgrade ESLint from 8.x to 9.x with flat config
- Upgrade Prettier from 2.x to 3.x
- Migrate test framework from Mocha to Vitest

ESM conversion:
- Add "type": "module" to root package.json
- Convert gulpfile.js to ESM syntax

Code quality:
- Remove deprecated bluebird dependency
- Remove old .eslintrc.js in favor of eslint.config.js
- Update tsconfig.json with modern settings (NodeNext modules, ES2022)
- Convert all test files from Mocha/assert to Vitest/expect
- Remove gulp, del, and glob dependencies
- Add rimraf for cross-platform file deletion
- Convert gulp tasks to npm scripts:
  - clean: removes dist and .tmp directories
  - clean:modules: removes node_modules from packages
  - clean:all: runs both clean tasks
- Remove gulpfile.js
Replace legacy main/types fields with the modern exports field
for all packages. This provides:
- Better encapsulation of package internals
- Proper TypeScript resolution via types condition
- Future-proof for subpath exports if needed

All packages now use:
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    }
  }
Use a GitHub App token instead of GITHUB_TOKEN so that commits
made by the changeset bot will trigger subsequent workflow runs
(CI checks).

Required setup:
1. Create a GitHub App with Contents: write permission
2. Install the app on the repository
3. Add BOT_APP_ID as a repository variable
4. Add BOT_APP_PRIVATE_KEY as a repository secret
@changeset-bot
Copy link

changeset-bot bot commented Jan 22, 2026

⚠️ No Changeset found

Latest commit: 63ae491

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- Add Redis 7 service container to test workflow
- Update redis storage test to use CI Redis when REDIS_HOST/REDIS_PORT set
- Fall back to redis-memory-server for local development
- Fixes timeout issues on Node 20
- Remove redis-memory-server from devDependencies
- Tests now require actual Redis (CI service container or local Docker)
- Faster installs, no 4MB binary download
Repository owner deleted a comment from github-actions bot Jan 22, 2026
Repository owner deleted a comment from github-actions bot Jan 22, 2026
@simllll simllll merged commit 6d4a6c8 into main Jan 22, 2026
5 checks passed
@simllll simllll deleted the claude/modernize-repo-analysis-TFyXJ branch January 22, 2026 14:47
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