-
Notifications
You must be signed in to change notification settings - Fork 54
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
Removes Webpack/Babel in favor of SWC #461
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
620a0f4
Moves to swc
ralexmatthews 363b7d2
Removes uneccessary deps
ralexmatthews 779a128
Exports all errors and models
ralexmatthews 8a2b618
Runs prettier on readme
ralexmatthews ebb9231
Updates examples
ralexmatthews 2c5b3a5
Moves from babel/register to swc-node/register
ralexmatthews b6380cb
Fixes typos
ralexmatthews adc91c5
Fixes testing different node versions
ralexmatthews df02021
Uses node 22
ralexmatthews c001254
Moves to swc
ralexmatthews 726762f
Removes uneccessary deps
ralexmatthews 5dc8e59
Exports all errors and models
ralexmatthews 524fa03
Moves from babel/register to swc-node/register
ralexmatthews 528ff0a
Fixes typos
ralexmatthews c3e085e
Fixes testing different node versions
ralexmatthews c725691
Uses node 22
ralexmatthews 9421af0
Merge branch 'swc' of github.com:ralexmatthews/easypost-node into swc
ralexmatthews cffb5a5
Adds claim to exports
ralexmatthews 79ec7be
Drops version from name on Node.js build step
ralexmatthews 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"timeout": 10000, | ||
"require": ["@babel/register", "dotenv/config", "./test/helpers/common.js"], | ||
"require": ["@swc-node/register", "dotenv/config", "./test/helpers/common.js"], | ||
"recursive": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"$schema": "https://swc.rs/schema.json", | ||
"sourceMaps": true, | ||
"env": { | ||
"targets": "Node >= 12" | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
I don't think we actually care that you can build, test, and generally dev on the project in Node.js 12. This builds the app on a modern version, then uses the older version to run a small script that imports and attempts to use the lib.