Commit graph

43 commits

Author SHA1 Message Date
Ed Sanders 1f2ef4bfb3 build: Update linters
Change-Id: Ib7540c4a667a3e766b1846776672bd8bc301b973
2023-10-04 16:56:18 +01:00
Volker E b48cd91d1d build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I1559364231f7ae21f338b12fa6bcfbeae45eb38d
2023-06-15 08:47:57 -07:00
libraryupgrader 0640bb95a8 build: Updating grunt-banana-checker to 0.11.0
Change-Id: Id62ec9ce524c0e14e346c568fd6d3d1948f0c709
2023-06-02 15:32:13 +00:00
libraryupgrader 8e07390f9e build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Iaae7607aac280e4aa77377cce8a0f68b997f5377
2023-05-05 18:09:34 +00:00
libraryupgrader 04a8493207 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: I40a2859a5308d01cdbf3ee899a500da56ae554d1
2023-04-29 12:35:27 +00:00
libraryupgrader 4d9651d46f build: Updating grunt to 1.6.1
Change-Id: I42194b6cbbc39f348f971d33c0e95157c82bc88b
2023-03-27 21:14:35 +00:00
Umherirrender 2a9a2e08e1 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Change-Id: I8802407ab40834168d48f19a7926f9254c17a59e
2023-03-24 20:48:23 +01:00
libraryupgrader 157e61305d build: Updating grunt-banana-checker to 0.10.0
Change-Id: I8f00b4797902b3462d05625371685c4d11c780ba
2022-10-07 07:44:33 +00:00
libraryupgrader d2ad73ee42 build: Updating grunt to 1.5.3
Change-Id: I7667a4c137740d8c8139d0a06b41a9e01c16a811
2022-05-27 02:19:17 +00:00
libraryupgrader da266db965 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: I7dfe053d1281bab4df8abcbaac84aa2a2f1bf198
2022-05-21 15:34:41 +00:00
Volker E bb54b8a122 build: Add SVGO latest v2.8.0 and re-crush SVGs
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T283068
Change-Id: I24c4f386c83fd9412e7b861341add9838a898f7b
2022-02-07 05:12:10 -08:00
libraryupgrader f0174b6d2e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* websocket-extensions: 0.1.3 → 0.1.4
  * https://npmjs.com/advisories/1710 (CVE-2020-7662)

Change-Id: I661206f3303409b846a1aec4160ff24b5e5e08ba
2021-05-14 18:03:47 +00:00
libraryupgrader 7662f6c61b build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I808cbd2471d4cec72df383d03f208ea4d92da106
2021-04-14 10:37:46 +00:00
libraryupgrader c979546aee build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I3880fa56d78749f3078f9acca6f18c82cbba783e
2021-03-14 18:09:31 +00:00
libraryupgrader 13b929bed4 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I82ebc4ed8c25aea44a01b46f5bdfabcddb7246f2
2021-03-08 03:32:15 +00:00
libraryupgrader 2c2b79f9b9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

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

Change-Id: I9f93be1e4480b38031295771aa2a8b540268b2db
2021-01-30 16:07:37 +00:00
libraryupgrader 794c21f05d 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: I7e765d4c77ab59120551860a0fbd3f79c09f6953
2020-09-04 23:34:40 +00:00
Ed Sanders cf9aeb5689 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: If00a92d0ff96cee4df4d5468a862e3ae2a90b911
2020-07-09 16:35:57 +01:00
libraryupgrader 82aa21bd81 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I06353d4946f3a2df5abc528d6803905d1d0a7531
2020-04-22 21:00:03 +00:00
libraryupgrader f14b95774e build: Updating grunt-banana-checker to 0.9.0
Change-Id: I24f14d86fe599d26554398af9b9bb698b4536cd9
2020-04-19 21:01:30 +00:00
libraryupgrader 09008ad436 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I7ffcd5d90ec81e88474f0ec338c4a9a9eef0bad0
2020-03-19 14:29:45 +00:00
Ed Sanders c033679cb8 build: Update eslint-config-wikimedia
Change-Id: I3cbcbb1695896ddc1e54c40dc0da50f91944916f
2019-12-12 11:36:24 +00:00
Ammar eae0f237df Remove unneeded CSS for thanks toast link
Minerva now provides default styling for these links.
Also removing 'grunt-stylelint' package as there are no
CSS/LESS files in this extension any more.

Bug: T232102
Change-Id: I4e8b44d3159ab4a87103fa8471c7b1b145ac6016
2019-09-06 09:23:12 -07:00
libraryupgrader 854a469788 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Icc29bdcf8161634d8ccbb8124356505ab69793fd
2019-06-09 01:08:29 +00:00
James D. Forrester 75b965d935 build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
Change-Id: I7016eb08a2ce12b885b77011d914363b81b79994
2019-05-07 10:55:33 -07:00
James D. Forrester 1dd897d196 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: I26158ffdb8988902cf359ccb3de0a023e42b6939
2019-04-12 13:04:58 -07:00
Umherirrender 1ab4739e3f build: Add stylelint for css file
Since I807f729c1b1a9e9b5952685bb18f540f81d70f47

