Skip to content
This repository was archived by the owner on Apr 22, 2026. It is now read-only.

Upgrade TypeScript to 5.9.2 - #14

Merged
nick-fields merged 2 commits into
masterfrom
devin/1770229860-upgrade-typescript
Feb 4, 2026
Merged

Upgrade TypeScript to 5.9.2#14
nick-fields merged 2 commits into
masterfrom
devin/1770229860-upgrade-typescript

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Feb 4, 2026

Copy link
Copy Markdown

Summary

Upgrades TypeScript from 5.6.2 to 5.9.2 and adds @types/node@25.2.0 as a dev dependency. The @types/node addition was required because TypeScript 5.9.2 has stricter type checking that conflicts with older Node type definitions (specifically around the Buffer interface extending Uint8Array).

Changes:

  • Updated typescript from 5.6.2 to 5.9.2
  • Added @types/node@25.2.0 to devDependencies
  • Updated pnpm-lock.yaml with new dependency resolutions

Updates since last revision

Rebased onto latest master after PR #13 (migrate to pnpm) was merged.

Review & Testing Checklist for Human

  • Verify the indentation in package.json devDependencies section looks correct (diff shows extra spaces were added)
  • Run pnpm install && pnpm run check to verify the project compiles without type errors
  • Run pnpm build && pnpm test to confirm build and tests pass locally
  • Review if any new TypeScript 5.9 features or stricter checks affect the codebase

Notes

This is the final PR in a stack of 3:

  1. Pin dependencies (PR Pin all dependencies to exact versions #12) - merged
  2. Migrate from yarn to pnpm (PR Migrate from yarn to pnpm #13) - merged
  3. This PR - Upgrade TypeScript to 5.9.2

Link to Devin run: https://app.devin.ai/sessions/430d7bdf45164595b92dfaa0b15d73d4
Requested by: @nick-fields

@devin-ai-integration

Copy link
Copy Markdown
Author
Original prompt from nick@flux.ai
# Pin All Dependencies to Exact Versions in package.json

## Background
The `package.json` file in the `buildwithflux/kicad-module-parser` repository currently uses caret (`^`) ranges for most dependencies, which allow minor and patch version updates. We need to pin all dependencies to their exact versions based on what's currently installed in the `yarn.lock` file.

## Task
Review the `yarn.lock` file to determine the exact versions currently being used for all dependencies listed in `package.json`, then update `package.json` to pin these dependencies to those exact versions (removing the `^` prefix).

## Current State
In `package.json`, the following dependencies need to be updated:

**DevDependencies** (most use caret ranges):
- `@types/argparse: ^2.0.10`
- `@types/fs-extra: ^11.0.1`
- `@types/js-yaml: ^4.0.5`
- `@types/klaw: ^3.0.6`
- `@types/node: ^22.5.5`
- `@types/through2: ^2.0.41`
- `pegjs: ^0.10.0`
- `prettier: ^3.3.3`
- `prettier-plugin-pegjs: ^2.0.2`

Note: `npm-run-all: 4.1.5`, `tsup: 8.3.5`, `tsx: 4.19.1`, and `typescript: 5.6.2` are already pinned.

**Dependencies** (all use caret ranges):
- `ajv: ^8.6.2`
- `argparse: ^2.0.1`
- `chalk: ^5.3.0`
- `fs-extra: ^11.1.1`
- `js-yaml: ^4.1.0`
- `klaw: ^4.1.0`
- `through2: ^4.0.2`

## Steps
1. Open the `yarn.lock` file in the `buildwithflux/kicad-module-parser` repository
2. For each dependency listed above, find the exact version that's currently resolved in `yarn.lock`
3. Update `package.json` to replace the caret ranges with the exact version numbers (e.g., change `^8.6.2` to `8.6.2` or whatever exact version is in the lockfile)
4. Ensure all dependencies in both the `dependencies` and `devDependencies` sections are pinned to exact versions

## Files to Modify
- `buildwithflux/kicad-module-parser/package.json` - Update dependency version strings to remove `^` and use exact versions from yarn.lock

You only need to look in the following repo: buildwithflux/kicad-module-parser

@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1770229860-migrate-to-pnpm branch from 0ceff03 to 2fa1a16 Compare February 4, 2026 19:11
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1770229860-upgrade-typescript branch from 49f38cd to 1548ad0 Compare February 4, 2026 19:13
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1770229860-migrate-to-pnpm branch from 2fa1a16 to 494d0a5 Compare February 4, 2026 19:42
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1770229860-upgrade-typescript branch 2 times, most recently from ff86ca0 to 2c9786a Compare February 4, 2026 19:43
@devin-ai-integration devin-ai-integration Bot mentioned this pull request Feb 4, 2026
3 tasks
Co-Authored-By: nick@flux.ai <nick@flux.ai>
@devin-ai-integration
devin-ai-integration Bot force-pushed the devin/1770229860-upgrade-typescript branch from 2c9786a to 9a8b24d Compare February 4, 2026 19:52
@devin-ai-integration
devin-ai-integration Bot changed the base branch from devin/1770229860-migrate-to-pnpm to master February 4, 2026 19:52
Co-Authored-By: nick@flux.ai <nick@flux.ai>
@nick-fields
nick-fields merged commit d28c9fd into master Feb 4, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant