aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
Commit message (Collapse)AuthorAgeFilesLines
...
* Update jsdoc-wmf-theme from 0.0.12 to 0.0.13apaskulin2024-03-051-2/+2
| | | | | | Update jsdoc 3.6.10 to 4.0.2 Change-Id: I88f4ae48ca7b60d370daa729daf2c6f68ce0648f
* build: Update karma-qunit to 4.2.0 and remove old `__karma__` hackTimo Tijhof2024-03-021-1/+1
| | | | | | Made redundant by https://github.com/karma-runner/karma-qunit/pull/184. Change-Id: If636ec52826c2bdcf1b6809e8ff18e34179cd71d
* Merge "build: Update karma-firefox-launcher to fix bug on macOS"jenkins-bot2024-02-131-1/+1
|\
| * build: Update karma-firefox-launcher to fix bug on macOSTimo Tijhof2024-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Mozilla has stopped shipping the `Firefox.app/Contents/MacOS/firefox-bin` entrypoint for macOS, instead favouring `Firefox.app/Contents/MacOS/firefox`. This broke the launcher and requires a minor patch. Pending an upstream release, use our fork for now. We can transition this to a simpler setup without Karma (i.e. launch browser directly), but for now we can patch it in this way. Change-Id: If99f030b1b23be6b906a15bfdb72590fc249cb0c
* | build: Upgrade grunt-banana-checker from 0.11.0 to 0.11.1James D. Forrester2024-02-091-1/+1
|/ | | | Change-Id: Ia14474b62f226fe5ce735903c5d23a513e976840
* Update jsdoc-wmf-theme from 0.0.11 to 0.0.12apaskulin2024-01-251-1/+1
| | | | Change-Id: I772deeed7c5e7f95ebbab88d1e67bcd00da4cbcc
* build: Update 'svgo' to latest v3.2.0Volker E2024-01-121-3/+3
| | | | | | | | | | | | | The latest update of 'svgo' dependency includes three optimizations on converting path commands, which - improves closing paths and how we determine if to use absolute or relative commands. - round arc or convert to lines based on the geometric sagitta - convert cubic Bézier curves to quadratic Bézier curves where possible Also unifiying npm command to qua standard notation `minify:svg`. Bug: T354875 Change-Id: Iaa9857ad95a1247fa0751f3953d324ea5c83b92c
* Merge "Gruntfile: Remove now-unused copy:jsdoc command"jenkins-bot2023-12-211-2/+0
|\
| * Gruntfile: Remove now-unused copy:jsdoc commandRoan Kattouw2023-12-211-2/+0
| | | | | | | | | | | | | | | | This was needed for jsduck, but isn't needed now that we use jsdoc instead. Bug: T352308 Change-Id: Iade0bf72d74328d8e88f15ee54dd064b526a7c05
* | Update jsdoc-wmf-theme from 0.0.9 to 0.0.11apaskulin2023-12-191-1/+1
|/ | | | Change-Id: I79c826babd864a8d519134839d55f27747a99455
* Update jsdoc-wmf-theme from 0.0.8 to 0.0.9Roan Kattouw2023-12-071-1/+1
| | | | Change-Id: Ida572854ccbbfe2c5ff9c3c958eee37d83ce7c1d
* Re-apply "REST: Emit swagger spec"Daniel Kinzler2023-12-061-0/+1
| | | | | | | | | This reverts commit 890558f1fa526550128bbfadcef94d72c430d717. This restores Id584208d9b67d877606a0add1d71c9b1784cdb1b with some fixes. Bug: T323786 Bug: T352742 Change-Id: Ib31c451ddd75b06c95a544c8a3d2a64b32264126
* Revert "REST: Emit swagger spec"Urbanecm2023-12-051-1/+0
| | | | | | | | | This reverts commit bb4b5c5f87f292ef00415aff96c628cfe59c34c1. Reason for revert: patch breaks CI Bug: T352742 Change-Id: Iaf57bad945f5cbd01508a513f0d219ec4b510ce8
* REST: Emit swagger specdaniel2023-12-041-0/+1
| | | | | | | | | | This is only enabled in development mode for now. It's intended as a baseline for further development, the feature is not ready for production. Bug: T323786 Change-Id: Id584208d9b67d877606a0add1d71c9b1784cdb1b Co-authored-by: Atieno <pnjira@wikimedia.org>
* Add jsdoc with jsdoc-wmf-themeJon Robson2023-11-281-2/+4
| | | | | | | | | | | | | | | | jsduck is preventing us from using ES6 syntax and has not been supported for some time. It is also difficult to setup locally due its use of Ruby. Introduce jsdoc and remove jsduck per T138401#9335987 Link to static copy of jsduck explaining the state This does the bare minimum - the docs are built to the folder docs/js/index.html and only one module is ported over to allow us to provide feedback on the end result. Bug: T138401 Change-Id: I1a351ac5aec731bb79a877023ac10988ec3ec786
* build: Upgrade eslint-config-wikimedia from 0.25.0 to 0.26.0 and make passJames D. Forrester2023-11-221-1/+1
| | | | | | | | Mostly this has a bunch of whitespace changes from the template-curly-spacing and brace-style rules being set to align with other spacing rules. Change-Id: I4609c52a4ef426ad1f35fb4bfe447bb08323a8e8
* selenium: Update @wdio to the latest v7 versionsŽeljko Filipin2023-11-221-5/+5
| | | | | | | Required for running tests using Firefox. Bug: T351747 Change-Id: I19d247d559eff06fc0aebac79f0d31b6ef65170a
* tests: Upgrade QUnit from v2.19.4 to v2.20.0James D. Forrester2023-10-201-1/+1
| | | | Change-Id: I9a870d937efee1588fb87584f65a985cb0d03693
* build: Update lintersEd Sanders2023-08-211-4/+4
| | | | Change-Id: I35fa6b68e1ffdc563bd49de06d8ba11561f9cfdc
* build: Update SVGO to v3.0.2Volker E2023-06-151-1/+1
| | | | | | | | | svgo 2.8.0 → 3.0.2 Amending to new `cleanupIds` plugin name. Bug: T339290 Change-Id: I16c77a2e6472f8b24e09795899233814fbb570e4
* build: Updating npm dependencieslibraryupgrader2023-06-021-2/+2
| | | | | | | * grunt-banana-checker: 0.10.0 → 0.11.0 * stylelint-config-wikimedia: 0.14.0 → 0.15.0 Change-Id: I21b3f7ed59c6f1485d968a6912f4ac33cdb1f53c
* Update eslint-config-wikimedia to 0.25.0Ed Sanders2023-05-051-1/+1
| | | | Change-Id: I70d4e311d369bd160e0cb9411d1b074e22104006
* build: Upgrade api-testing from 1.5.1 to 1.6.0James D. Forrester2023-04-121-1/+1
| | | | | Bug: T333134 Change-Id: I8a9a3c3b2ba641806a6c75ffb852238b1a1d7606
* build: Uprade stylelint-config-wikimedia from 0.13.1 to 0.14.0James D. Forrester2023-03-161-1/+1
| | | | Change-Id: Ia66b47d707453b4204a52e3ad62c52be60cc1c86
* build: Upgrade grunt from 1.5.3 to 1.6.1James D. Forrester2023-02-221-1/+1
| | | | Change-Id: I8a71615e6cf70e07f60b97f5d53ed2da1faa8642
* build: Update qunit from 2.18.2 to 2.19.4Timo Tijhof2023-02-211-1/+1
| | | | | | | | | | | | <https://github.com/qunitjs/qunit/blob/2.19.4/History.md> Main takeaways for us: * Assert: Faster deepEqual. * Core: Fix event "runtime" data to be rounded to milliseconds. * HTML Reporter: Faster toolbar setup. Change-Id: I2797cba94efc92d7986cc0573cc1b0c91541e3b2
* build: Upgrade eslint-config-wikimedia from 0.22.1 to 0.24.0James D. Forrester2023-02-071-2/+2
| | | | Change-Id: I8b2864b36ffa131a2c197c8a7da532e55a0d1a7e
* selenium: Remove webdriverio npm packageŽeljko Filipin2022-12-131-2/+1
| | | | | | | | The `webdriverio` package does not need to be an explicit dependency. It is a dependency of `@wdio/cli`. Bug: T325059 Change-Id: Ie0ca84eb07fc12ebfeca9c16af26e1d84e8ba76a
* Merge "selenium: Run most tests targeting the beta cluster"jenkins-bot2022-12-071-1/+1
|\
| * selenium: Run most tests targeting the beta clusterŽeljko Filipin2022-11-301-1/+1
| | | | | | | | | | | | | | | | Only creating account via the web interface does not work on the beta cluster, because of CAPTCHA. Bug: T323824 Change-Id: I7e9c6169f1c72450b4b620a8712629af7637f06b
* | Bump api-testing to 1.5.1daniel2022-12-061-1/+1
|/ | | | | | This fixes a bug with double-wrapping promises. Change-Id: I40af372c17324dfe3863a5170c831ceeb59b7c49
* selenium: Remove unneeded MW_SCRIPT_PATH environment variableŽeljko Filipin2022-11-251-1/+1
| | | | | | | The environment variable is already set in the Jenkins job. Bug: T323824 Change-Id: I08792ca50b5603b3f190638b0fa6e9d2d5c5656b
* build: Updating dependencieslibraryupgrader2022-11-161-1/+1
| | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1 npm: * stylelint-config-wikimedia: 0.13.0 → 0.13.1 Change-Id: I67877aa166d781ce5e30dc2fe99050ebdfb28f32
* build: Updating dependencieslibraryupgrader2022-10-071-3/+3
| | | | | | | | | | | | | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0 The following sniffs are failing and were disabled: * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed * php-parallel-lint/php-console-highlighter: 0.5 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2 npm: * grunt-banana-checker: 0.9.0 → 0.10.0 * grunt: 1.5.2 → 1.5.3 * karma: 6.3.15 → 6.4.1 * async: 2.6.3 → 2.6.4 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * got: 11.8.3 → 11.8.5 * https://github.com/advisories/GHSA-pfrx-2q88-qq97 Change-Id: I1d7bc9c9599b48d2bd837617cad409a31adb362a
* Rest: Move TransformHandler to core (part 1)Derick Alangi2022-06-021-0/+1
| | | | | | | | Begin moving the transform endpoints and handler class to MediaWiki core. Bug: T301370 Change-Id: I94e9d2e8d497c1992c542001afe333fa7537e553
* build: Update stylelint-config-wikimedia to 0.13.0Ed Sanders2022-05-041-3/+3
| | | | Change-Id: I59c7507fef057a880bca62a156662ee66f89ed94
* build: Update to QUnit 2.18.2Timo Tijhof2022-04-271-1/+1
| | | | | | | | | | Highlights from <https://github.com/qunitjs/qunit/releases> * HTML Reporter: Improve accessibility and design of the module filter. * HTML Reporter: Faster rendering of module filter. * Core: Improve performance of async pauses with native Map. Change-Id: I03713b05982986fae261201f8591bafa0f774020
* selenium: Use @wdio/spec-reporterŽeljko Filipin2022-03-241-1/+1
| | | | | | | | | | | | | | @wdio/dot-reporter that we currently use doesn't display much. For example, it doesn't display skipped tests. It says 5 test suites are executed, but that's a lie. 3 of those 5 suites are skipped. @wdio/spec-reporter is more verbose but it actually outputs useful information, like which tests are running, which are skipped. This is a revert of aa7133ce8623e3e47202cc196771bf5aec7d72c3. Bug: T280331 Change-Id: I7cef7d6a6d1b5e472622a81afc4f9a91523c1ca9
* build: Update 'svgo' to latest v2.8.0Volker E2022-02-271-2/+2
| | | | | | | Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines – mainly around new whitespace features of SVGO. Change-Id: Ibaf67b1178225c19a80dcba6a9ebbcf8964cbe8d
* build: Update to QUnit 2.18Timo Tijhof2022-02-231-1/+1
| | | | | | | | | | | | | | | | Highlights from release notes at <https://github.com/qunitjs/qunit/releases>: 2.18.0: * New `assert.propContains` for partial object comparison. (Izel Nakri) * New `QUnit.hooks to globally add beforeEach and afterEach. (Timo Tijhof) * CLI: Add support for watching `.ts` files when using TypeScript. 2.17.0: * HTML Reporter: Add "Rerun failed tests" link. (Jan Buschtöns) * Improve validation of `assert.throws`. (Steve McClure) Depends-On: Ia98a60166209646cc641d45a1ece62c131bcbcd0 Change-Id: Ia8ce57fa72ced8286f3e74b0b991e33e24a88850
* build: Set package.json nameKosta Harlan2022-02-231-0/+1
| | | | | | | | | If the project name isn't set, then `npm install` picks a value based on the directory name. If that isn't "core", then package-lock.json will overwrite the name property. Not a big deal, but may as well make this consistent for everyone. Change-Id: Idab76ffed4cd11fbc1659f090d51ffb3d43a96c5
* build: Update eslint-config-wikimedia to 0.22.1Ed Sanders2022-02-211-3/+3
| | | | | | Also some minor version updates to karma dependencies as required. Change-Id: I2740faca2d28ad2b2896a3b0222678115d11a166
* build: Update stylelint-config-wikimedia to 0.12.0Ed Sanders2022-02-211-5/+4
| | | | Change-Id: Ifb215e45a2ad4574fa821c696199e8c5911ba3ae
* selenium: Upgrade WebdriverIO to v7osamaahmed172022-02-031-6/+6
| | | | | | | | Update npm packages: @wdio/* and webdriverio. The update is need for WebdriverIO async mode to work. Bug: T274579 Change-Id: I386d3d1d031f92cd67fad4b6746c6489110dfb80
* api-testing: Update to 1.5.0Kosta Harlan2022-01-121-3/+2
| | | | | | Depends-On: Ifb6fc6f3036c1623c32418c5f304b6fc7196fa04 Bug: T298735 Change-Id: I31966e96a996d30fb31f401abecff47a893b8f0c
* selenium: Refactor WebdriverIO tests from sync to async modeosamaahmed172022-01-061-2/+1
| | | | | | | WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests have been changed to async. Bug: T293071 Change-Id: I15347b789f11de84b764e13a3981545ed6759881
* build: Update eslint-config-wikimedia to 0.21.0Ed Sanders2021-11-091-1/+1
| | | | | | | | | | | * Replace `substr`/`substring` with `slice`. The second argument to `substring` is length, not end index as in `substr`/`slice`, so convert where necessary. * Replace `new Date().getTime()` with `Date.now()` * Documentation fixes * Replace `throw Error` with `throw new Error` Change-Id: I532500ea4c99d8ebec01efb21273c8df21626e59
* build: Updating dependencieslibraryupgrader2021-10-041-1/+1
| | | | | | | | | | | | | | | composer: * php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1 npm: * @wdio/mocha-framework: 7.4.6 → 7.13.2 * https://npmjs.com/advisories/5197 (CVE-2021-3807) * nth-check: 2.0.0 → 2.0.1 * https://npmjs.com/advisories/5101 (CVE-2021-3803) * ansi-regex: 5.0.0 → 5.0.1 * https://npmjs.com/advisories/5197 (CVE-2021-3807) Change-Id: I0b17591a4d230192d5c64b68252bb3024ddcedae
* build: Update qunitjs from 2.10 to 2.16Timo Tijhof2021-07-231-1/+1
| | | | | | | | | | | | Highlights from release notes at <https://github.com/qunitjs/qunit/releases>: * Added `assert.true()` and `assert.false()` methods. * Added `QUnit.test.each()` method. * Added fuzzy search filter as-you-type to the UI. * Fixed HTML UI to increase contrast and use richer colors overall. * Improve the "failing test" experience. Change-Id: Idebf075b4b2be4c73807fd8ba398662240e6c268
* build: Updating dependencieslibraryupgrader2021-07-221-1/+1
| | | | | | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0 The following sniffs now pass and were enabled: * Generic.ControlStructures.InlineControlStructure * MediaWiki.PHPUnit.AssertCount.NotUsed npm: * svgo: 2.3.0 → 2.3.1 * https://npmjs.com/advisories/1754 (CVE-2021-33587) Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426