-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
fix: add default tsconfig.baseUrl to align with tsc behavior #759
Merged
Brooooooklyn
merged 1 commit into
swc-project:master
from
yeliex:fix/tsconfig-default-baseUrl
Mar 5, 2024
Merged
fix: add default tsconfig.baseUrl to align with tsc behavior #759
Brooooooklyn
merged 1 commit into
swc-project:master
from
yeliex:fix/tsconfig-default-baseUrl
Mar 5, 2024
Conversation
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
🦋 Changeset detectedLatest commit: b53f484 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
yeliex
force-pushed
the
fix/tsconfig-default-baseUrl
branch
from
March 4, 2024 08:52
9c76dac
to
b53f484
Compare
tsang-bot bot
referenced
this pull request
in tsangste/nx-package-test
May 5, 2024
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc-node/register](https://github.com/swc-project/swc-node) | [`1.9.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/@swc-node%2fregister/1.9.0/1.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc-node%2fregister/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc-node%2fregister/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc-node%2fregister/1.9.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc-node%2fregister/1.9.0/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc-node (@​swc-node/register)</summary> ### [`v1.9.1`](https://github.com/swc-project/swc-node/releases/tag/%40swc-node/register%401.9.1) [Compare Source](https://github.com/swc-project/swc-node/compare/@swc-node/register@1.9.0...@swc-node/register@1.9.1) #### What's Changed - fix: esm module resolve issues by [@​yeliex](https://github.com/yeliex) in [https://github.com/swc-project/swc-node/pull/754](https://github.com/swc-project/swc-node/pull/754) - fix: add default tsconfig.baseUrl to align with tsc behavior by [@​yeliex](https://github.com/yeliex) in [https://github.com/swc-project/swc-node/pull/759](https://github.com/swc-project/swc-node/pull/759) - fix(register): fix esm entry resolver for third-party executer, close [#​762](https://github.com/swc-project/swc-node/issues/762) by [@​yeliex](https://github.com/yeliex) in [https://github.com/swc-project/swc-node/pull/766](https://github.com/swc-project/swc-node/pull/766) - fix: support compile js files. close [#​761](https://github.com/swc-project/swc-node/issues/761) by [@​yeliex](https://github.com/yeliex) in [https://github.com/swc-project/swc-node/pull/767](https://github.com/swc-project/swc-node/pull/767) - chore: upgrade dependencies by [@​Brooooooklyn](https://github.com/Brooooooklyn) in [https://github.com/swc-project/swc-node/pull/771](https://github.com/swc-project/swc-node/pull/771) **Full Changelog**: https://github.com/swc-project/swc-node/compare/[@​swc-node/register](https://github.com/swc-node/register)[@​1](https://github.com/1).8.0...[@​swc-node/register](https://github.com/swc-node/register)[@​1](https://github.com/1).9.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuNiIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC42IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In previous pr #754, when
tsconfig.baseUrl
not set, it keeps undefined in swcConfig (to compatible with esm module resolver).It is a breaking change, case after typescript@4.1
baseUrl
is an optional value which defaults to dirname oftsconfig.json
This pr add a default value to
tsconfig.baseUrl
whentsconfig.paths
not empty, fixed errors caused by emptybaseUrl
intsconfig.json
.