Repository navigation
[ESLint] Move devDependencies to dependencies - #9804
Merged
weronikaolejniczak merged 2 commits intoJul 15, 2026
Merged
weronikaolejniczak merged 2 commits into
weronikaolejniczak merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes @elastic/eslint-plugin-eui failing to load in consumer projects by ensuring runtime-required packages are shipped as dependencies (not devDependencies), and updates related dependency versions (including a Node.js engine bump required by cssstyle@v6).
Changes:
- Move
cssstyle,micromatch, and@typescript-eslint/utilsfromdevDependenciestodependenciesso the plugin can load at runtime for consumers. - Upgrade
cssstyleto^6.2.0and@typescript-eslint/*to^8.64.0. - Add
engines.node: >=20and document the breaking change in the plugin changelog.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| yarn.lock | Updates lockfile to reflect cssstyle@6 and @[email protected] dependency graph changes. |
| packages/eslint-plugin/package.json | Moves runtime deps to dependencies, bumps versions, and adds a Node >=20 engine constraint. |
| packages/eslint-plugin/changelogs/upcoming/9780.md | Adds changelog entry covering the bug fix, breaking Node support change, and dependency bumps. |
| packages/eslint-plugin/changelogs/upcoming/_template.md | Adds a changelog entry template for upcoming changes (matches other packages’ templates). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
weronikaolejniczak
force-pushed
the
fix/eslint-plugin-runtime-deps
branch
2 times, most recently
from
July 14, 2026 14:32
228492e to
132d7da
Compare
weronikaolejniczak
marked this pull request as ready for review
July 14, 2026 14:55
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
packages/eslint-plugin/package.json:44
dedentis still imported by this package’s Jest tests (e.g.src/rules/href_or_on_click.test.ts), but it was removed fromdevDependencies. That will breakyarn test-unitin this workspace unlessdedenthappens to be hoisted from elsewhere.
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.8.3"
weronikaolejniczak
force-pushed
the
fix/eslint-plugin-runtime-deps
branch
from
July 14, 2026 15:15
132d7da to
965b9fe
Compare
mgadewoll
reviewed
Jul 15, 2026
weronikaolejniczak
enabled auto-merge (squash)
July 15, 2026 10:51
💚 Build Succeeded
History
|
💚 Build Succeeded
History
|
acstll
added a commit
to elastic/kibana
that referenced
this pull request
Jul 21, 2026
## Dependency updates `@elastic/eui` - v117.0.0 ⏩ v117.1.0 `@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1 ## Package updates ### `@elastic/eui` [v117.1.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md) - Updated the outer border width on `EuiFlyout` to `1px` ([#9803](elastic/eui#9803)) - Removed the `translateY` transform on clickable `EuiPanel`s ([#9702](elastic/eui#9702)) - Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m` to align with the shadow guidelines ([#9702](elastic/eui#9702)) **Bug fixes** - Fixed `renderHook` test utility requiring `@testing-library/react-hooks` in consumer environments running React 18+ ([#9805](elastic/eui#9805)) - Fixed `EuiSearchBar` in-memory filtering keeping items that a negated multi-value clause such as `-field:(a or b)` should exclude ([#9783](elastic/eui#9783)) **Dependency updates** - Updated `@elastic/prismjs-esql` to v4.13.0 ([#9814](elastic/eui#9814)) ### `@elastic/eslint-plugin-eui` [v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md) **Bug fixes** - Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving its runtime dependencies (`cssstyle`, `micromatch`, `@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`) from `devDependencies` to `dependencies` ([#9804](elastic/eui#9804)) **Dependency updates** - Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0` ([#9804](elastic/eui#9804)) --------- Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski
pushed a commit
to patrykkopycinski/kibana
that referenced
this pull request
Aug 5, 2026
## Dependency updates `@elastic/eui` - v117.0.0 ⏩ v117.1.0 `@elastic/eslint-plugin-eui` - v2.13.0 ⏩ v2.14.1 ## Package updates ### `@elastic/eui` [v117.1.0](https://github.com/elastic/eui/blob/main/packages/eui/changelogs/CHANGELOG_2026.md) - Updated the outer border width on `EuiFlyout` to `1px` ([elastic#9803](elastic/eui#9803)) - Removed the `translateY` transform on clickable `EuiPanel`s ([elastic#9702](elastic/eui#9702)) - Updated the hover shadow size on clickable `EuiPanel`s from `l` to `m` to align with the shadow guidelines ([elastic#9702](elastic/eui#9702)) **Bug fixes** - Fixed `renderHook` test utility requiring `@testing-library/react-hooks` in consumer environments running React 18+ ([elastic#9805](elastic/eui#9805)) - Fixed `EuiSearchBar` in-memory filtering keeping items that a negated multi-value clause such as `-field:(a or b)` should exclude ([elastic#9783](elastic/eui#9783)) **Dependency updates** - Updated `@elastic/prismjs-esql` to v4.13.0 ([elastic#9814](elastic/eui#9814)) ### `@elastic/eslint-plugin-eui` [v2.14.1](https://github.com/elastic/eui/blob/main/packages/eslint-plugin/changelogs/CHANGELOG_2026.md) **Bug fixes** - Fixed ESLint failing to load `@elastic/eslint-plugin-eui` by moving its runtime dependencies (`cssstyle`, `micromatch`, `@typescript-eslint/utils` and `@typescript-eslint/typescript-estree`) from `devDependencies` to `dependencies` ([elastic#9804](elastic/eui#9804)) **Dependency updates** - Updated `@typescript-eslint/*` packages from `8.31.1` to `8.64.0` ([elastic#9804](elastic/eui#9804)) --------- Co-authored-by: kibanamachine <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #9780
cssstyle,micromatch,@typescript-eslint/*todependencies(they were indevDependencies); plugin failed to load for consumers.@typescript-eslint/*v8.31.1→v8.64.0.QA instructions for reviewer