fix: mark all experimental options#20814
Conversation
🦋 Changeset detectedLatest commit: 4898461 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
This PR is packaged and the instant preview is available (34188ea). Install it locally:
npm i -D webpack@https://pkg.pr.new/webpack@34188ea
yarn add -D webpack@https://pkg.pr.new/webpack@34188ea
pnpm add -D webpack@https://pkg.pr.new/webpack@34188ea |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20814 +/- ##
=======================================
Coverage 91.39% 91.39%
=======================================
Files 560 560
Lines 55307 55307
Branches 14596 14596
=======================================
Hits 50548 50548
Misses 4759 4759
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates webpack’s option metadata and generated TypeScript declarations so that all experiments options are explicitly marked as experimental across the schema and emitted typings, aligning with the intent of #20769.
Changes:
- Bump
webpack/toolingtov1.26.1and updateyarn.lockaccordingly. - Mark all
experimentsoptions as experimental inschemas/WebpackOptions.jsonand propagate@experimentaltags into generated.d.tsoutputs. - Add a changeset to publish the fix as a patch.
Reviewed changes
Copilot reviewed 3 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Bumps tooling dependency to webpack/tooling#v1.26.1. |
yarn.lock |
Locks updated tooling git tarball/version to match package.json. |
schemas/WebpackOptions.json |
Adds experimental: true metadata on all Experiments / ExperimentsNormalized properties; removes now-unneeded shared ExperimentsCommon schema usage. |
types.d.ts |
Updates generated declarations so all experiments fields include @experimental. |
declarations/WebpackOptions.d.ts |
Updates generated public typings to include @experimental and consolidates Experiments* shapes into Experiments / ExperimentsNormalized. |
.changeset/tender-spiders-cough.md |
Patch changeset noting experimental markings in types. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
fixes #20769
What kind of change does this PR introduce?
fix
Did you add tests for your changes?
Existing
Does this PR introduce a breaking change?
No
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Nothing
Use of AI
No