Skip to content

fix(pluginutils): Move @types/estree to dependencies (fixes #1315)#1320

Merged
lukastaegert merged 1 commit intorollup:masterfrom
meyfa:fix/pluginutils-estree
Oct 13, 2022
Merged

fix(pluginutils): Move @types/estree to dependencies (fixes #1315)#1320
lukastaegert merged 1 commit intorollup:masterfrom
meyfa:fix/pluginutils-estree

Conversation

@meyfa
Copy link
Contributor

@meyfa meyfa commented Oct 13, 2022

Rollup Plugin Name: @rollup/pluginutils

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers: #1315

Description

estree types are required for downstream packages, since pluginutils/types/index.d.ts makes use of them.
They were previously already part of dependencies (vs. devDependencies, where they currently are) but were accidentally moved in #616. This breaks TypeScript projects on the newest versions of @rollup/plugin-typescript, for example. See #1315 for more info and a reproduction.

estree types are required for downstream packages, since
pluginutils/types/index.d.ts makes use of them.
@lukastaegert lukastaegert merged commit 89450a8 into rollup:master Oct 13, 2022
@meyfa meyfa deleted the fix/pluginutils-estree branch October 13, 2022 12:05
lukastaegert added a commit that referenced this pull request Oct 20, 2022
* fix: Update dependency `@rollup/pluginutils` to ^5.0.1

pluginutils version 4 has a missing production dependency on
`@types/estree`, which manifested itself in issue #1315.
pluginutils v5.0.1 is now released that fixes this problem (via #1320).
This patch updates all plugins that depend on pluginutils to use the
fixed version.

* fix(babel): Revert pluginutils update

* fix(repo): Update remaining Rollup dependencies

Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants