Ed Sanders
df8fbfed38
Replace jsduck with jsdoc
...
Change-Id: I2a1bfedeba66c9ec1b3ee2640a77d5ef8782530c
2024-04-30 15:29:06 +01:00
libraryupgrader
049709a167
build: Updating eslint-config-wikimedia to 0.27.0
...
Change-Id: I682039a6f58a820ab46ab5d596922264f36509c9
2024-04-17 04:55:13 +00:00
Volker E
23697880e3
build: Unify on minify:svg
command
...
Also pinning 'svgo' to 3.2.0 in 'package-lock.json' following up to
Ia2e8e947c7d10fa754885c8d917dc0616708fbaf.
Bug: T354875
Change-Id: I583db915f471295160c8637fd950bfda2f03e529
2024-01-16 13:35:19 +00:00
Volker E
5255d40496
build: Update 'svgo' to latest v3.2.0
...
This 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
Bug: T354875
Change-Id: Ia2e8e947c7d10fa754885c8d917dc0616708fbaf
2024-01-11 19:07:46 +01:00
Ed Sanders
2f61c46cf0
build: Update linters
...
Change-Id: I234e460ce1d1887af17c90cb9536aea76e295ca8
2023-12-04 14:11:35 +00:00
WMDE-Fisch
f72691fc4b
[build] Bump wdio-mediawiki to v2.3.0
...
Change-Id: I9a1a03156bb3c8db4ee2213b6b5f42913f8e4e0d
2023-09-22 16:02:52 +00:00
Volker E
2e8e31d3c6
build: Update SVGO to v3.0.2 & re-crush icons
...
svgo 2.8.0 → 3.0.2
Amending to new `cleanupIds` plugin name.
Re-crushing SVGs while at it.
Bug: T339162
Change-Id: I37021bc12b29143a8a05ebbb183547df29aa1f6a
2023-06-14 19:12:11 +00:00
libraryupgrader
5e5a2e4b12
build: Updating eslint-config-wikimedia to 0.25.0
...
Change-Id: Ia4d16bf5b2bd0620bbc7bcf9f45c50e0487161ad
2023-05-04 02:06:25 +00:00
libraryupgrader
8d397eb14a
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1
npm:
* grunt-eslint: 24.0.0 → 24.0.1
Change-Id: I310d2a4ca1fdcb9f5492cb0c4cf67bfb24698f28
2023-04-29 02:45:29 +00:00
libraryupgrader
c280ff0947
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
The following rules are failing and were disabled:
* selector-pseudo-element-colon-notation
Change-Id: I4f3516417425a3cac273bb6c85b3195405ef5b3d
2023-03-23 22:26:26 +00:00
Peter Wangai
307466b9c3
selenium: Remove webdriverio npm package from the Echo extension
...
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.
Bug: T325059
Change-Id: I8d41c527c56e9782cd9aa076daf0146e192730ef
2023-01-11 21:08:59 +03:00
libraryupgrader
ea4c3f22b0
build: Updating grunt-banana-checker to 0.10.0
...
Change-Id: Ifec81b0ee28a8cba1c21ca1f1f02daae01f2eecc
2022-10-06 22:05:11 +00:00
libraryupgrader
867ff0b67c
build: Updating grunt to 1.5.3
...
Change-Id: I7935ef106f04fe2303b3b89fe84a03ea34ff6561
2022-05-26 10:21:32 +00:00
Željko Filipin
6ee782b218
selenium: Use @wdio/spec-reporter
...
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.
Bug: T280331
Change-Id: Ib1746654a4844f26e060b4e687337de2d8c4928a
2022-05-23 13:17:20 +02:00
Ed Sanders
2af0c6d816
build: Update stylelint-config-wikimedia to 0.13.0
...
Change-Id: I60f34cb3c3c5c12cf1f9f38426a56c76dcf063fd
2022-05-09 14:05:59 +01:00
Ed Sanders
f1602001fd
build: Update eslint-config-wikimedia to 0.22.1
...
Change-Id: Ia9c0532178719f3ff3feee43736893abd0c5e123
2022-02-28 13:59:20 +00:00
Ed Sanders
7fcb7534a9
build: Update stylelint-config-wikimedia to 0.12.2
...
Change-Id: I4ce41646b338555c51c3269c699c712790af096a
2022-02-28 13:59:02 +00:00
Volker E
c5c27568a5
build: Update 'svgo' to latest v2.8.0
...
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.
Change-Id: I63c72634eb2bb7063d71c8c21679f6f2091a4f1f
2022-02-27 02:12:20 -08:00
libraryupgrader
8136e4f0e5
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
npm:
* grunt: 1.4.0 → 1.4.1
Change-Id: I00ebb19da234d2254115c75fbc7ecf270a9d7785
2022-02-06 09:37:32 +00:00
osamaahmed17
eb854a675f
selenium: Upgrade WebdriverIO to v7
...
Update npm packages: @wdio/* and webdriverio.
Bug: T274579
Bug: T271281
Change-Id: I0d1ccf8238fd9552aaa6da9f3c5a0b17b0247d27
2022-01-27 03:30:03 +11:00
osamaahmed17
9903581028
selenium: Refactor Echo WebdriverIO tests from sync to async mode
...
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests of Echo have been changed to async.
Bug: T293073
Change-Id: I8327d33c99e495b109d97df7b525181dfc41c18d
2022-01-17 04:32:20 +05:00
Umherirrender
d4640b31f0
build: Update eslint-config-wikimedia to 0.21.0
...
This includes the update of lockFile version
Bug: T225730
Change-Id: I04f2c6ef8751b3ffff886da4b69c2ed80425de91
2021-12-21 23:08:09 +01:00
libraryupgrader
7d4448e4e9
build: Updating stylelint-config-wikimedia to 0.11.1
...
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list
Change-Id: Ib5affe3e76c81e3b077c4b787a172ec50f30a499
2021-09-04 19:42:56 +00:00
libraryupgrader
17a644263a
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
The following sniffs are failing and were disabled:
* PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType
npm:
* svgo: 2.3.0 → 2.3.1
* https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
* trim-newlines: 3.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: Id866782d39ac02a329bd79539f2d52392fffd296
2021-07-24 01:48:06 +00:00
Volker E
67bf58a489
build: Update SVGO to latest v2.3.0 and re-crush SVGs
...
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.
Bug: T278656
Change-Id: I5b150cce300e764afb0a40d402479db22cfcea99
2021-05-27 11:47:02 -07:00
Željko Filipin
b6a9950642
selenium: Update wdio-mediawiki
...
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.
Bug: T283597
Bug: T276503
Change-Id: Ic80f90dbbd5604dc3c9afe3303862edbf46b1cd2
2021-05-26 13:36:53 +00:00
libraryupgrader
0260a0bbdb
build: Updating npm dependencies
...
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
* https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.8 → 3.0.8
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.21 → 0.7.28
* https://npmjs.com/advisories/1679 (CVE-2021-27292)
Change-Id: Iabdb4f019f43e1babc061ffe0cf391f87239a7cd
2021-05-09 19:43:49 +00:00
Željko Filipin
5d49c02f9f
selenium: Add JUnit reporter
...
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-Echo
job.
Bug: T214686
Change-Id: I2dd3787ebfb20f6fee841d264de98bcd1da4b34e
2021-04-29 15:39:36 +02:00
libraryupgrader
cefce8b8fa
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: If1eaa61aefc93426217f675fca27873dd9db6dc1
2021-04-16 14:24:33 +00:00
libraryupgrader
feb9aabfdb
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: I93d36e1a2962cc3dedde09064b7a43c386a0af7f
2021-03-13 11:49:48 +00:00
libraryupgrader
5e5b07d333
build: Updating eslint-config-wikimedia to 0.18.2
...
Change-Id: I671235f3fc2898168d5b74cba18b59915a4ffd3a
2021-03-06 14:54:17 +00:00
libraryupgrader
b49cebf8cb
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.WrongStyle
* mediawiki/minus-x: 1.1.0 → 1.1.1
npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
The following rules are failing and were disabled:
* compat/compat
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: Icc5ae88b205d4b122efef7aef2826eb334b27820
2021-01-29 10:19:37 +00:00
libraryupgrader
c44dfdf4cb
build: Updating npm dependencies
...
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
Change-Id: I1eafcbd4ad4481faf9aefcc6b51b5a125a17aa45
2020-11-22 01:43:20 +00:00
libraryupgrader
831ca07708
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.16.2 → 0.17.0
The following rules are failing and were disabled:
* no-shadow
* grunt: 1.2.1 → 1.3.0
Change-Id: I4d5110b481ec491b7230cc689eda4f925ca66645
2020-09-05 13:48:38 +00:00
libraryupgrader
866a9e064b
build: Updating grunt to 1.2.1
...
Change-Id: I84f446bb1b5de9262dcca5008ca17eb068bb7202
2020-07-18 05:30:44 +00:00
libraryupgrader
d5641dd909
build: Updating eslint-config-wikimedia to 0.16.2
...
Change-Id: I87b42cbabd1eadfeebd8e988ef13d198837ee358
2020-07-15 23:12:00 +00:00
vidhi-mody
03bc4d3650
Selenium: Update to WebdriverIO v6
...
Update NPM packages: @wdio/* and webdriverio.
Bug: T250610
Change-Id: Ib014fdcd908fe6521fc73e024b965ead94a39d36
2020-06-25 00:55:49 +05:30
vidhi-mody
f25ed7e705
Selenium: Update to WebdriverIO v5
...
Update NPM packages: webdriverio, wdio-mediawiki.
Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.
New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.
Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.
Bug: T250610
Change-Id: If7a5ee9588f082be18f27ee45a051ae956c688f5
2020-06-22 15:54:30 +00:00
Ed Sanders
ffe3363d09
build: Update eslint-config-wikimedia to 0.16.1
...
Change-Id: I2ce14429f9440e69e36fa349847f58fb32862f2a
2020-06-15 16:19:00 +01:00
libraryupgrader
df46509e1e
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
The following rules are failing and were disabled:
* mediawiki/class-doc
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1
Change-Id: I6e55d7979dbf50f7919c62621957b765a40f4624
2020-04-22 08:44:15 +00:00
libraryupgrader
610dd6adfd
build: Updating grunt-banana-checker to 0.9.0
...
Change-Id: Ic87b561f247f140d1e772d34c4b3b7f9426762b7
2020-04-19 03:52:47 +00:00
libraryupgrader
64b389fdfe
build: Updating minimist to 1.2.5
...
* https://npmjs.com/advisories/1179
Change-Id: I5c0763efa647e01971afeb15017d31a991079fbc
2020-03-18 07:17:15 +00:00
libraryupgrader
410d092f79
build: Updating npm dependencies
...
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0
Change-Id: I5fd7e6bd1a83ed8b7c09b967bda01e0c2dd88494
2020-02-20 21:10:50 +00:00
Ed Sanders
80ddee3956
build: Update linters
...
Change-Id: I713aafb891306fc21a776a7d4622c6a039798753
2019-12-12 11:20:49 +00:00
libraryupgrader
b476ad7781
build: Updating grunt-stylelint to 0.11.1
...
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: I5e6a72e457fb656debdb721ed20b4d0efc5d4869
2019-10-21 03:06:43 +00:00
libraryupgrader
9bb30f1629
build: Updating npm dependencies
...
* lodash: 4.17.11 → 4.17.15
* https://npmjs.com/advisories/1065
* CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0
Change-Id: I06517f1a052ca42a8b62ccfa9c055c409b96837f
2019-08-02 01:47:20 +00:00
ephemeralwaves
05f3e66a9d
Selenium: Fix failing test by only running tests tagged @daily
...
Changed `selenium-daily` npm script to only run tests tagged `@daily`
and removed `it.skip` on tests failing in beta cluster.
Bug:T227009
Change-Id: Id2edbfd941df098d326fa30ed9dc9f68e228f021
2019-07-05 10:58:19 +00:00
libraryupgrader
9a030c4bfe
build: Updating npm dependencies for security issues
...
* Updated grunt to 1.0.4, addressing:
* https://npmjs.com/advisories/788
* https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
* https://npmjs.com/advisories/786
Committed package-lock.json (T179229) too.
Change-Id: I9a58f8acade9bd129474785831e8c8174896982c
2019-06-08 05:43:44 +00:00
James D. Forrester
f7da14ec49
build: Upgrade wdio-mocha-framework to be node10 compatible
...
Change-Id: I5acbc6b161d8d856777f2bd6c80168f411549983
2019-06-03 14:46:36 -07:00
James D. Forrester
b45ba9cda9
build: Upgrade wdio-mediawiki from 0.1.7 to 0.3.0
...
Bug: T223150
Change-Id: Ie29be986c2a50004802658b26f312ea5db08583f
2019-05-13 19:09:14 +01:00