Skip to content

refactor: rewrite to typescript retaining API - #320

Merged
MarshallOfSound merged 6 commits into
mainfrom
typescript
Sep 10, 2024
Merged

MarshallOfSound merged 6 commits into
mainfrom
typescript

Conversation

@MarshallOfSound

@MarshallOfSound MarshallOfSound commented Aug 16, 2024 •

Copy link
Copy Markdown
Member

Modernize the codebase substantially. Key things:

  • Git claims I rewrote these files from scratch, I did not, the actual changes are just adding types and in a few edges cases adding additional error handling (that typescript revealed as possible)
  • I did not touch the tests at all, I had to fix like 5 imports, and prettier added a bunch of semicolons, but the actual tests were not "fixed" or "changed" at all. They will be converted to typescript after this PR lands to ensure confidence

Closes #251

@MarshallOfSound
MarshallOfSound requested a review from a team as a code owner August 16, 2024 07:56
@MarshallOfSound
MarshallOfSound force-pushed the typescript branch 6 times, most recently from 15f21d7 to 5d1304c Compare August 16, 2024 08:07

@erikian erikian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one issue regarding yarn.lock, otherwise looks good

Comment thread src/asar.ts Resolved
Comment thread src/asar.ts Resolved
Comment thread src/asar.ts Resolved
Comment thread src/filesystem.ts Resolved
Comment thread src/wrapped-fs.ts Resolved
Comment thread package.json Resolved
Comment thread package.json Resolved
Comment thread yarn.lock Resolved

@dsanders11 dsanders11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blockers, but a comment about TSDoc and some suggestions for improving type coverage.

Comment thread src/asar.ts Resolved
Comment thread src/asar.ts Resolved
Comment thread src/asar.ts Resolved
Comment thread src/disk.ts Resolved
Comment thread src/filesystem.ts Resolved
Comment thread src/integrity.ts Resolved
@MarshallOfSound
MarshallOfSound merged commit 88b5ea4 into main Sep 10, 2024
@MarshallOfSound
MarshallOfSound deleted the typescript branch September 10, 2024 01:21
@continuous-auth

Copy link
Copy Markdown

🎉 This PR is included in version 3.2.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typescript rewrite?

3 participants