James D. Forrester
6db8207a47
build: Upgrade eslint-config-wikimedia from 0.16.0 to 0.16.1
...
Change-Id: Ie96c4c75e7df837169c38427ceed59704c99c2cc
2020-06-11 16:01:38 +01:00
Ed Sanders
6076708ff3
build: Update eslint-config-wikimedia to 0.16.0
...
Change-Id: I638e0f82949597e2a2e4ea18fc2f0258f225358c
2020-06-02 21:30:00 +01:00
libraryupgrader
d1efaac5b2
build: Updating npm dependencies
...
* eslint-config-wikimedia: 0.15.0 → 0.15.3
The following rules are failing and were disabled:
* mediawiki/class-doc
* mediawiki/valid-package-file-require
* grunt-banana-checker: 0.8.1 → 0.9.0
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1
Change-Id: If718fe8876cc4721602757d38fe06ab421ce8d80
2020-04-16 22:55:11 +00:00
libraryupgrader
ad8e396f1c
build: Updating npm dependencies
...
* mkdirp: 0.5.1 → 0.5.3
* https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
* https://npmjs.com/advisories/1179
Change-Id: Id41d07d66980cb34e6a8053a54a01364417b188c
2020-03-21 08:51:54 +00:00
libraryupgrader
e88f23f9ad
build: Updating minimist to 1.2.5
...
* https://npmjs.com/advisories/1179
Change-Id: Ic6036834e3af1ed97d8e36882922ffedf09b37ae
2020-03-19 20:59:47 +00:00
libraryupgrader
7b6124ae64
build: Updating npm dependencies
...
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0
Change-Id: I03e09c1152d0d9bebfdd9278c5f410a24f306234
2020-02-15 20:15:05 +00:00
libraryupgrader
4637b224b4
build: Updating npm dependencies
...
* grunt-stylelint: 0.12.0 → 0.13.0
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
Additional changes:
* Added .eslintcache to .gitignore.
Change-Id: If99039fc56e5090e4eab9aaef4b5bd395703938f
2020-01-07 09:54:44 +00:00
Ed Sanders
ffa3742ce1
build: Update linters
...
Change-Id: I03d1a8e63b730ad98ec07ad5f630ba82698de5be
2019-11-01 16:20:22 +00:00
Ed Sanders
41572f2595
build: Update eslint-config-wikimedia and fix
...
Change-Id: Ib9cf45a393438e2eb47fd1b0c837d2d6acb06541
2019-10-03 00:54:54 +01:00
Ed Sanders
3bb8710715
build: Update linters
...
Change-Id: If2a45c63f435911ebd7a83df9c0723d45c040a5e
2019-09-18 19:11:45 +01:00
James D. Forrester
05fb44ae56
build: Upgrade eslint-config-wikimedia from 0.12.0 to 0.13.1
...
Change-Id: I43f407da92f59a8bf758cc2586e84aa5e18d9ab0
2019-08-02 09:51:07 -07:00
libraryupgrader
ef3906b82b
build: Updating dependencies
...
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
npm:
* lodash: 4.17.11 → 4.17.14
* https://npmjs.com/advisories/1065
* CVE-2019-10744
* grunt-banana-checker: 0.7.0 → 0.7.1
Change-Id: Idaf7723adc2136f1fc39573897604c056f814e49
2019-07-16 04:47:13 +00:00
James D. Forrester
22344dae69
build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0
...
Additionally a bump to grunt-image and grunt itself for security
reasons. Also, commit package-lock.json, which is what we do now.
Change-Id: I2beab15d7f5b1453ccbb3c46b6dd0800c78ed15b
2019-06-26 14:11:06 -07:00
James D. Forrester
aba4eeeda5
build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint
...
Bug: T220036
Change-Id: Ia081ff5429547cf1c7e6d6e8b0cae94e8ca3e0b9
2019-05-06 13:33:16 -07:00
Ed Sanders
332aa1f3d2
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I5a294705eed1760e2d4dde33934d2ffb12e29525
2019-02-20 20:23:43 +00:00
jenkins-bot
c1d3f2c365
Merge "build: Upgrade grunt-banana-checker from 0.6.0 to 0.7.0"
2019-02-15 21:00:44 +00:00
Ed Sanders
c463e812ed
build: Update eslint-config-wikimedia to 0.10.1
...
Change-Id: I223b39d49167ef7a831208b523654c69ad0bea5b
2019-02-02 11:02:27 -08:00
James D. Forrester
d8e1a9be1f
build: Upgrade grunt-banana-checker from 0.6.0 to 0.7.0
...
Change-Id: I36712edb25ff3dd4ce16478b8614e85dd7a65902
2019-01-09 11:45:17 -08:00
Ed Sanders
74f6c4899c
build: Update eslint-config-wikimedia to 0.10.0
...
Change-Id: I63a0ebf0b31a0d5d4e680a4e2a5a0be4850be165
2019-01-08 17:00:09 +00:00
James D. Forrester
309d05cb38
build: Upgrade stylelint-config-wikimedia to 0.5.0 and make pass
...
Change-Id: I4c547757ed5a32ff98b1cf2670010db302bd8467
2018-12-03 13:06:59 -08:00
Ed Sanders
1a3e8a958c
build: Use eslint-config-wikimedia v0.9.0 and make pass
...
Change-Id: Idb57fc12e7822cf17e10dbb726480fc7de0ae199
2018-11-21 16:51:20 +00:00
James D. Forrester
5d00bca4e7
Update VE core submodule to master (2f27b1a2c)
...
New changes:
2915330a9 Avoid JSON strings in built demo files
62b0b1298 Move server files to /src
ddd99ab0c MediaSizeWidget: Add #updateDisabled() for disableable sub-widgets
Bug: T204185
Change-Id: Ied5b39608683ba7c9f056430a0a248f41e089d5a
2018-09-25 08:36:40 -07:00
Ed Sanders
8ea820ab43
build: Update devDependencies
...
grunt-mocha-test 0.12.7 → 0.13.3
grunt-stylelint 0.10.0 → 0.10.1
jimp 0.2.28 → 0.5.0
Change-Id: Ic2b1bcefdce6e8f71c623eec877151b7233c9556
2018-09-15 21:45:49 +01:00
James D. Forrester
b2b352836d
build: Bump eslint-config-wikimedia from 0.7.2 to 0.8.1
...
Change-Id: Ide036b52b394e1b3b6f5493406a3633bd89e2cc5
2018-09-10 08:49:10 -07:00
James D. Forrester
4755d7f1be
build: Upgrade eslint-config-wikimedia to 0.7.2 and simplify config
...
Change-Id: Ib78c51a177b9f4b4764587232c7d32ffcfdd8aca
2018-08-14 11:02:20 -07:00
James D. Forrester
6e71e1c0c3
build: Bump devDependencies related to the screenshots task
...
This fixes a bunch of warnings from `npm audit`.
Change-Id: I31321f2f19421944787279923e010f8093789d5e
2018-07-09 10:50:40 -07:00
James D. Forrester
ceab9e6510
build: Bump linters for eslint 5 and make pass
...
Change-Id: I88627028e5806c2fdceb76fd26bcb57d44ed4c20
2018-07-06 10:58:18 -07:00
Ed Sanders
a7f5a76bca
build: Introduce eslint-plugin-qunit
...
Change-Id: I0a169916eaf260500ca6a172e6fb2b0c61f8d422
2018-05-30 21:04:02 +01:00
James D. Forrester
c07d4815e3
build: Follow-up 99d3320573
: Drop babel-polyfill, never used
...
Change-Id: I3eccd0c345b2c528bbb9458d404a3e0c91ae88f5
2018-04-25 12:59:50 -07:00
James D. Forrester
3e8f2edc83
build: Bump some devDependencies to latest
...
grunt 1.0.1 → 1.0.2
grunt-contrib-watch 1.0.0 → 1.0.1
grunt-image 4.1.0 → 4.2.0
grunt-stylelint 0.9.0 → 0.10.0
stylelint 8.2.0 → 9.2.0
stylelint-config-wikimedia 0.4.2 → 0.4.3
Leaving babel-polyfill, grunt-mocha-test, jimp, mocha and selenium-webdriver
alone for now.
Change-Id: Ibea983670108a56ddbf748e140831147e31da329
2018-04-25 12:35:07 -07:00
Antoine Musso
2aadc18105
build: npm/rake entry point for screenshots upload
...
We have a Jenkins job to take screenshots of VisualEditor and upload the
result to commons.wikimedia.org. That roughly does:
npm install
node_modules/.bin/grunt screenshots-all
bundle install
bundle exec upload
However on CI, the Docker container only accepts 'npm run-script XXX' or
'bundle exec rake YYY'.
Add a npm script 'screenshots-all' invoking 'grunt screenshots-all'.
Add a rake task 'commons_upload'. I have added a basic check to make
sure environment variables are properly set before invoking the upload
script.
Thus on CI the usage will become:
npm install
npm run-script screenshots-all
bundle install
bundle exec rake commons_upload
Which match the CI convention.
Bug: T189122
Change-Id: I221ed8d6178dd036eac287f0f811834a6d4ffd22
2018-03-07 23:23:30 +01:00
Volker E
4194d2ea63
build: Use SVGO option of 'grunt-image'
...
Making use of SVGO for further minification of
the included SVGs, based on MediaWiki's SVG Coding Conventions.
Also:
- Updating 'grunt image' to the latest version
- Improving SVGs accordingly
Bug: T185596
Change-Id: I882f0c6e2b5011fd51edb6106a3e22581989b834
2018-02-08 17:41:11 +00:00
Ed Sanders
7e055832b9
build: Update linters
...
Change-Id: Idafc3989c43613fdc4ea9da66495fc4003f7f549
2018-02-04 22:11:22 +00:00
Ed Sanders
dc3ed6cec0
build: Update stylelint 0.4.1->0.4.2
...
Change-Id: I9d67e4224eb6298e20574a201eeee559ab3a7504
2017-10-26 21:04:07 +01:00
Ed Sanders
9ebff2fb12
build: Update eslint-config-wikimedia 0.4->0.5
...
Change-Id: I57b017752cc377f3e8cc4e6163bebfecd878ae51
2017-08-25 16:08:08 +01:00
Ed Sanders
835a775a49
build: Upgrade grunt-eslint from 19.0.0 to 20.0.0
...
Mostly indent and regex fixes.
Change-Id: Iaf9d02363c78cb71deec5c4cab53a05b67f60600
2017-07-18 12:55:33 +01:00
James D. Forrester
f7e5ebb845
build: Bump a couple of devDependencies to latest
...
grunt-banana-checker 0.5.0 → 0.6.0
grunt-stylelint 0.7.0 → 0.8.0
Added stylelint peerdependency directly.
Change-Id: Ib5da82ae60f4f49e572459c8e53f9125ad422ee8
2017-07-06 13:40:38 -07:00
Ed Sanders
a866678c36
build: Update eslint to 0.4.0 and make pass
...
Change-Id: Id02a26bad70504cfe90bee6aab0fa3ea646b15d7
2017-05-04 21:28:17 +00:00
Umherirrender
a16812428e
Use tabs to indent in json
...
Change-Id: Ib0372c86bcaac368f4dd68a512273b504ca9b6b2
2017-03-31 23:50:07 +02:00
James D. Forrester
dddd2c0180
build: Bump grunt-jsonlint to latest and make pass
...
grunt-jsonlint 1.0.8 → 1.1.0
Change-Id: I4a5cdd39f6215cc61a1ef530386a87fdcb0c0088
2017-02-17 16:12:12 -08:00
James D. Forrester
cc239a08da
build: Bump stylelint and make pass
...
grunt-stylelint 0.6.0 → 0.7.0
stylelint-config-wikimedia 0.3.0 → 0.4.1
Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 15:23:12 -08:00
Ed Sanders
8a64006aa4
Introduce grunt-image to minify screenshots
...
Makes the task a bit slower (~50%) but image filesizes
are reduced by 75% on average.
Change-Id: I90b7a4b7b4a1e4d3452d4e791fef55cdfc780f94
2017-02-03 15:19:12 +00:00
James D. Forrester
f24e34de3c
build: Bump eslint-config-wikimedia to v0.3.0 and make pass
...
Change-Id: I7449c11aa63c50fda667265c32021439cc53471f
2016-11-15 15:05:05 -08:00
James D. Forrester
36befda61c
build: Replace jscs and jshint with eslint
...
It's new, it's fresh, it's amazing, it's here.
Change-Id: I5dc784411f704685ed5cc763a2b2b1c5d3e5a610
2016-10-28 18:33:15 +00:00
James D. Forrester
1840f4fc71
build: Bump stylelint-related devDependencies to latest
...
grunt-stylelint 0.4.0 → 0.6.0
stylelint-config-wikimedia 0.2.2 → 0.3.0
Change-Id: Ib7494b63fa8faa84ca0be69321d5888d5af9048f
2016-08-03 18:52:26 +00:00
James D. Forrester
7b6ae3710c
build: Downgrade grunt-jscs to 2.8.0 to avoid cst bug
...
Bug: T140367
Change-Id: Ice3afeefda8628ec9b0f4f72379770b484a2cb11
2016-07-14 08:48:38 -07:00
Ed Sanders
746321a29f
Add screenshots grunt task for taking documentation screenshots
...
Imported from https://github.com/zeljkofilipin/language-screenshots
Bug: T119482
Bug: T132574
Co-authored-by: Željko Filipin <zeljko.filipin@gmail.com>
Change-Id: Idade622d1f3db0eb4b5f3fbc1a0eee401feeb600
2016-06-27 12:19:35 +01:00
James D. Forrester
5ecf40f51e
build: Bump devDependencies to latest and make pass
...
babel-polyfill 6.8.0 → 6.9.1
grunt-jscs 2.8.0 → 3.0.0
grunt-jsonlint 1.0.7 → 1.0.8
grunt-stylelint 0.3.0 → 0.4.0
stylelint-config-wikimedia 0.2.0 → 0.2.2
Change-Id: I4db467c7f2bc291a94e7bab86d18e48a44f6054c
2016-06-07 17:17:02 +01:00
jenkins-bot
5698e855e3
Merge "Update stylelint config version and make a pass"
2016-05-24 21:40:41 +00:00
Ed Sanders
88c8f2e389
Remove grunt-cli
...
Included by grunt.
Change-Id: Ibf76b74ff50d6011da3061b2634c2ef4d7a3c843
2016-05-24 17:30:12 +00:00