Refresh frontend tooling devDependencies and drop dead packages#968
Merged
Conversation
Dev-only updates to resources/ext.neowiki. Runtime libs (vue, codex, pinia) stay pinned to the versions MediaWiki 1.43 provides at runtime. - Align with eslint-config-wikimedia 0.32.4: @stylistic/eslint-plugin ^2.8.0 -> ^3.1.0 and eslint-plugin-unicorn ^55 -> ^56.0.1 (both still support eslint 8, which the wikimedia config pins us to). - types-mediawiki ^1.8.0 -> ^2.0.0 (the v2 removed aliases are unused). - jsdom ^25 -> ^29.1.1 (+ @types/jsdom ^28). Its stricter, more spec-compliant selector engine required replacing fragile `div > div > :is(a, span)` selectors in RelationDisplay.spec.ts that relied on the query scope element itself matching the first `div`. - @types/node ^22 -> ^24 to match the Node 24 CI/runtime. - axios -> ^1.18.1, less -> ^4.6.7 (in-range refresh). - Replace the unmaintained npm-run-all with its drop-in fork npm-run-all2 ^8.0.4. - Declare stylelint directly (previously only transitive via the config). - Remove dead devDependencies: @types/dompurify (no dompurify dep or usage) and sass-embedded (no SCSS in the project). Pin @vue/test-utils to 2.4.6: 2.4.11's attachTo path calls Vue 3.5's app.onUnmount, which throws against our pinned Vue 3.4.27. vite/vitest are upgraded in a separate commit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
alistair3149
marked this pull request as ready for review
June 29, 2026 20:26
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.
Dev-only updates to
resources/ext.neowiki. Runtime libs (vue,@wikimedia/codex,pinia) stay pinned to the versions MediaWiki 1.43 provides at runtime (they are externalized in the Vite build).eslint-config-wikimedia0.32.4:@stylistic/eslint-plugin^2.8.0 -> ^3.1.0andeslint-plugin-unicorn^55 -> ^56.0.1(both still support ESLint 8, which the wikimedia config pins us to).types-mediawiki^1.8.0 -> ^2.0.0(the v2 removed aliases are unused in our source).jsdom^25 -> ^29.1.1(+@types/jsdom^28). Its stricter, more spec-compliant selector engine required replacing fragilediv > div > :is(a, span)selectors inRelationDisplay.spec.tsthat relied on the query scope element itself matching the firstdiv.@types/node^22 -> ^24to match the Node 24 CI/runtime.axios -> ^1.18.1,less -> ^4.6.7(in-range refresh).npm-run-allwith its drop-in forknpm-run-all2^8.0.4.stylelintdirectly (previously only present transitively via the config).@types/dompurify(nodompurifydep or usage) andsass-embedded(no SCSS in the project).Pin
@vue/test-utilsto2.4.6: 2.4.11'sattachTopath calls Vue 3.5'sapp.onUnmount, which throws against our pinned Vue 3.4.27.vite/vitestare upgraded in a separate PR.Verified with
make tsci(test, build, lint) on Node 24.