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.
* Removing manual extensions for eslint.

Change-Id: I8bb66a4485564d0518f105ccbbdd8f8ba73d20a3
This commit is contained in:
libraryupgrader 2021-01-29 19:49:14 +00:00
parent b5a187624e
commit 255d43e6a1
5 changed files with 599 additions and 429 deletions

View file

@ -9,7 +9,6 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
options: {
extensions: [ '.js', '.json' ],
cache: true
},
all: '.'

View file

@ -4,9 +4,9 @@
"jakobo/hotp-php": "2.0.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "34.0.0",
"mediawiki/mediawiki-codesniffer": "35.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6",
"mediawiki/minus-x": "1.1.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
},
@ -21,6 +21,7 @@
"composer lint",
"composer phpcs",
"minus-x check ."
]
],
"phan": "phan -d . --long-progress-bar"
}
}

View file

@ -28,7 +28,7 @@
},
"AuthManagerAutoConfig": {
"secondaryauth": {
"OATHSecondaryAuthenticationProvider":{
"OATHSecondaryAuthenticationProvider": {
"class": "\\MediaWiki\\Extension\\OATHAuth\\Auth\\SecondaryAuthenticationProvider",
"sort": 50
}
@ -163,7 +163,7 @@
"user-global": [ 10, 60 ]
}
},
"ReauthenticateTime": {
"ReauthenticateTime": {
"oathauth-enable": 60
},
"load_composer_autoloader": true,

1014
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.17.0",
"eslint-config-wikimedia": "0.18.1",
"grunt": "1.3.0",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",