Skip to content

Use ts imports in src #1144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2025
Merged

Use ts imports in src #1144

merged 1 commit into from
May 10, 2025

Conversation

Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented May 10, 2025

Splitting up my refactor PR into multiple PRs so that it can be easier reviewed.

This PR changes the imports to .ts files in the src folder.

With this, you can also test the code in deno. Also it seems that --experimental-strip-types can work better with that on node24.

Copy link
Contributor

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

wolfy1339
wolfy1339 previously approved these changes May 10, 2025
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is supposed to be updated here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, looks strange indeed. I will check it when I am back home. I guess i was using node 18 npm and it removed the integrity and resolved fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like it was connected with https://stackoverflow.com/questions/75224019/resolved-and-integrity-go-missing-in-package-lock-json as I had to cleanthe cache to generate a proper package-lock.json. But the change in package-lock.json was not necessary so I reverted it ;)

@wolfy1339 wolfy1339 merged commit 80b84e7 into octokit:main May 10, 2025
8 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Active May 10, 2025
@Uzlopak Uzlopak deleted the ts-imports branch May 10, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants