thibaudcolas / draftjs-conductor

📝✨ Little Draft.js helpers to make rich text editors “just work”
https://thibaudcolas.github.io/draftjs-conductor
MIT License
40 stars 6 forks source link

chore(deps): update rollup (major) #311

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rollup/plugin-typescript (source) 8.5.0 -> 12.1.1 age adoption passing confidence
rollup-plugin-dts 4.2.3 -> 6.1.1 age adoption passing confidence

Release Notes

rollup/plugins (@​rollup/plugin-typescript) ### [`v12.1.1`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1211) *2024-10-16* ##### Bugfixes - fix: allow for files to be nested in folders within outDir ([#​1783](https://redirect.github.com/rollup/plugins/issues/1783)) ### [`v12.1.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1210) *2024-09-22* ##### Features - feat: add transformers factory. ([#​1668](https://redirect.github.com/rollup/plugins/issues/1668)) ### [`v12.0.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1200) *2024-09-22* ##### Breaking Changes - fix!: correctly resolve filenames of declaration files for `output.file` ([#​1728](https://redirect.github.com/rollup/plugins/issues/1728)) ### [`v11.1.6`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1116) *2024-01-09* ##### Bugfixes - fix: Ensure rollup 4 compatibility ([#​1658](https://redirect.github.com/rollup/plugins/issues/1658)) ### [`v11.1.5`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1115) [Compare Source](https://redirect.github.com/rollup/plugins/compare/6caf7130c29197bc709b930772b49343d7a4b3e0...841a0391c1dd11fed16771a202e6eff97cf4139b) *2023-10-05* ##### Bugfixes - fix: ensure rollup 4 compatibility [#​1595](https://redirect.github.com/rollup/plugins/pull/1595) ### [`v11.1.4`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1114) [Compare Source](https://redirect.github.com/rollup/plugins/compare/435e4a175fad94daa9927ae86d14f42850ac8db9...6caf7130c29197bc709b930772b49343d7a4b3e0) *2023-09-25* ##### Bugfixes - fix: fix sourcemap sourcecontent referencing non-existent files [#​1571](https://redirect.github.com/rollup/plugins/pull/1571) ### [`v11.1.3`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1113) [Compare Source](https://redirect.github.com/rollup/plugins/compare/1f02ab2ac12dd1dec8e2634afa1efe45935ef396...435e4a175fad94daa9927ae86d14f42850ac8db9) *2023-08-26* ##### Bugfixes - fix: emit declaration files for type-only source files that are not explicitly included [#​1555](https://redirect.github.com/rollup/plugins/pull/1555) ### [`v11.1.2`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1112) [Compare Source](https://redirect.github.com/rollup/plugins/compare/6e2b769e51c763becf58e1e824714f3190e779dc...1f02ab2ac12dd1dec8e2634afa1efe45935ef396) *2023-06-28* ##### Bugfixes - fix: change the value of isExternalLibraryImport to false if the resolvedModule should be compiled [#​1521](https://redirect.github.com/rollup/plugins/pull/1521) ### [`v11.1.1`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1111) [Compare Source](https://redirect.github.com/rollup/plugins/compare/d5eee0d667e2e2fd7a45f2f789812a5e2192c025...6e2b769e51c763becf58e1e824714f3190e779dc) *2023-05-12* ##### Bugfixes - fix: Allow for using `compilerOptions.moduleResolution` [#​1453](https://redirect.github.com/rollup/plugins/pull/1453) ### [`v11.1.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1110) [Compare Source](https://redirect.github.com/rollup/plugins/compare/98691b7785c04a8aa13cc55e47c609dd081e2cb8...d5eee0d667e2e2fd7a45f2f789812a5e2192c025) *2023-04-04* ##### Features - feat: write declaration files in configured directory for `output.file` [#​1378](https://redirect.github.com/rollup/plugins/pull/1378) ### [`v11.0.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1100) [Compare Source](https://redirect.github.com/rollup/plugins/compare/3405922658f256459c3889f5f44248b4912dbd5e...98691b7785c04a8aa13cc55e47c609dd081e2cb8) *2023-01-06* ##### Breaking Changes - fix: don't resolve filtered files [#​1267](https://redirect.github.com/rollup/plugins/pull/1267) ([#​1310](https://redirect.github.com/rollup/plugins/issues/1310)) ### [`v10.0.1`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1001) [Compare Source](https://redirect.github.com/rollup/plugins/compare/0e3f87edc70f4de9b29308784dd5409a12a1e966...3405922658f256459c3889f5f44248b4912dbd5e) *2022-11-28* ##### Bugfixes - fix: emit assets when watchMode is false. fixes [#​1354](https://redirect.github.com/rollup/plugins/issues/1354) ([5c88274](https://redirect.github.com/rollup/plugins/commit/5c882743475a4480cb82e42253de9290b7329511)) ### [`v10.0.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v1000) [Compare Source](https://redirect.github.com/rollup/plugins/compare/2f2ba1ef0267bd8944a9f3c53964394d2ff79c0e...0e3f87edc70f4de9b29308784dd5409a12a1e966) *2022-11-27* ##### Breaking Changes - fix: incorrect declarations directory ([a5c90d1](https://redirect.github.com/rollup/plugins/commit/a5c90d1032390f9f6160d95c42171aa3014b3d6b)) ### [`v9.0.2`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v902) [Compare Source](https://redirect.github.com/rollup/plugins/compare/d9c79ac4bdf980e284207eececc2c364a5160bda...2f2ba1ef0267bd8944a9f3c53964394d2ff79c0e) *2022-10-21* ##### Updates - chore: update rollup dependencies ([3038271](https://redirect.github.com/rollup/plugins/commit/303827191ede6b2e4eade96c6968ed16a587683f)) ### [`v9.0.1`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v901) [Compare Source](https://redirect.github.com/rollup/plugins/compare/2b81d1485fc8f9db5b3a656fdfac40ba5f9facfe...d9c79ac4bdf980e284207eececc2c364a5160bda) *2022-10-11* ##### Bugfixes - fix: fix ESM build [#​1311](https://redirect.github.com/rollup/plugins/pull/1311) ### [`v9.0.0`](https://redirect.github.com/rollup/plugins/blob/HEAD/packages/typescript/CHANGELOG.md#v900) [Compare Source](https://redirect.github.com/rollup/plugins/compare/6864ed1657e95c544fc8d8ee8687b02c63752c97...2b81d1485fc8f9db5b3a656fdfac40ba5f9facfe) *2022-10-10* ##### Breaking Changes - fix: prepare for Rollup 3 [#​1282](https://redirect.github.com/rollup/plugins/pull/1282)
Swatinem/rollup-plugin-dts (rollup-plugin-dts) ### [`v6.1.1`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#611) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v6.1.0...v6.1.1) **Fixes**: - Fix missing whitespace related to generic arguments. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​brc-dd](https://redirect.github.com/brc-dd) ### [`v6.1.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#610) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v6.0.2...v6.1.0) **Compatibility Notice**: This release adds compatibility with Rollup version **4**. **Fixes**: - Fix fallback path generation. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​igordanchenko](https://redirect.github.com/igordanchenko) - [@​cschramm](https://redirect.github.com/cschramm) - [@​curlykay9527](https://redirect.github.com/curlykay9527) ### [`v6.0.2`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#602) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v6.0.1...v6.0.2) **Fixes**: - Fix `typeof this` being wrongly renamed. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​crutchcorn](https://redirect.github.com/crutchcorn) ### [`v6.0.1`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#601) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v6.0.0...v6.0.1) **Compatibility Notice**: This release lowers the minimum required node.js version to **16**. **Fixes**: - Fix namespace declarations being exported as `export { type T }`. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​mithodin](https://redirect.github.com/mithodin) - [@​curlykay9527](https://redirect.github.com/curlykay9527) ### [`v6.0.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#600) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.3.1...v6.0.0) **Compatibility Notice**: This release raises the minimum required Rollup version to **3.25**, the minimum required TypeScript version to **4.5** and the minimum required node.js version to **18**. **Fixes**: - Export types with `export { type T }` syntax. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​mithodin](https://redirect.github.com/mithodin) ### [`v5.3.1`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#531) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.3.0...v5.3.1) **Fixes**: - Export the plugin as a named `dts` export as well. - Export both `cjs` and `mjs` type definitions. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​spiltbeans](https://redirect.github.com/spiltbeans) - [@​xiaoxiangmoe](https://redirect.github.com/xiaoxiangmoe) ### [`v5.3.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#530) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.2.0...v5.3.0) **Compatibility Notice**: This release supports **TypeScript 5.0**. **Fixes**: - Allow to use same resolve method as defined in `tsconfig`. - Add support for `.d.cts` and `.d.mts` files. - Fix `declare` modifiers of enums. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​remcovaes](https://redirect.github.com/remcovaes) - [@​Comandeer](https://redirect.github.com/Comandeer) - [@​hyrious](https://redirect.github.com/hyrious) ### [`v5.2.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#520) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.1.1...v5.2.0) **Fixes**: - Properly support watch mode when transforming `.ts` files. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​rayzr522](https://redirect.github.com/rayzr522) - [@​btea](https://redirect.github.com/btea) ### [`v5.1.1`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#511) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.1.0...v5.1.1) **Fixes**: - Resolve `tsconfig.json` correctly for relative imports. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​mrm007](https://redirect.github.com/mrm007) - [@​Mister-Hope](https://redirect.github.com/Mister-Hope) ### [`v5.1.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#510) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v5.0.0...v5.1.0) **Features**: - Add support for `.mts` and `.cts` files. - Allow supplying a custom `tsconfig.json`. **Fixes**: - Add an `export {}` for empty files without exports. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​await-ovo](https://redirect.github.com/await-ovo) - [@​privatenumber](https://redirect.github.com/privatenumber) ### [`v5.0.0`](https://redirect.github.com/Swatinem/rollup-plugin-dts/blob/HEAD/CHANGELOG.md#500) [Compare Source](https://redirect.github.com/Swatinem/rollup-plugin-dts/compare/v4.2.3...v5.0.0) **Compatibility Notice**: This release targets **Rollup 3.0** and requires **Node 14**. **Features**: - Support reference path directives. **Thank you**: Features, fixes and improvements in this release have been contributed by: - [@​pi0](https://redirect.github.com/pi0)

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 2 years ago
Fails
:no_entry_sign: Danger failed to run `dangerfile.js`.

Error SyntaxError

Cannot use import statement outside a module
/home/runner/work/draftjs-conductor/draftjs-conductor/node_modules/semantic-release/index.js:1
import { createRequire } from "node:module";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:76:18)
    at wrapSafe (node:internal/modules/cjs/loader:1283:20)
    at Module._compile (node:internal/modules/cjs/loader:1328:27)
    at Object.customModuleHandler (/home/runner/work/draftjs-conductor/draftjs-conductor/node_modules/danger/distribution/runner/runners/inline.js:134:28)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at _module2.default._load (/home/runner/work/draftjs-conductor/draftjs-conductor/node_modules/override-require/dist/overrideRequire.js:43:25)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (dangerfile.js:2:25)

Dangerfile

71|     const added = packageDiff.dependencies.added;
72|     const removed = packageDiff.dependencies.removed;
73| 
74|     if (added.length) {
75|       const deps = danger.utils.sentence(added.map((d) => linkDep(d)));
--------------------^
76|       message(`Adding new dependencies: ${deps}`);
77|     }
78| 
79|     if (removed.length) {

Generated by :no_entry_sign: dangerJS against 554312ddd98083e6b8d96fcfa915e14617776fdf

renovate[bot] commented 3 weeks ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: draftjs-conductor@3.0.0
npm ERR! Found: rollup@2.79.1
npm ERR! node_modules/rollup
npm ERR!   dev rollup@"2.79.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer rollup@"^3.29.4 || ^4" from rollup-plugin-dts@6.1.1
npm ERR! node_modules/rollup-plugin-dts
npm ERR!   dev rollup-plugin-dts@"6.1.1" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-11-02T04_07_23_384Z-debug-0.log