-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Replace tsup
with ts-bridge
#4648
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c5d048d
Replace `tsup` with `ts-bridge`
Mrtenz 78fb5b1
Fix formatting issues
Mrtenz 5cdba4d
Bump @ts-bridge/cli to 0.4.4
Mrtenz 124e697
Bump `ts-bridge` to `0.5.1`
Mrtenz 997484a
Remove build:watch script
Mrtenz 7952573
Update constraints
Mrtenz c65eabe
Merge branch 'main' into mrtenz/ts-bridge
Mrtenz 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 |
---|---|---|
|
@@ -12,12 +12,10 @@ | |
"packages/*" | ||
], | ||
"scripts": { | ||
"build": "yarn run build:source && yarn run build:types", | ||
"build": "yarn ts-bridge --project tsconfig.build.json --verbose", | ||
"build:clean": "rimraf dist '**/*.tsbuildinfo' && yarn build", | ||
"build:docs": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run build:docs", | ||
"build:source": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run build", | ||
"build:types": "tsc --build tsconfig.build.json --verbose", | ||
"build:watch": "yarn run build --watch", | ||
"changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update", | ||
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate", | ||
"create-package": "ts-node scripts/create-package", | ||
|
@@ -45,7 +43,6 @@ | |
"resolutions": { | ||
"[email protected]": "^6.5.7", | ||
"fast-xml-parser@^4.3.4": "^4.4.1", | ||
"tsup@^8.0.2": "patch:tsup@npm%3A8.0.2#./.yarn/patches/tsup-npm-8.0.2-86e40f68a7.patch", | ||
"[email protected]": "^7.5.10" | ||
}, | ||
"devDependencies": { | ||
|
@@ -62,6 +59,7 @@ | |
"@metamask/eth-json-rpc-provider": "^4.1.3", | ||
"@metamask/json-rpc-engine": "^9.0.2", | ||
"@metamask/utils": "^9.1.0", | ||
"@ts-bridge/cli": "^0.5.1", | ||
"@types/jest": "^27.4.1", | ||
"@types/lodash": "^4.14.191", | ||
"@types/node": "^16.18.54", | ||
|
@@ -93,7 +91,6 @@ | |
"semver": "^7.6.3", | ||
"simple-git-hooks": "^2.8.0", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "~5.2.2", | ||
"yargs": "^17.7.2" | ||
}, | ||
|
@@ -106,8 +103,7 @@ | |
"@lavamoat/preinstall-always-fail": false, | ||
"@keystonehq/bc-ur-registry-eth>hdkey>secp256k1": true, | ||
"babel-runtime>core-js": false, | ||
"simple-git-hooks": false, | ||
"tsup>esbuild": true | ||
"simple-git-hooks": false | ||
} | ||
} | ||
} |
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.
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.
ts-bridge
builds with project references if they are set intsconfig.json
by default. To build an individual package, we have to use--no-references
here. I may reconsider this to make project references opt-in rather than opt-out, as that's whattsc
does.