Skip to content
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

Convert to ES Modules #144

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Conversation

danielrozenberg
Copy link
Member

@danielrozenberg danielrozenberg commented Oct 27, 2023

And use the typescript ESLint plugin to improve type safety.
I disabled all the tests that rely on the request module because Sinon can't stub ES modules, but that npm package is long deprecated, so I'm going to replace it with the built-in fetch in Node and follow-up with fixing these tests as well (I created a draft PR in my own fork that is based on this PR, so you can see what I intend to do)

@danielrozenberg danielrozenberg force-pushed the modularize branch 3 times, most recently from a3a0c74 to b46d745 Compare October 31, 2023 17:06
@danielrozenberg danielrozenberg marked this pull request as ready for review October 31, 2023 20:48
@danielrozenberg
Copy link
Member Author

@erwinmombay bump

@erwinmombay erwinmombay requested a review from powerivq November 15, 2023 21:26
@erwinmombay
Copy link
Member

adding @powerivq for extra pair of eyes

@danielrozenberg danielrozenberg merged commit f82ae70 into ampproject:main Nov 16, 2023
1 check passed
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.

3 participants