-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
v4.1.0-beta #106
v4.1.0-beta #106
Conversation
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js" | ||
}, | ||
"./mui": { | ||
"import": "./dist/esm/mui.js" | ||
}, | ||
"./nextJs": { | ||
"import": "./dist/esm/nextJs.js" | ||
}, | ||
"./compat": { | ||
"import": "./dist/esm/compat.js" | ||
}, | ||
"./mui_compat": { | ||
"import": "./dist/esm/mui_compat.js" | ||
} |
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 ended up removing "require" as I don't see the point of keeping them. Agree @jiby-aurum ?
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.
@garronej unfortunately I think its required, I tried it 4.1.0 and it fails to import tss-react/mui
complaining that it is not defined in exports, adding the "require" back fixes them.
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.
@jiby-aurum Thank you for the feedback, I added it back in.
It's in 4.1.1
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.
thanks again @garronej just tested, works perfectly !
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.
Great!
@@ -1,9 +1,9 @@ | |||
{ | |||
"compilerOptions": { | |||
"module": "CommonJS", |
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.
@garronej this should not have been removed,
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.
Yes, my bad.
The default config is for CommonJS and we overwrite some values when building for ESM....
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tss-react](https://www.tss-react.dev) ([source](https://togithub.com/garronej/tss-react)) | [`4.0.0` -> `4.6.0`](https://renovatebot.com/diffs/npm/tss-react/4.0.0/4.6.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>garronej/tss-react</summary> ### [`v4.6.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.6.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.2...v4.6.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.2...v4.6.0 ### [`v4.5.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.1...v4.5.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.1...v4.5.2 ### [`v4.5.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.5.0...v4.5.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.5.0...v4.5.1 ### [`v4.5.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.5.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.5...v4.5.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.5...v4.5.0 ### [`v4.4.5`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.5) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.4...v4.4.5) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.4...v4.4.5 ### [`v4.4.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.3...v4.4.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.3...v4.4.4 ### [`v4.4.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.2...v4.4.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.2...v4.4.3 ### [`v4.4.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.1...v4.4.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.1...v4.4.2 ### [`v4.4.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.4.0...v4.4.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.4.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.4...v4.4.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.4...v4.4.0 ### [`v4.3.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.3...v4.3.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.3...v4.3.4 ### [`v4.3.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.2...v4.3.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.2...v4.3.3 ### [`v4.3.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.1...v4.3.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.1...v4.3.2 ### [`v4.3.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.3.0...v4.3.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.3.0...v4.3.1 ### [`v4.3.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.3.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.2.0...v4.3.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.2.0...v4.3.0 ### [`v4.2.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.2.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.4...v4.2.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.4...v4.2.0 ### [`v4.1.4`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.4) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.3...v4.1.4) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.3...v4.1.4 ### [`v4.1.3`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.3) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.2...v4.1.3) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.2...v4.1.3 ### [`v4.1.2`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.2) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.1...v4.1.2) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> #### What's Changed ##### Other Changes - fix [#​107](https://togithub.com/garronej/tss-react/issues/107) by [@​jiby-aurum](https://togithub.com/jiby-aurum) in [https://github.com/garronej/tss-react/pull/109](https://togithub.com/garronej/tss-react/pull/109) #### New Contributors - [@​jiby-aurum](https://togithub.com/jiby-aurum) made their first contribution in [https://github.com/garronej/tss-react/pull/109](https://togithub.com/garronej/tss-react/pull/109) **Full Changelog**: garronej/tss-react@v4.1.1...v4.1.2 ### [`v4.1.1`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.1) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.1.0...v4.1.1) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> **Full Changelog**: garronej/tss-react@v4.1.0...v4.1.1 ### [`v4.1.0`](https://togithub.com/garronej/tss-react/releases/tag/v4.1.0) [Compare Source](https://togithub.com/garronej/tss-react/compare/v4.0.0...v4.1.0) <!-- Release notes generated using configuration in .github/release.yaml at refs/heads/main --> #### What's Changed ##### Other Changes - v4.1.0-beta by [@​garronej](https://togithub.com/garronej) in [https://github.com/garronej/tss-react/pull/106](https://togithub.com/garronej/tss-react/pull/106) **Full Changelog**: garronej/tss-react@v4.0.0...v4.1.0 </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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTI0LjIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Try out #105