Change-Id: Id9b81f0ef9bfe5de599fe3cbb8dbb569fb8d59e2
2019-02-15 20:06:19 +01:00
Ed Sanders 18011b81c2 build: Update devDependencies
Change-Id: I4fc1204a4226be26c0bd7f06a06ed57f13c58b6f
2018-11-12 19:27:37 +00:00
libraryupgrader 709d1cf853 build: Updating npm dependencies for security issues
* Updated grunt-contrib-watch to 1.1.0, addressing:
  * https://npmjs.com/advisories/534
  * CVE-2017-16137
  * https://npmjs.com/advisories/577
  * CVE-2018-3721
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I24b0cab865d1c90c2790a231b7316ebf93b49dae
2018-10-11 11:17:29 +00:00
Alangi Derick fc0873e6a5 Remove unused code in package.json
Removed keys from package.json file which are unused and already
found in extension.json (version, name, description etc).

Change-Id: Ia793ff58b33032052f57477492cf998671fd3c2a
2018-09-03 15:39:31 +01:00
James D. Forrester 16909df870 build: Bump devDependencies to latest
eslint-config-wikimedia   0.4.0  →   0.5.0
 grunt                     1.0.1  →   1.0.2
 grunt-eslint             20.0.0  →  20.1.0

Change-Id: I9aeca17ab3bae099b678d37232846bb6abf8ce39
2018-02-14 11:11:22 -08:00
James D. Forrester e315e954a6 build: Replace jshint and jscs with eslint; drop csslint
Removing csslint rather than replacing it with stylelint as there
are no CSS or LESS files in this repo.

Also bumping banana and jsonlint to latest.

Change-Id: I9ffce273f63b061e07c3fa90ab4e82b5e551aa92
2017-08-03 17:24:34 -07:00
Antoine Musso 901dc5c039 build: bump grunt and drop grunt-cli
grunt 1.x now includes a CLI command, hence grunt-cli is no more needed.

Change-Id: I94f0c66236b5f0f12220741276c7fe24a89c65e0
2017-08-01 10:45:42 +02:00
Fomafix 063277213b Fix whitespaces
Change-Id: I7e56a4475f3bedd3bec18818bd7e2845e430fc24
2017-04-16 12:46:40 +02:00
Umherirrender fb2503e40c Remove unneeded devDependencies "jshint"
Repo is using grunt with grunt-contrib-jshint

Change-Id: Ibae4c586d51043775de51b3960a1e822c50c165d
2017-01-01 20:02:11 +01:00
James D. Forrester c745cb3fea build: Bump all devDependencies to latest and make pass
grunt                   0.4.5  →  1.0.1
 grunt-cli              0.1.13  →  1.2.0
 grunt-contrib-csslint   0.4.0  →  1.0.0
 grunt-contrib-jshint   0.11.3  →  1.0.0
 grunt-contrib-watch     0.6.1  →  1.0.0
 grunt-banana-checker    0.4.0  →  0.5.0
 grunt-jscs              1.8.0  →  2.8.0
 jshint                  2.8.0  →  2.9.2

Change-Id: I607761c617bea4e9df5c08a7d061158ee3982849
2016-04-22 12:36:21 -07:00
Kunal Mehta 8159ca419d build: Updating development dependencies
* grunt-jsonlint: 1.0.4 → 1.0.7

Change-Id: I0f2a168fddc035e631bbf30d167510c0be21522f
2015-12-29 11:57:43 -08:00
Kunal Mehta d6cff27c18 build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: Ia5877f4cb1fa04f178d6e8cb5aba87ed6576c3a8
2015-10-11 12:02:38 -04:00
James D. Forrester d1de93034d build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
Change-Id: Ib9aef97b09bbaf33e078164c1be2d45971c852e3
2015-09-04 18:36:50 +00:00
Kunal Mehta 4b886a4ae5 build: Adding configuration for jsonlint
Change-Id: Ib8b38fa5afaa25057c61d9b7e266d4b37382bea7
2015-06-11 21:50:10 -07:00
Kunal Mehta 2e8f71ae58 Add explicit dependency upon grunt-cli
Change-Id: Iaaa8e2fb7846678973547663e2e6903d831b4b96
2015-06-05 17:29:11 -07:00
Kunal Mehta c737bc60e0 build: Updating development dependencies
* grunt-contrib-csslint: 0.2.0 → 0.4.0
* grunt-contrib-jshint: 0.10.0 → 0.11.2
* grunt-banana-checker: 0.2.0 → 0.2.2
* jshint: ~2.5.0 → 2.8.0

Change-Id: I4b3eb1270ed0ef83f4ee3c5399b83a86ae141a26
2015-06-05 17:16:47 -07:00
Roan Kattouw 8b9bc3a44f Add Grunt infrastructure for CI
* Add package.json based on Flow's
* Add Gruntfile.js based on Flow's
* Add .csslintrc and .jscsrc with rules to silence errors for now
* Add .gitignore (!) to ignore node_modules/

Change-Id: I2db213da2f0ce77567f7968e73af9cdd6ed9da82
2015-05-01 20:50:15 -07:00