Commit graph

46 commits

Author SHA1 Message Date
libraryupgrader 3a6ce58ca1 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I02729c324288f5ff0cb5221aa86732676d702803
2021-09-05 00:55:47 +00:00
libraryupgrader 39612ba663 build: Updating npm dependencies
* path-parse: 1.0.6 → 1.0.7
  * https://npmjs.com/advisories/1773 (CVE-2021-23343)
* url-parse: 1.5.1 → 1.5.3
  * https://npmjs.com/advisories/1776 (CVE-2021-3664)

Change-Id: I6e5b7ff163701c0b2599e6ca42ffb03101d25d60
2021-08-25 14:31:06 +00:00
libraryupgrader 218151025e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

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)
* ws: 7.4.5 → 7.5.3
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)
* normalize-url: 4.5.0 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)
* prismjs: 1.23.0 → 1.24.1
  * https://npmjs.com/advisories/1762 (CVE-2021-32723)

Change-Id: Idfecb28ef49b193ba78b3f7b1335d4d5cb2862cd
2021-07-23 18:37:41 +00:00
jenkins-bot 18329d800a Merge "selenium: Update wdio-mediawiki" 2021-06-09 02:57:25 +00:00
libraryupgrader 2f8eb488ef build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I89c9423666a34fa34f2bce7503f5a88cabd32b1b
2021-05-28 05:48:32 +00:00
Željko Filipin ed40ca23c9 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
Change-Id: I5408b35060734709a6d21520c6abd738fb44d5a1
2021-05-27 17:49:19 +02:00
libraryupgrader 27ad791d51 build: Updating jsdoc to 3.6.7
* https://npmjs.com/advisories/1674 (CVE-2021-23358)

Change-Id: I1afd6b85ded3e18e9dea9b7d935df6c7ea6a8fe7
2021-05-15 09:24:49 +00:00
Željko Filipin 8ac75d254a 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-MinervaNeue
job.

Bug: T214686
Change-Id: Ibf4b08f2f4b60ad02a3a3b5a5ba8e0d899a86859
2021-04-29 18:06:15 +02:00
Željko Filipin 96aed4564e selenium: Update WebdriverIO to v7
Update all @wdio packages and webdriverio to v7.
Update mwbot to v2.
Do not update @wdio/cucumber-framework because of
`error  "cucumber" is not found  node/no-missing-require`
ESLint failure.

Bug: T280975
Change-Id: I83b9963ba2647af01dd1ed1f8be0178e584a2024
2021-04-23 14:13:43 +00:00
Volker E 28394a1367 build: Upgrade 'svgo' to latest and re-crush SVGs
Upgrading to SVGO v2.3.0 and changing over to new JS config.
Also amending svg check shell script and re-crushing
all SVGs.

Bug: T278656
Change-Id: Ic52d7eb595073e5bde166e5cf5767772c5eb60ce
2021-04-20 17:45:18 +00:00
libraryupgrader f1f904e293 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Ie3be1848c18f12888bdeabaea234b7c558ace899
2021-04-15 09:54:54 +00:00
bwang f9c6666717 build: Replace Grunt with npm scripts for eslint, stylelint, and banana-checker
Fix eslint errors in .eslintrc, and add .eslintrc to the .eslintignore.

Bug: T206462
Change-Id: I1569082622a61d3b089c7d2a637dafabae68228e
2021-04-13 21:09:32 +00:00
Umherirrender 0e3d6a1954 build: Update caniuse-lite
Latest version:     1.0.30001207
Installed versions: 1.0.30001125, 1.0.30001159

Due to two different version the automatic update does not work

Change-Id: I296fc5fece71996b7856547f0c8d02b31be54457
2021-04-06 15:07:09 +02:00
libraryupgrader 846a37613b build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* prismjs: 1.21.0 → 1.23.0
  * https://npmjs.com/advisories/1638 (CVE-2021-23341)
