-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: convert to ESM (breaking change) (#856)
* chore: drop module opts in test config * feat: the epic renaming * chore(deps): bump chalk to v5 * chore: lint * chore: migrate a few more files that fell through the cracks * fix: asserted JSON import this probably won't work with node 14 at all ugh * chore: rename config * chore: rename a bunch of bin files most of them are now .cjs with the exception of bin/rdme.js * chore: lint * chore: try this with jest can we move off jest? all my homies hate jest * chore: more jest mess around * fix: one more thing in an attempt to fix the build * fix: wait is this really all it took * chore: update npmignore * chore: more extension fixes * ci: knip fix * refactor: enable node protocol deno needs this * chore: lint * chore: fix up some more extensions * revert: rename file again * fix: another thing that fell through the cracks * chore: one more fix * chore: bring in new eslint rule, fix up some more issues * chore: bump oas and friends to get tests working * chore: ignore TS in a few places... why though * chore: more TS weirdness * chore: rebuild lockfile very tired of this mess * refactor: remove moduleResolution * chore: remove @ts-expect-error flags * revert: broken oas-normalize state * chore(deps): bump oas and oas-normalize * chore(deps): bump oas again * chore: disable test * ci: stop running tests against node 14/16 * test: get test working again * refactor: hide node warnings taken from here: https://www.stefanjudis.com/snippets/how-to-import-json-files-in-es-modules-node-js/#option-1%3A-read-and-parse-json-files-yourself this is the best way i could think of to avoid the experimental import assertions * chore: bad merges * revert: bring back node warnings lol trying to see if this plays nicely with rollup * chore: fix assertion * refactor: use new eslint config, get rid of cjs files * test: fix outdated config usage * chore: tiny formatting fix * chore: refine eslint extensions * docs: make sure it references bin/rdme.js * fix: attempt to get docker build working * fix: use node 18 * chore: try bumping node-fetch * fix: set rollup config flag i guess node-fetch@3 wants to split the bundle so we need to set this now * test: fix some fetch tests * chore: lint * test: more test fixes * fix: swap out form-data with formdata-node usage grabbed from step 9 on this page: https://github.com/octet-stream/form-data/blob/4d632678558e6b9210bb50f1fc023f31751b0eba/readme.md?plain=1#L228 * chore(deps): does it work to bump the rest of the deps? * Revert "chore(deps): does it work to bump the rest of the deps?" This reverts commit 48c77ba. * chore(temp): see if colors are supported in GHA * Revert "chore(temp): see if colors are supported in GHA" This reverts commit f6939c5. * chore: add dists to ignore files, clean up * chore: add debug to pkg * chore(deps): bump the deps that i can * chore: update dependabot file yay * chore: fix up ignore files again * chore: comment * chore: one of these days i'll be content with my ignore file formatting * chore(deps): bump headers-polyfill * refactor: hide rollup output in dist * revert: remove unused debug flag * chore: swap out headers-polyfill type for node-fetch * chore: lint * fix: type fixes
- Loading branch information
1 parent
0007f4f
commit 84b8571
Showing
115 changed files
with
4,195 additions
and
2,050 deletions.
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.