James D. Forrester
886a7e722c
build: Upgrade jsdoc-wmf-theme from ^v0.0.5 to v0.0.8
...
Change-Id: I93c4a73d229b47f11027923a5b5c5065a9987ed1
2023-08-23 09:56:07 -04:00
Ed Sanders
a33f7e5c57
Update linters and fix issues
...
Change-Id: Ib562131bbb3a9940d56602e0c4dbbe810ce7358c
2023-06-28 19:12:48 +01:00
jenkins-bot
a397dc6062
Merge "Add jsdoc to MMV"
2023-06-16 19:24:59 +00:00
Volker E
efdbd6bdf3
build: Update SVGO to v3.0.2
...
svgo 2.8.0 → 3.0.2
Amending to new `cleanupIds` plugin name.
Bug: T339162
Change-Id: Idf0bb67aba5f225c7989bbe6794c6d2888bafb5f
2023-06-15 08:43:20 -07:00
Simon Legner
5f781b7a9b
Add jsdoc to MMV
...
This replaces the jsduck implementation that we recently removed.
Changes:
* Document events on Document element.
Bug: T337039
Change-Id: Iaa9f54c7838159a75a38eec0d49f203803aadee7
2023-06-12 22:08:14 +02:00
Simon Legner
d0066039ac
Deep-link to the license section of a file page
...
The necessary anchor link depends on the language used on Wikimedia Commons:
* https://commons.wikimedia.org/wiki/File:GATEWAY_(Moon_Space_Station).png?uselang=en#Licensing
* https://commons.wikimedia.org/wiki/File:GATEWAY_(Moon_Space_Station).png?uselang=de#Lizenz
* Ref: https://commons.wikimedia.org/wiki/Template:License-header
Remove jsduck due to lacking support for ES6 string templates.
Bug: T336708
Change-Id: Ib71e647682835baa71bd375ae3098966ae01f26c
2023-05-19 13:57:54 +00:00
libraryupgrader
3d2efea28b
build: Updating eslint-config-wikimedia to 0.25.0
...
Change-Id: I1e91af933628429e9e7306adc9268acac11a65e6
2023-05-04 08:00:43 +00:00
libraryupgrader
a8f1558f08
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: If42aad2afc29c14df58c4ecb31ed80969513f3e7
2023-04-29 07:33:44 +00:00
libraryupgrader
ae401d9156
build: Updating npm dependencies
...
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0
The following rules are failing and were disabled:
* selector-pseudo-element-colon-notation
Change-Id: Ibbe87825fc58e5766fd963123488f0d3d3d5d2d9
2023-03-31 01:19:03 +00:00
Umherirrender
8a7182b27a
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.22.1 → 0.24.0
Change-Id: I8d3b6ca9d9e0d0c0b2019f0a165eb51618e829b8
2023-03-25 22:33:26 +01:00
libraryupgrader
2cb5b98be4
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1
npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1
Change-Id: I6b2a1dad9973d7c6047a86a73db0288f0a5a41bb
2022-11-16 10:03:46 +00:00
libraryupgrader
59da131284
build: Updating grunt-banana-checker to 0.10.0
...
Change-Id: Id9d44d8ac1a067b7cfe750f096d8d1023e9506d8
2022-10-07 01:55:55 +00:00
libraryupgrader
17544ff203
build: Updating composer dependencies
...
* 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
Additional changes:
* Set `name` in package.json.
Change-Id: I007086b21111a75ecac8ff3c76bce61abe8efd13
2022-05-21 07:55:49 +00:00
Ed Sanders
e131da48f9
build: Update eslint-config-wikimedia to 0.22.1
...
Change-Id: I275ecfa03b3df8554b30f2a0f6d94d4b66da8088
2022-05-20 00:05:49 +01:00
Ed Sanders
3a61a45a53
build: Update stylelint-config-wikimedia to 0.13.0
...
Change-Id: I1b6de87b8a1b48220104af42a4e43d81a289438c
2022-05-19 23:58:01 +01:00
Volker E
d1c468f909
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: I2b1ea90124b0f5793ffe76bc94d050654cc8baf7
2022-02-27 02:42:31 -08:00
libraryupgrader
d659ff8882
build: Updating stylelint-config-wikimedia to 0.11.1
...
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list
Change-Id: I1eef05c2358208b0dea8a8fce17a61707c9d9687
2021-09-04 21:19:06 +00:00
libraryupgrader
79f0b5fee3
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)
* glob-parent: 5.1.1 → 5.1.2
* https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
* https://npmjs.com/advisories/1753 (CVE-2021-33623)
Change-Id: I5cda428562117c80d57ae7a21c6eb9563a75e3f0
2021-07-23 04:17:18 +00:00
libraryupgrader
2217b6be67
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: 3.0.7 → 3.0.8
* https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)
Change-Id: Ie9fd2ea3c980c0a2a50ba3cf58269f83afe77e7d
2021-05-11 20:38:12 +00:00
libraryupgrader
54647ec198
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: Iacb383954abfddb4636eb92650f9ebcbaef88ac0
2021-04-17 04:37:38 +00:00
Volker E
3205e72ad8
build: Replace 'grunt-svgmin' with npm based 'svgo' & re-crush SVGs
...
Replacing 'grunt-svgmin' with 'svgo' v2.3.0.
Also
- replacing all Grunt based tasks with npm equivalents. 'build' has
before just been for SVG minification and that's the same now in npm.
- changing to JS based '.svgo.config.js'
- re-crushing all SVGs. Note that 'link-hover.svg' and 'link.svg' have
been optimized with reduced precision. All other changes are resulting
from updated SVGO.
Bug: T278656
Change-Id: Ie895edb4e88336ffc56f570b8f80bf7d1e331894
2021-04-12 13:01:59 -07:00
libraryupgrader
1abd4f0c43
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: Iff75678dd3ae3a2b0a48ba81d1e3f566d828c001
2021-03-14 03:22:36 +00:00
libraryupgrader
ee5fd7c6d9
build: Updating eslint-config-wikimedia to 0.18.2
...
Change-Id: Idd520fcadb28ddc197ecff8bd337107d23bd93af
2021-03-07 07:32:20 +00:00
libraryupgrader
11aa6f743b
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
The following rules are failing and were disabled:
* compat/compat
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: I7ed7478bb68c79c0f9d844581c350a9ecf19ba00
2021-01-30 04:57:45 +00:00
libraryupgrader
ba913b96c9
build: Updating npm dependencies
...
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
Change-Id: I154d50b5b1c002ec330a3b1ce1e1ca376d7530a1
2020-11-22 06:35:42 +00:00
libraryupgrader
787429e1af
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: Ia41a39555f46aaa9108d17b7dd40b8a35de4f616
2020-09-04 06:23:25 +00:00
libraryupgrader
35974b6a2b
build: Updating grunt to 1.2.1
...
Change-Id: Ifdf351d460663edeb636b6e5f0b2b5b503a0db1b
2020-07-18 17:20:17 +00:00
Ed Sanders
bfdcd8dbf1
eslint: Update eslint-config-wikimedia to 0.16.2
...
Change-Id: I0c35ed9b5ab00952124cb0e5c6c48fbc0d734f60
2020-06-26 12:14:27 +01:00
libraryupgrader
a690f08db1
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0
npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1
Change-Id: I5b408af2b4c953c93f32668585cf589c7621d0d4
2020-04-22 15:01:58 +00:00
libraryupgrader
c7895a9d80
build: Updating grunt-banana-checker to 0.9.0
...
Change-Id: Ibbcc533c7c58c392e5b4117ab860f07cf2c332d8
2020-04-19 12:58:13 +00:00
libraryupgrader
b3556c6c4e
build: Updating npm dependencies
...
* minimist: 0.0.8 → 1.2.5
* https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
* https://npmjs.com/advisories/1488
Change-Id: Ic0afe12e7c118fd7ff8c45800328dc8e221de794
2020-03-19 02:02:44 +00:00
AronDemian
404c0d5fc7
Maintenance: add grunt lint
and grunt minify
, consistent with core, and grunt build
, npm build
...
Bug: T245930
Change-Id: I3b3c42078d041c6df866001508dd7e75e81f289e
2020-02-24 14:55:54 +01:00
libraryupgrader
18ccec0b3b
build: Updating npm dependencies
...
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0
Change-Id: I2b21d08fbe34596774734e3643f69dd97841909f
2020-02-21 00:13:45 +00:00
libraryupgrader
651e4a3533
build: Updating npm dependencies
...
* stylelint-config-wikimedia: 0.6.0 → 0.8.0
* grunt-stylelint: 0.11.1 → 0.13.0
Change-Id: I1ddfa66f342f3649bd07bddd13ed2416b6548718
2020-01-09 18:49:45 +00:00
libraryupgrader
bb26bc47b4
build: Updating eslint-config-wikimedia to 0.15.0
...
The following rules are failing and were disabled:
* brace-style
* camelcase
* eqeqeq
* new-cap
* no-alert
* no-console
* no-constant-condition
* no-dupe-keys
* no-empty
* no-implicit-globals
* no-jquery/no-global-selector
* no-jquery/variable-pattern
* no-mixed-spaces-and-tabs
* no-redeclare
* no-tabs
* no-undef
* no-underscore-dangle
* no-unused-vars
* no-use-before-define
* no-useless-concat
* one-var
* valid-jsdoc
* vars-on-top
Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.
Change-Id: I2b54baa20980b7efa3e432ed5d95fa9bc0ba7e40
2020-01-08 00:06:26 +00:00
Ed Sanders
8eae7b9613
build: Update linters
...
Change-Id: I6f69e00b15bef4eacf063dab4e491b8a5bcc3c81
2019-10-07 16:17:09 +01:00
Ed Sanders
4d3cc4b06e
build: Update linters
...
Change-Id: I978dbe38263891c1cd012d0de70d5cbaa8c5353e
2019-09-20 13:26:20 +01:00
libraryupgrader
da8d0ab42f
build: Updating mediawiki/mediawiki-codesniffer to 26.0.0
...
Additional changes:
* Committed package-lock.json (T179229) too.
Change-Id: I5abfe74290abf26968b2fa0e73830d0df7290376
2019-08-04 15:15:13 +00:00
Ed Sanders
18a154b989
build: Update devDependencies
...
Change-Id: I46f5317976ef9f818e30b0c81018e83800535389
2019-07-31 22:59:13 +01:00
James D. Forrester
342b02035d
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Change-Id: I422d5ea3a8939247aa8a4bd521ec05636caaa13f
2019-05-08 21:34:56 +00:00
James D. Forrester
1b21470703
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I66788a2c1fa59b617abd13b7c8e8fb59ad74130c
2019-02-20 19:22:21 +00:00
James D. Forrester
2543fd8c44
build: Update grunt-banana-checker from 0.6.0 to 0.7.0
...
Change-Id: Ife735aac7762b127112107b4c130bb0131bb6e30
2019-02-06 15:45:46 -08:00
Ed Sanders
92157f6b05
build: Update eslint-config-wikimedia to 0.10.1
...
Change-Id: Icd89819ef38142e55c0bd4cc8dbb73745123f9f6
2019-02-06 01:56:53 +00:00
Ed Sanders
a518cb03a5
build: Update eslint-config-wikimedia to 0.9.0
...
Change-Id: I92ed1f7093cfaed47f0372f9cb063fe4e65b4f55
2019-01-03 13:47:16 +00:00
Volker E
8e94e95f7b
build: Use stylelint-config-wikimedia v0.9.0 and make pass
...
Change-Id: I1359fb4d78aee9d37b67c13464e31e035d3435a5
2018-11-29 10:34:00 -08:00
Ed Sanders
053d1a9d8b
build: Update linters
...
Change-Id: Ie6e85abdc0714adf4d89e515967bf2ab4c393215
2018-09-13 22:13:56 +01:00
Ed Sanders
2c3213485d
build: Introduce eslint-plugin-qunit and enforce
...
Change-Id: I16c00628a0f8a4f505fc0c78991bd7d9394c18d9
2018-06-06 12:17:23 -07:00
Volker E
d1f416278a
Bring SVGO optimization to build step
...
Enabling SVGO automation with conservative plugin set, among those:
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
removeXMLProcInst and
- don't use multipass,
- enable removeRasterImages and sortAttrs
Bug: T185596
Change-Id: Ic13afb6e1cbc4d26af7a100cb7a916619fb4158e
2018-01-24 00:27:53 -08:00
Ed Sanders
42b577bae9
build: Update linters
...
Change-Id: I7262fb369df0428c39adaf55128b83f019afb4c0
2017-10-31 18:42:04 +00:00
Antoine Musso
e0018d31c1
Define npm peer dependency explicitly
...
npm 3 requires dependencies to be explicitly defined.
Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 13:27:37 +02:00