-
-
Notifications
You must be signed in to change notification settings - Fork 591
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(json): cannot be imported by rollup #81
Conversation
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.
Thank you! And congrats on your first Rollup PR :)
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.
@foray1010 this is not a proper pull request. You've ignored several fields of the template. Please complete the template or we'll have to close this PR.
You've marked this as a bugfix but haven't described the bug, nor how the changes fix it, nor have you included tests, which disregards this message: bugfixes and features will not be merged without tests
@shellscape the I am not sure if I really need to test the changes, since it is not code related, just some misconfig |
@foray1010 that would be an other PR then, as that's metadata. Please make sure you fill out the entire template next time. The information in your reply should have been in the original post for the PR. |
difficult to say as user cannot use this package if the path is wrong, which is definitely a bug to me |
After @TrySound mentioned that Basically it never made it out of discussion, and Rollup supported it out of necessity at the time it was implemented. So all that goes to say is that we have sufficient evidence to remove support from |
BREAKING CHANGE: removed `jsnext:main` field
@shellscape I have created #85 which remove all |
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 for working with us on this one.
711: build(deps-dev): bump @rollup/plugin-commonjs from 16.0.0 to 17.0.0 r=curquiza a=dependabot-preview[bot] Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 16.0.0 to 17.0.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rollup/plugins/commit/f81735340819eb51b4fe62235778bad7c2cc6e02"><code>f817353</code></a> chore(release): commonjs v17.0.0</li> <li><a href="https://github.com/rollup/plugins/commit/cd3649231f6be269c62be58c8090866619697ad2"><code>cd36492</code></a> chore(release): typescript v8.0.0</li> <li><a href="https://github.com/rollup/plugins/commit/befff131ac679d1736d38e47201349558e640e0a"><code>befff13</code></a> chore(release): typescript v7.0.0</li> <li><a href="https://github.com/rollup/plugins/commit/497c16f29a07fad31ac7f879e0915e0d4372f2ad"><code>497c16f</code></a> chore(release): node-resolve v11.0.0</li> <li><a href="https://github.com/rollup/plugins/commit/c30b2c0f0560afad3b817ad1c77af17c61c2964b"><code>c30b2c0</code></a> fix(node-resolve): refactor handling builtins, do not log warning if no local...</li> <li><a href="https://github.com/rollup/plugins/commit/23b0bf7d76d739e20e550d0cbb0a432bc3429e20"><code>23b0bf7</code></a> refactor(node-resolve)!: simplify builtins and remove <code>customResolveOptions</code> ...</li> <li><a href="https://github.com/rollup/plugins/commit/094b105f7efcd6862db7114e3d55bed5fb41f017"><code>094b105</code></a> fix(typescript): add missing imports (<a href="https://github-redirect.dependabot.com/rollup/plugins/issues/633">#633</a>)</li> <li><a href="https://github.com/rollup/plugins/commit/ba1fcf9d93b930853ee0e1ad6a62b2eb11db4e1f"><code>ba1fcf9</code></a> docs(node-resolve): fix import statements in examples in README.md (<a href="https://github-redirect.dependabot.com/rollup/plugins/issues/646">#646</a>)</li> <li><a href="https://github.com/rollup/plugins/commit/21c51e0ea4755203baa8385c6a68cf7b1178319a"><code>21c51e0</code></a> feat(commonjs)!: reconstruct real es module from __esModule marker (<a href="https://github-redirect.dependabot.com/rollup/plugins/issues/537">#537</a>)</li> <li><a href="https://github.com/rollup/plugins/commit/40eee93e6b30f41d1cd334c53b2b6c456875e57b"><code>40eee93</code></a> feat(node-resolve)!: Mark built-ins as external (<a href="https://github-redirect.dependabot.com/rollup/plugins/issues/627">#627</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rollup/plugins/compare/commonjs-v16.0.0...commonjs-v17.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=@rollup/plugin-commonjs&package-manager=npm_and_yarn&previous-version=16.0.0&new-version=17.0.0)](https://dependabot.com/compatibility-score/?dependency-name=@rollup/plugin-commonjs&package-manager=npm_and_yarn&previous-version=16.0.0&new-version=17.0.0) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> 713: Remove jsnext main r=curquiza a=bidoubiwa `jsnext:main` is deprecated: rollup/plugins#81 (comment) Only rollup used to use it but rollup just decided to remove it as well: rollup/plugins#85 Should be merged after: #709 Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com>
Rollup Plugin Name:
json
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
it's current jsnext:main field is pointing to a wrong path, which makes rollup failed to import the plugin