aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
Commit message (Collapse)AuthorAgeFilesLines
* Update Codex from v1.21.1 to v1.22.0Eric Gardner2025-04-011-2/+2
| | | | | | | | | | | | Bug: T310158 Bug: T386298 Bug: T386482 Bug: T388049 Bug: T388857 Bug: T389234 Bug: T390589 Bug: T390615 Change-Id: I1325618ae8ccd554f8f0891abe6a51df539ab6da
* build: Update wdio packages to 7.40.0Daimona Eaytoy2025-03-261-5/+5
| | | | | | LibUp takes care of this for all repos, but not core. Change-Id: I8784dcf6dd1820b92d25b110a4ae68f23c321d07
* Update Codex from v1.20.3 to v1.21.1Anne Tomasevich2025-03-201-2/+2
| | | | | | | | | | | | | | | | | Bug: T373222 Bug: T386152 Bug: T386482 Bug: T386485 Bug: T386997 Bug: T387217 Bug: T387218 Bug: T387867 Bug: T388709 Bug: T388710 Bug: T388831 Bug: T388835 Bug: T389094 Change-Id: Idd564f5720960a9376f6d83a25d19a42e9c50f19
* build: Upgrade eslint-config-wikimedia to 0.29.1James D. Forrester2025-03-141-1/+1
| | | | | | Disable all new issues for now. Change-Id: Ib145e2cd4f455355bb11857ae68cd05cb432924e
* Update Codex from v1.20.2 to v1.20.3lwatson2025-03-041-2/+2
| | | | | | | | | | | | | | | | | | Bug: T373218 Bug: T373219 Bug: T383867 Bug: T386148 Bug: T386150 Bug: T386151 Bug: T386300 Bug: T386481 Bug: T386485 Bug: T386621 Bug: T387536 Bug: T387601 Bug: T387757 Bug: T387911 Change-Id: If664d2c3a8fde00f8012a03a53436db8b943558b
* build: Upgrade SVGO from 3.2.0 to 3.3.2 and re-crush our SVGsJames D. Forrester2025-02-201-1/+1
| | | | | | Only one actually changes. Change-Id: I3fc62330038bd21cee231a06e44accdee7ab2f5c
* Update Codex from v1.20.1 to v1.20.2Volker E.2025-02-191-2/+2
| | | | | | | | | | | | | | | Bug: T364401 Bug: T383105 Bug: T383642 Bug: T383907 Bug: T383909 Bug: T384519 Bug: T385068 Bug: T385484 Bug: T385667 Bug: T386412 Bug: T386541 Change-Id: I9d488afbce55efced43096b345b92c8636e9efac
* Update Codex from v1.20.0 to v1.20.1Anne Tomasevich2025-02-041-2/+2
| | | | | | | | | | | | Bug: T358544 Bug: T365759 Bug: T372748 Bug: T372896 Bug: T382758 Bug: T384056 Bug: T385099 Bug: T385499 Change-Id: Ib99bbb4fd3bf6532ad7f1e0e6f4a4c941fd3592a
* build: Update QUnit from 2.23.1 to 2.24.1Timo Tijhof2025-01-261-1/+1
| | | | | | | | | | Highlights from https://qunitjs.com/blog/ * Cleaner stack traces for uncaught errors. * Fix TAP compliance. * Faster "Hide passed" toggling on large test suites. Change-Id: Ia7760b0f84d11c590ca73bce77da2405f411f47d
* Update Codex from 1.19.0 to 1.20.0Eric Gardner2025-01-231-3/+3
| | | | | | | | | | | | | | | | | | | | Bug: T309109 Bug: T309669 Bug: T335089 Bug: T346320 Bug: T349283 Bug: T355083 Bug: T358062 Bug: T371140 Bug: T372896 Bug: T374140 Bug: T380942 Bug: T381775 Bug: T383091 Bug: T383113 Bug: T383115 Bug: T383337 Change-Id: I6722d3244f9a4494eded4b6ad50b743c860e7a0d
* build: Updating dependencieslibraryupgrader2025-01-131-1/+1
| | | | | | | | | | composer: * mediawiki/mediawiki-phan-config: 0.15.0 → 0.15.1 npm: * jsdoc: 4.0.2 → 4.0.4 Change-Id: I6d95d8a9b87394e335cd03e826adcb29bea0a2ca
* Update Codex to 1.19.1Roan Kattouw2025-01-071-3/+3
| | | | | | | | | | | | | | | Also update Vue from 3.4.27 to 3.4.28, required by Codex 1.19.x. We'll update to Vue 3.5 soon (and also fix the issue that requires Codex and Vue to be updated in the same commit). Bug: T317792 Bug: T379299 Bug: T381798 Bug: T382175 Bug: T382391 Bug: T383073 Bug: T383080 Change-Id: I4d4ac2f18d9d314347f58646ecfff8257d7b7ade
* build: Update qunit from 2.20.0 to 2.23.1Timo Tijhof2024-12-281-1/+1
| | | | | | | | | | Highlights from https://github.com/qunitjs/qunit/blob/2.23.1/History.md * Add `assert.closeTo()`. https://qunitjs.com/api/assert/closeTo/ * Add `QUnit.test.if()` and `QUnit.module.if()`. https://qunitjs.com/api/QUnit/test.if/ Change-Id: I23e33feafdb22becc0247cba5ea56767c1b9b6c1
* build: Upgrade stylelint-config-wikimedia from 0.17.2 to 0.18.0James D. Forrester2024-12-191-1/+1
| | | | | | | Drop some of the extra plugin/no-unsupported-browser-features warning suppressions for flexbox-gap to make pass. Change-Id: I665bce898ec9742061b54c32c079ab16518e6118
* Update Codex from v1.17.0 to v1.18.0lwatson2024-12-101-2/+2
| | | | | | | | | | | | Bug: T303384 Bug: T314514 Bug: T341978 Bug: T342126 Bug: T370889 Bug: T380452 Bug: T381787 Depends-On: I58401027164c50a7eab694789597678e13392561 Change-Id: I2b1a13084d2d4369f7af8d17595d0b2f4def511b
* build: Updating npm dependencieslibraryupgrader2024-12-101-1/+1
| | | | | | | | | | | | | | | | | | | * grunt-stylelint: 0.20.0 → 0.20.1 * body-parser: 1.19.2 → 1.20.3 * https://github.com/advisories/GHSA-qwcr-r2fm-qrc7 * micromatch: 4.0.7 → 4.0.8 * https://github.com/advisories/GHSA-952p-6rrq-rcjv * socket.io: 4.6.1 → 4.8.0 * https://github.com/advisories/GHSA-25hc-qcg6-38wj Additional changes: * Also sorted "composer fix" command to run phpcbf last. Manual changes: * A number of semi-random adjustments to declaration-no-important over-rides until stylelint passes. Eurgh. Change-Id: Icbac4f46a91d6e8c19afcaa5eccbf08763bcd653
* Update Codex from v1.16.0 to v1.17.0Eric Gardner2024-11-271-2/+2
| | | | | | | | | | | | Bug: T342126 Bug: T370446 Bug: T378024 Bug: T378025 Bug: T378425 Bug: T380198 Bug: T380759 Bug: T380760 Change-Id: I7625e335b67073d3f6225025048f339dbc182603
* Update Codex from v1.15.0 to v1.16.0Anne Tomasevich2024-11-131-2/+2
| | | | | | | | | | | | | | Bug: T368629 Bug: T368938 Bug: T369838 Bug: T370886 Bug: T375827 Bug: T377977 Bug: T378177 Bug: T379004 Bug: T379636 Depends-On: If0108af217294bafe356072c7b13da00b99619d8 Change-Id: Ia8135a1a3e4fe9e9fac47418df43baeced36d8c4
* Merge "REST: ability to validate responses against response schemas in tests"jenkins-bot2024-11-071-0/+1
|\
| * REST: ability to validate responses against response schemas in testsbpirkle2024-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | REST API endpoints can define response schemas in their OpenAPI spec. But because these schemas are not generated from the actual code, they are not guaranteed to match the actual response. Introduce support for integration tests to validate response schemas against actual responses, to ensure the schemas reflect reality. Bug: T376339 Change-Id: I68524ac865240b1521c3858c2defec945e7a2ea6
* | api-testing: Run tests in parallelKosta Harlan2024-11-041-1/+1
|/ | | | | Bug: T298735 Change-Id: I28e4b1677edf0cf9d1d531f50b3f2f2e541bf85c
* Update Codex from v1.14.0 to v1.15.0Eric Gardner2024-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | Bug: T305036 Bug: T341357 Bug: T370132 Bug: T370446 Bug: T372000 Bug: T373200 Bug: T373872 Bug: T374454 Bug: T375383 Bug: T376070 Bug: T376135 Bug: T376641 Bug: T376642 Bug: T376644 Bug: T378191 Bug: T378366 Change-Id: Ibaddd124bdaaacb399ae34f72ad3917299766959 Depends-On: Ib2a9ee811f9672b5bffaf2263fbc6fc37d806d59
* Merge "Update Codex from v1.13.1 to v1.14.0"jenkins-bot2024-10-161-2/+2
|\
| * Update Codex from v1.13.1 to v1.14.0lwatson2024-10-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T362650 Bug: T370057 Bug: T371118 Bug: T374659 Bug: T374882 Bug: T375699 Bug: T375700 Bug: T376024 Bug: T376622 Change-Id: I18684997862a1a6427627d8061a2583fff00e621
* | package.json: add pinia and @pinia/testingMusikAnimal2024-10-151-0/+2
|/ | | | | | | | | | | | | | The upcoming Multiblocks project will make use of a Pinia store, which is already shipped in MediaWiki via ResourceLoader. In order to continue to test Vue components that make use of a store, we need the Pinia testing utilities. The 'pinia' package is locked to the same version that's in RL, 2.0.16, while '@pinia/testing' is locked at 0.0.12, the same version used by some extensions such as GrowthExperiments. Bug: T251790 Change-Id: Ia88d987bf7e5afa1a17d63b4ebc96448ccec2f6c
* Update Codex from v1.13.0 to v1.13.1Anne Tomasevich2024-10-011-2/+2
| | | | | | | | | Bug: T322014 Bug: T362346 Bug: T373225 Bug: T375698 Bug: T376045 Change-Id: I48c5a0e781fb10893adf63921124df23587b83ad
* Update Codex from v1.12.0 to v1.13.0lwatson2024-09-171-2/+2
| | | | | | | | | | | | | | | | Bug: T251790 Bug: T360494 Bug: T363515 Bug: T365779 Bug: T370493 Bug: T371998 Bug: T372433 Bug: T372928 Bug: T373437 Bug: T374246 Bug: T374378 Change-Id: I1106330843660978bd917fe5ab7ce2e23226d3ee
* Add Jest to MW Core for testing Vue componentsEric Gardner2024-09-111-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings Jest to MW Core so that Vue components can more easily be tested. Packages ending with 'icons.json' are auto-mapped to the @wikimedia/codex-icons package, establishing a new convention. Jest is needed for testing Vue, but can be used for general JS testing as well. Documentation to come at https://www.mediawiki.org/wiki/Jest Usage: to run the tests, run "npx jest" or "npm run jest" in the root folder. This could be aliased to a "test:unit" script in package.json if desired. In order to make a Vue component testable, it is required to follow the `module.exports = exports` pattern. See: https://nodejs.org/api/modules.html#exports-shortcut A default jest.setup.js is added that mocks Core's mw global object, as well as providing the $i18n Vue plugin. This is based on Extension:GrowthExperiments (GPL-3.0-or-later). See https://w.wiki/B9vM An initial test for mediawiki.special.block is added, exemplifying how to mock calls to mw.config.get(). NOTE: The "overrides" added to package.json is a temporary measure to get around a current issue with caniuse-lite and the stylelint plugin that relies on it. See: https://github.com/RJWadley/stylelint-no-unsupported-browser-features/issues/299 Bug: T251790 Change-Id: I1af15e038d17b0f1c645fc5debf9db5846f6215c
* Merge "build: alphabetize package.json scripts"jenkins-bot2024-07-051-5/+5
|\
| * build: alphabetize package.json scriptsNovem Linguae2024-06-261-5/+5
| | | | | | | | | | | | no-op Change-Id: Ifc43411be7a7a37c7ac3a372bef1236eed71b0c4
* | Update jsdoc-wmf-theme from 1.0.1 to 1.1.0apaskulin2024-06-271-1/+1
|/ | | | | | | | | | | | | | * Use the new default set of plugins * Remove prefixMap since that is now handled by the theme * Remove linkMap items provided by the theme * Replace the JSDoc-specific package.json with a maintitle and README h1 * Add node_modules/jsdoc-class-hierarchy as a dependency. This plugin isn't currently used in core, but it is part of the default plugin set. Bug: T368081 Change-Id: Ib2b16b2f4c5f11ff29cc6dc5d67df43bc59c9752
* Merge "build: Update stylelint-config-wikimedia to 0.17.2"jenkins-bot2024-06-131-2/+2
|\
| * build: Update stylelint-config-wikimedia to 0.17.2Ed Sanders2024-06-131-2/+2
| | | | | | | | Change-Id: I8d68bcae416463ceec6d7b617e38d34c57360698
* | build: Update eslint-config-wikimedia to 0.28.2Ed Sanders2024-06-131-1/+1
|/ | | | | | Fixes false positive with no-jquery/no-extend Change-Id: I4f7e8da89da3a7433e0fcd82b7bb341ad4d0068c
* build: Update eslint-config-wikimedia to 0.28.1 and autofixEd Sanders2024-06-111-2/+1
| | | | | | | Also remove temporary explicit dependency on eslint-plugin-vue introduced in Ibd616750f046a. Change-Id: Ic6330fcb116e99d5827b4877e094e3073e2b7b72
* Merge "JSDoc: rename config file"jenkins-bot2024-06-101-1/+1
|\
| * JSDoc: rename config fileNovem Linguae2024-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | Rename .jsdoc.json to jsdoc.json For consistency with the naming pattern in other repositories. The other ones use jsdoc.json with no period at the beginning. https://codesearch.wmcloud.org/deployed/?q=%22pedantic%22%3A+true%2C&files=&excludeFiles=&repos= Change-Id: I92b04604cc873941505f991421d1baf08f97e7b8
* | build: Updating grunt-banana-checker to 0.13.0libraryupgrader2024-06-101-1/+1
|/ | | | Change-Id: Ie15fafb908815c34784effbdcbc0613a21262094
* Merge "JSDoc: Convert config to JSON"jenkins-bot2024-06-041-1/+1
|\
| * JSDoc: Convert config to JSONEd Sanders2024-05-101-1/+1
| | | | | | | | | | | | Config file contains no dynamic code, or code comments. Change-Id: I22d015709c09c69478f4405ffea4f6c0f38bc521
* | api-testing: make xmls2js a devDependencydaniel2024-05-211-3/+1
| | | | | | | | | | | | xml2js was accidentally aded as a regular dependency in Idb5b0d21a. Change-Id: I22bdcf61b0e6dd0623cf973df89b991d2504e3c4
* | Merge "REST: introduce OpenSearchDescriptionHandler"jenkins-bot2024-05-211-0/+3
|\ \
| * | REST: introduce OpenSearchDescriptionHandlerdaniel2024-05-181-0/+3
| |/ | | | | | | | | | | | | | | Move open search description endpoint from /w/opensource_desc.php to /w/rest.php/v1/search. Bug: T363984 Change-Id: Idb5b0d21adc6152ef77e6d17846b6acc6a904e01
* / build: Have SVGO crunch resources/assets/ tooJames D. Forrester2024-05-171-1/+1
|/ | | | Change-Id: I39213da6251301417fe84e1f94b5a2b61bbdd9d3
* Merge "npm: add "mocha" script"jenkins-bot2024-05-081-0/+1
|\
| * npm: add "mocha" scriptdaniel2024-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This allows developers to easily run specific mocha tests, rather than all core mocha tests as "npm run api-testing" would. Currently, the only way to do this is to type: node_modules/.bin/mocha --timeout 0 --recursive some-test-or-other With this patch, that becomes npm run mocha -- some-test-or-other Change-Id: Idd6d9d9b17182f5baf1a559f7213224ca40acea5
* | Update jsdoc-wmf-theme to 1.0.1tacsipacsi2024-05-071-1/+1
|/ | | | Change-Id: I1ac4b1ee2938f35fa9964dddfacbe9a09bcd5dff
* Update jsdoc-wmf-theme from 0.0.13 to 1.0.0apaskulin2024-04-161-1/+1
| | | | | | | | | - Upgrade to 1.0.0, adding dependency on marked - Replace local allow-dots-in-modules plugin with theme plugin - Replace JSDoc summarize plugin with theme plugin - Enable betterlinks plugin Change-Id: I4c9d7f05c1fa1e6b8869dc3519d0bfd4a92b353f
* build: Upgrade eslint-config-wikimedia to 0.27.0James D. Forrester2024-04-091-1/+1
| | | | | | | Two odd compat/compat warnings not detecting the implicit sniffs. Otherwise a no-op. Change-Id: Ibfbf8f2653a0954f773ebdd98268d02f7b978eb6
* Update eslint-plugin-vue to 9.23.0Roan Kattouw2024-03-211-0/+1
| | | | | | | | | | | | | | | | In theory we shouldn't need to do this, because eslint-config-wikimedia already provides eslint-plugin-vue. However, eslint-plugin-mediawiki also pulls in eslint-plugin-vue but at an older version, and this causes nonsensical vue/dot-location errors to be raised at the end of the `<script>` block in each .vue file. This is a temporary fix to make it possible to introduce .vue files in MW core without having to disable the vue/dot-location at the end of each file. Once this is fixed permanently upstream (see https://github.com/wikimedia/eslint-plugin-mediawiki/pull/95), this change can be undone. Change-Id: Ibd616750f046a3a66b5d7f2665696ed9175a4090