* elliptic: 6.5.3 → 6.5.4
  * https://npmjs.com/advisories/1648 (CVE-2020-28498)

Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: I4be864417fbb0259e5db85b6741da0c7918df494
2021-03-12 08:17:22 +00:00
libraryupgrader 974bdb5ec4 build: Updating npm dependencies
* bundlesize: 0.18.0 → 0.18.1
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)
* github-build: 1.2.1 → 1.2.2
  * https://npmjs.com/advisories/1594 (CVE-2020-28168)

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: I31709fad756dfea5d47755f170a5b75952c793d2
2021-01-09 05:07:14 +00:00
libraryupgrader db9fa8208f build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Icfcccb22d28d89cf46b1537c58886232daaf7411
2020-12-12 07:52:59 +00:00
libraryupgrader 541a65aeff build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I504a59835c8e5ac7d4f246dfaa68a209dca80743
2020-11-22 16:48:12 +00:00
Ed Sanders 1cea342431 build: Update eslint-config-wikimedia to 0.17.0
Change-Id: I0b917095bc84ff8b3a745f2d8b1e8541b9817bc8
2020-09-16 13:48:53 +00:00
libraryupgrader 6b397da601 build: Updating npm dependencies
* webpack: 4.43.0 → 4.44.1
  * https://npmjs.com/advisories/1548
* terser-webpack-plugin: 1.4.3 → 1.4.4
  * https://npmjs.com/advisories/1548
* mocha: 8.0.1 → 8.1.1
  * https://npmjs.com/advisories/1548

Change-Id: If82fa2aae8f0353f85dc520fb0ed8692a0bd7820
2020-08-11 23:32:31 +00:00
libraryupgrader de68896908 build: Updating elliptic to 6.5.3
* https://npmjs.com/advisories/1547
* CVE-2020-13822

Change-Id: Ie755f6d0c3ba1f131822d2f2dbad971e8e74fe15
2020-07-29 23:13:33 +00:00
libraryupgrader bfd7129ced build: Updating grunt to 1.2.1
Change-Id: Ic7c65bd8f950dfbe9651294fd83a25e2b9b89f25
2020-07-21 22:23:47 +00:00
libraryupgrader 101730e31d build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I4d39554093ea299f5e86c26ebec89ff0b135bf81
2020-07-16 04:24:20 +00:00
jenkins-bot 18c0eb4964 Merge "Selenium: Update WebdriverIO to version 6" 2020-07-14 13:55:34 +00:00
Edward Tadros 49c8c0f0e1 Selenium: Update WebdriverIO to version 6
Bug: T255447
Change-Id: I51daa462187983462d7f6529e5f76f47b21e5ef2
2020-07-13 07:38:36 -07:00
libraryupgrader 22bf7fadfc build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ib5c1127c579cf2703ce1774fd742a45a3798540a
2020-07-11 15:06:48 +00:00
Edward Tadros c8ce9608c0 Selenium: Update WebdriverIO to version 5
Bug: T255447
Change-Id: I4cdde3070a6dc4e742ea37a78a17dfd556103dd6
2020-06-30 08:27:05 -07:00
libraryupgrader b8cfba1bab build: Updating markdown-to-jsx to 6.11.4
* https://npmjs.com/advisories/1219

Additional changes:
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I2ee33d128567067e48c1dbe5f78c254a4cba82e4
2020-06-12 11:31:40 +00:00
Ed Sanders a32999e641 build: Update eslint-config-wikimedia to 0.16.0
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
2020-06-04 08:39:32 -07:00
James D. Forrester 2ebe800f72 build: Upgrade jsdoc from 3.5.5 to 3.6.4
Principally, this is to fix the npm audit warning. No change in output that I see.

Change-Id: I6c39a6551ffd4a42fb6b26337a8bb7aa803feeb1
2020-04-27 22:22:16 +00:00
James D. Forrester 1e1436e655 build: Upgrade eslint-config-wikimedia from 0.15.1 to 0.15.3 and make pass
Change-Id: I67aff112f448b9159d286812a3b0ab27e68af5b4
2020-04-27 22:21:58 +00:00
James D. Forrester e4d9f82143 build: Upgrade stylelint-config-wikimedia from 0.10.0 to 0.10.1
Also upgrade grunt-stylelint dependency from 0.11.1 to 0.15.0

Change-Id: I7348d35997b8bb0b2792e8b97a895774b7dcdc78
2020-04-27 09:49:56 -07:00
Ed Sanders 2a52e7f15c build: Update linters
Change-Id: Iaf0c760d5a69bc41505b782ab9f05864c37c7196
2020-04-13 16:05:10 +01:00
Volker E d92fffb4a1 build: Update svgo to latest v1.3.2
* svgo: 0.7.2 → 1.3.2

