-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: convert to ESM (breaking change) #856
Merged
Merged
Changes from 74 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
d663e72
chore: drop module opts in test config
kanadgupta b59744d
Merge branch 'next' into esm-spike
kanadgupta 535bf7f
feat: the epic renaming
kanadgupta 7a14947
chore(deps): bump chalk to v5
kanadgupta 6d24836
chore: lint
kanadgupta 89056d4
chore: migrate a few more files that fell through the cracks
kanadgupta 435de45
fix: asserted JSON import
kanadgupta eba0ba9
chore: rename config
kanadgupta cf824e3
chore: rename a bunch of bin files
kanadgupta 749dc32
chore: lint
kanadgupta b7dbc25
chore: try this with jest
kanadgupta f1b1fd4
chore: more jest mess around
kanadgupta 82ec893
fix: one more thing in an attempt to fix the build
kanadgupta d2b7e51
fix: wait is this really all it took
kanadgupta e3d2ccd
chore: update npmignore
kanadgupta eaf7824
Merge branch 'next' into esm-spike
kanadgupta 365dbc3
chore: more extension fixes
kanadgupta b4ac068
ci: knip fix
kanadgupta 829170c
refactor: enable node protocol
kanadgupta 2f4a29d
Merge branch 'next' into esm-spike
kanadgupta b12f384
chore: lint
kanadgupta 2f23937
chore: fix up some more extensions
kanadgupta 35e1199
revert: rename file again
kanadgupta 2b8cfc6
fix: another thing that fell through the cracks
kanadgupta 6927124
chore: one more fix
kanadgupta b09e6e1
chore: bring in new eslint rule, fix up some more issues
kanadgupta aa22557
Merge branch 'next' into esm-spike
kanadgupta b6eaa4c
chore: bump oas and friends to get tests working
kanadgupta c7ba220
chore: ignore TS in a few places... why though
kanadgupta b3ed2fa
chore: more TS weirdness
kanadgupta b9f8d2f
chore: rebuild lockfile
kanadgupta 1ce036e
refactor: remove moduleResolution
kanadgupta 7ab41bd
chore: remove @ts-expect-error flags
kanadgupta ca96b4f
revert: broken oas-normalize state
kanadgupta afe8283
chore(deps): bump oas and oas-normalize
kanadgupta 109ea0c
chore(deps): bump oas again
kanadgupta 53bdc6b
chore: disable test
kanadgupta 2c133ad
ci: stop running tests against node 14/16
kanadgupta 618b29e
test: get test working again
kanadgupta eeeabd9
refactor: hide node warnings
kanadgupta 64df501
Merge branch 'next' into esm-spike
kanadgupta 002fd84
chore: bad merges
kanadgupta 09f6e23
revert: bring back node warnings lol
kanadgupta 62d967a
chore: fix assertion
kanadgupta 5a9c816
refactor: use new eslint config, get rid of cjs files
kanadgupta 0997ba0
test: fix outdated config usage
kanadgupta 9c9fb68
chore: tiny formatting fix
kanadgupta d26d72a
chore: refine eslint extensions
kanadgupta 4067c02
docs: make sure it references bin/rdme.js
kanadgupta 52d9dd0
fix: attempt to get docker build working
kanadgupta eda22d2
fix: use node 18
kanadgupta 0b0fed0
chore: try bumping node-fetch
kanadgupta f237245
fix: set rollup config flag
kanadgupta 6cfe6b1
test: fix some fetch tests
kanadgupta e39282c
chore: lint
kanadgupta d101dea
test: more test fixes
kanadgupta dcc685f
fix: swap out form-data with formdata-node
kanadgupta 48c77ba
chore(deps): does it work to bump the rest of the deps?
kanadgupta 3d493b7
Revert "chore(deps): does it work to bump the rest of the deps?"
kanadgupta f6939c5
chore(temp): see if colors are supported in GHA
kanadgupta 8b2b69d
Revert "chore(temp): see if colors are supported in GHA"
kanadgupta 2f8bdc6
chore: add dists to ignore files, clean up
kanadgupta fe973a2
chore: add debug to pkg
kanadgupta 5a376b6
chore(deps): bump the deps that i can
kanadgupta 840895d
chore: update dependabot file yay
kanadgupta 5ac11b1
Merge branch 'next' into esm-spike
kanadgupta 827d1fd
chore: fix up ignore files again
kanadgupta 380ca23
chore: comment
kanadgupta 07ba2f6
chore: one of these days i'll be content with my ignore file formatting
kanadgupta a6ba541
Merge branch 'next' into esm-spike
kanadgupta 43e0a66
chore(deps): bump headers-polyfill
kanadgupta bc99152
refactor: hide rollup output in dist
kanadgupta e83b2e6
revert: remove unused debug flag
kanadgupta 4827139
Merge branch 'next' into esm-spike
kanadgupta 5a2a9e3
chore: swap out headers-polyfill type for node-fetch
kanadgupta 4a4c852
Merge branch 'next' into esm-spike
kanadgupta d758dd5
chore: lint
kanadgupta 13fa09f
fix: type fixes
kanadgupta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
coverage/ | ||
dist/ | ||
!.alexrc.js | ||
exe/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,6 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
node-version: | ||
- 14 | ||
- 16 | ||
- 18 | ||
- 20 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.env | ||
coverage/ | ||
dist/ | ||
.env | ||
exe/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ __tests__/ | |
.github/ | ||
.husky/ | ||
.prettier* | ||
bin/*.js | ||
bin/** | ||
coverage/ | ||
packages/ | ||
vitest.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ __tests__/__fixtures__/invalid-json/yikes.json | |
CHANGELOG.md | ||
coverage/ | ||
dist/ | ||
exe/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with this PR, we're technically requiring Node 18 and above but I'll make that official in a separate PR.