bubble-dev / _

🍱 metarepo of many packages and various monorepos
52 stars 6 forks source link

♻️ update rollup to v2 #298

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
rollup (source) dependencies major ^1.21.0 -> ^2.0.0

Release Notes

rollup/rollup ### [`v2.0.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​204) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.3...v2.0.4) _2020-03-12_ ##### Bug Fixes - Avoid conflicts between namespace imports when preserving modules ([#​3435](https://togithub.com/rollup/rollup/issues/3435)) ##### Pull Requests - [#​3435](https://togithub.com/rollup/rollup/pull/3435): Deconflict multiple `index` imports for ES format using nested export star statements ([@​kamranayub](https://togithub.com/kamranayub)) ### [`v2.0.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​203) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.2...v2.0.3) _2020-03-10_ ##### Bug Fixes - Add type for this.getCombinedSourcemap to transform context ([#​3431](https://togithub.com/rollup/rollup/issues/3431)) ##### Pull Requests - [#​3377](https://togithub.com/rollup/rollup/pull/3377): Switch to yargs-parser lib ([@​jamesgeorge007](https://togithub.com/jamesgeorge007)) - [#​3426](https://togithub.com/rollup/rollup/pull/3426): Use strict types with PluginDriver ([@​NotWoods](https://togithub.com/NotWoods)) - [#​3431](https://togithub.com/rollup/rollup/pull/3431): Add missing type declaration for getCombinedSourcemap ([@​Anidetrix](https://togithub.com/Anidetrix)) - [#​3432](https://togithub.com/rollup/rollup/pull/3432): Detail how return values from `augmentChunkHash` are used ([@​jakearchibald](https://togithub.com/jakearchibald)) ### [`v2.0.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​202) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.1...v2.0.2) _2020-03-07_ ##### Bug Fixes - Make sure the ESM import still works ([#​3430](https://togithub.com/rollup/rollup/issues/3430)) ##### Pull Requests - [#​3430](https://togithub.com/rollup/rollup/pull/3430): Fix conditional exports again ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​201) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.0...v2.0.1) _2020-03-07_ ##### Bug Fixes - Reenable importing rollup in Node 13.0 - 13.7 ([#​3428](https://togithub.com/rollup/rollup/issues/3428)) ##### Pull Requests - [#​3428](https://togithub.com/rollup/rollup/pull/3428): Fix conditional exports in Node 13.0 - 13.7 ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​200) [Compare Source](https://togithub.com/rollup/rollup/compare/v1.32.1...v2.0.0) _2020-03-06_ ##### Breaking Changes - Rollup now requires at least Node 10 to run, or a sufficiently modern browser ([#​3346](https://togithub.com/rollup/rollup/issues/3346)) - The file structure of Rollup's ESM builds has changed: - The main ESM entry point is now at `rollup/dist/es/rollup.js` instead of `rollup/dist/rollup.es.js` - The ESM browser build is at `rollup/dist/es/rollup.browser.js` instead of `rollup/dist/rollup.browser.es.js` In general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the `rollup/dist/es` subfolder instead of `rollup/dist` ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - The "watch.chokidar" option no longer accepts a `boolean` value but only an object of parameters that is passed to the bundled Chokidar instance. Chokidar installations by the user will be ignored in favour of the bundled instance ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Modules that are completely tree-shaken will no longer be listed as part of any chunks in `generateBundle` - The `experimentalOptimizeChunks` and `chunkGroupingSize` options have been removed - [acorn](https://togithub.com/acornjs/acorn) plugins can only be used if they accept a passed-in acorn instance instead of importing it themselves. See [acornjs/acorn#​870 (comment)](https://togithub.com/acornjs/acorn/pull/870#issuecomment-527339830) for what needs to be done to make plugins compatible that do not support this yet ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Emitted chunks now have the TypeScript type `UInt8Array` instead of `Buffer`. A `Buffer` can still be used, though ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The TypeScript types no longer use ESTree types for AST nodes but a very generic type that does not contain information specific to certain node types ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The signature of the `writeBundle` plugin hook has been changed to match `generateBundle`: The bundle object is now passed as second parameter instead of first and the first parameter is the output options ([#​3361](https://togithub.com/rollup/rollup/issues/3361)) - The following plugin hooks have been removed: - ongenerate: use `generateBundle` instead - onwrite: use `writeBundle` instead - transformBundle: use `renderChunk` instead - transformChunk: use `renderChunk` instead - You can no longer access `this.watcher` on the plugin context. - The `transform` hook can no longer return `dependencies`. - The `treeshake.pureExternalModules` option will now show a deprecation warning when used: use `treeshake.moduleSideEffects: 'no-external'` instead - Using `import.meta.ROLLUP_ASSET_URL_<..>` and `import.meta.ROLLUP_CHUNK_URL_<..>` in code will now show warnings: use `import.meta.ROLLUP_FILE_URL_<..>` instead - The `resolveAssetUrl` hook will now show a deprecation warning when used: use `resolveFileUrl` instead - The following plugin context functions will show warnings when used: - `this.emitAsset`: use `this.emitFile` - `this.emitChunk`: use `this.emitFile` - `this.getAssetFileName`: use `this.getFileName` - `this.getChunkFileName`: use `this.getFileName` - `this.isExternal`: use `this.resolve` - `this.resolveId`: use `this.resolve` - Directly adding properties to the bundle object in the `generateBundle` is deprecated will show a warning (removing properties is allowed, though): Use `this.emitFile` - Accessing `chunk.isAsset` on the bundle is deprecated: Use `chunk.type === 'asset'` instead - The error code for a missing `name` property when targeting UMD has been changed to `MISSING_NAME_OPTION_FOR_IIFE_EXPORT` to emphasize this is needed for the IIFE part of UMD ([#​3393](https://togithub.com/rollup/rollup/issues/3393)) ##### Features - Rollup now bundles [Chokidar](https://togithub.com/paulmillr/chokidar) for a better watch experience ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Rollup now bundles [acorn](https://togithub.com/acornjs/acorn) again, removing its only external dependency ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Do not consider empty imports from side-effect-free modules for chunking and hoist side-effect imports if necessary ([#​3369](https://togithub.com/rollup/rollup/issues/3369)) - Rollup can now be imported as an ES module in Node via `import {rollup} from 'rollup'`. Note that this relies on Node's experimental [conditional package exports](https://nodejs.org/dist/latest-v13.x/docs/api/esm.html#esm_conditional_exports) feature and is therefore itself experimental ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - `systemjs` can be used as format alias for `system` ([#​3381](https://togithub.com/rollup/rollup/issues/3381)) ##### Bug Fixes - Unknown output options now trigger a warning when using the JavaScript API ([#​3352](https://togithub.com/rollup/rollup/issues/3352)) - Rollup will no longer introduce Node types into TypeScript projects that do not use them ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - Generate correct sourcemaps when tree-shaking occurs in a multi-file bundle ([#​3423](https://togithub.com/rollup/rollup/issues/3423)) ##### Pull Requests - [#​3331](https://togithub.com/rollup/rollup/pull/3331): Bundle Chokidar ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3343](https://togithub.com/rollup/rollup/pull/3343): Remove experimentalOptimizeChunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3346](https://togithub.com/rollup/rollup/pull/3346): Update minimum required Node version to 10 ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3352](https://togithub.com/rollup/rollup/pull/3352): Remove active deprecations ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3361](https://togithub.com/rollup/rollup/pull/3361): Change writeBundle signature to match generateBundle ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3369](https://togithub.com/rollup/rollup/pull/3369): Avoid empty imports from side-effect-free chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3381](https://togithub.com/rollup/rollup/pull/3381): Rename esm to es everywhere, add systemjs alias ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3391](https://togithub.com/rollup/rollup/pull/3391): Bundle acorn, allow importing Rollup as Node ES module, update dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3393](https://togithub.com/rollup/rollup/pull/3393): Better error code for name-less umd bundle ([@​rail44](https://togithub.com/rail44)) - [#​3395](https://togithub.com/rollup/rollup/pull/3395): Remove `@types` dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3423](https://togithub.com/rollup/rollup/pull/3423): Update magic-string and fix sourcemaps ([@​lukastaegert](https://togithub.com/lukastaegert))

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 4 years ago

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.