Bug: T246544
Change-Id: I1a1ea9c1c90a4676384ae8aae8a846d09ca13637
2020-03-05 16:25:02 -08:00
jdlrobson 1200cb5279 Storybook added to MinervaNeue
For now just adding story entries for footer element and last modified.

Bug: T244106
Change-Id: Ib36f22f9b9d805f87fc074d12473497cfaf91b79
2020-03-03 15:22:34 +00:00
jdlrobson 7340485014 Monitor render blocking css bundle sizes
Add a script that builds CSS for Minerva using lessc than measures
their bundlesize.

This will give us added protection to large increases in bundlesize
that can lead to performance regressions.

Change-Id: I2e5e55ad10fac7ecb5a8c19ccdf3cc54de59b75d
2020-01-29 11:03:59 +00:00
Ed Sanders 49dd1fd71a build: Update eslint-config-wikimedia
Change-Id: Ic2148121161b804c3f6f41b9446fcea066f3de0d
2019-10-31 23:08:57 +00:00
Ed Sanders d54798ec6b build: Update eslint-config-wikimedia
Change-Id: Id14552b5663340ffc1e2ae02599a1df99685e464
2019-10-04 15:28:49 +00:00
jdlrobson 3ad1dfbcf5 Upgrade wdio-mediawiki and webdriverio dependencies
Change-Id: Id7c78dd22ffeccf7c4636169b08bd7781ec071f9
2019-09-19 10:08:56 -07:00
Ed Sanders 8e579c373b build: Update linters
Change-Id: Ie0983466ad0eed0a30d62f28b10efebd0f2eacba
2019-09-17 14:21:30 +01:00
James D. Forrester 7ebab3c9eb build: Upgrade wdio-cucumber-framework to get a working version of fibers
Bug: T226442
Change-Id: Ia3772f620d8bfc511c0d4259734e0ce9a092c679
2019-06-24 14:37:58 -07:00
Stephen Niedzielski 36be88b5b5 Build: add package-lock file
Add package-lock file. The previous version of Node.js did not support
package-locks but v10.15.2 does.

Bug: T179229
Change-Id: I987bfb6f4c4cd0fe5c3f24d45e29c906e18a9e2b
2019-06-20 08:09:44 -06:00
Stephen Niedzielski d0c035ea3e Hygiene: remove package-lock.json
Remove package-lock.json until a Node.js version that supports it is
possible.

Change-Id: Id26bbd63aefabbc1e06f2e108dc2c23868138b31
2018-11-12 07:53:49 -07:00
Stephen Niedzielski 749ccf22c2 Hygiene: move JSDoc and SVGO to devDependencies
JSDoc and SVGO are development-time-only dependencies. Move them from
package dependencies to devDependencies.

Change-Id: Ifd955b84bb041c3f02cf3e6938f73ee718ea34a7
2018-07-19 08:10:56 -05:00
Jan Drewniak 503756822c Run npm test as a pre-commit hook
Adds the `pre-commit` npm package which automatically
handles git pre-commit hooks via package.json and runs
`npm run test` by default.

https://www.npmjs.com/package/pre-commit

Requires an `npm install`

Change-Id: Ia5950242bced753c42fc804fd686bc239c335aa3
2018-05-02 17:18:16 +02:00
jdlrobson eaa2692da0 Use jsdoc for generating Minerva documentation
Given the level of documentation in this repo is extremely
low now seems a good as time as any.

The resulting documentation is a vast improvement on before
grouping functions to an owner and introducing module names.

We can iterate on the documentation over time.

Bug: T138401
Change-Id: I9e787d40931d3d72a7037ce07d3ab0db8e72d825
2018-03-15 15:01:41 -07:00
Stephen Niedzielski 7fcc2b06bd Hygiene: add package-lock file
Add NPM package-lock file, a new feature of NPMv5.

http://blog.npmjs.org/post/161081169345/v500

Change-Id: I4cd5d9c040ceba8fe211c7f2f8cc745b6ca0e312
2018-01-29 20:56:47 +00:00