Version Packages (alpha) - #261
Merged
Merged
Conversation
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
masteris currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmaster.Releases
@wearerequired/eslint-config@7.0.0-alpha.0
Major Changes
3f8da04: Switch to ESLint flat config. The package now exports an array of flat config objects.
eslintpeer dependency from>=8 <9to^9.0.0 || ^10.0.0. ESLint 10 works when ESLint comes from@wordpress/scripts(v32+, the recommended WordPress setup). A standalone direct ESLint 10 install may need--legacy-peer-depsbecause the classiceslint-plugin-import@2bundled by@wordpress/eslint-pluginstill stops at ESLint 9 in its peer range (fixed upstream once WordPress moves toeslint-plugin-import-x).@wordpress/eslint-pluginpeer dependency from>=17 <25to^25.0.0. This version bundles bothtypescript-eslintandeslint-import-resolver-typescriptas direct dependencies, which fixes the recurring transitive@typescript-eslintresolution failures. The upper bound is kept because the config spreads the plugin'sconfigs.recommendedflat-config array, whose shape may change across majors.import/core-modulesallowlist to the current set of WordPress script packages, so their imports are not reported as unresolved. Adds 20 packages, including@wordpress/preferences,@wordpress/preferences-persistence,@wordpress/commands,@wordpress/interactivity,@wordpress/patternsand@wordpress/router.Migration: delete
.eslintrc*and.eslintignore, then add aneslint.config.jsin your project root:@wearerequired/stylelint-config@7.0.0-alpha.0
Major Changes
3f8da04: Update to stylelint 16 and
@wordpress/stylelint-config23.stylelintpeer dependency from^14to^16.8.2and the@wordpress/stylelint-configpeer dependency from^21to^23. Addstylelint-scss(^6.4.0) as a peer dependency.@wordpress/stylelint-config/stylistic(and/scss-stylisticfor the SCSS preset) so stylelint keeps enforcing formatting after stylelint 16 moved the stylistic rules into@stylistic/stylelint-plugin. The stylistic rules now carry the@stylistic/prefix; required's overrides are preserved (max-line-length: 100,max-empty-lines: 1,number-leading-zero: never,function-parentheses-space-inside: always-single-line,function-comma-space-after: always-single-line,media-feature-parentheses-space-inside: always).@stylistic/stylelint-pluginandstylelint-config-recommended-scssdirect dependencies — both are provided transitively by@wordpress/stylelint-config.The BEM
selector-class-pattern,function-url-quotes, thepostcss-mixinsat-rule-no-unknownallowance and the*-empty-line-beforerules are kept.