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: Iaf6913df719ab0c01535b6ab580d91f6b63fa88b
This commit is contained in:
libraryupgrader 2021-01-30 09:02:32 +00:00
parent ee8d932de2
commit 102a372cf1
6 changed files with 695 additions and 404 deletions

View file

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

View file

@ -1,8 +1,8 @@
{ {
"require-dev": { "require-dev": {
"mediawiki/mediawiki-codesniffer": "34.0.0", "mediawiki/mediawiki-codesniffer": "35.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6", "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-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0" "php-parallel-lint/php-parallel-lint": "1.2.0"
}, },
@ -15,6 +15,7 @@
"parallel-lint . --exclude vendor --exclude node_modules", "parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s", "phpcs -p -s",
"minus-x check ." "minus-x check ."
] ],
"phan": "phan -d . --long-progress-bar"
} }
} }

View file

@ -16,4 +16,4 @@
"apiwarn-textextracts-title-in-file-namespace": "Extract for a title in File namespace was requested, none returned.", "apiwarn-textextracts-title-in-file-namespace": "Extract for a title in File namespace was requested, none returned.",
"apiwarn-textextracts-sentences-and-html": "The <var>$1sentences</var> parameter may have unexpected results when used in HTML mode.", "apiwarn-textextracts-sentences-and-html": "The <var>$1sentences</var> parameter may have unexpected results when used in HTML mode.",
"apiwarn-textextracts-malformed-html": "HTML may be malformed and/or unbalanced and may omit inline images. Use at your own risk. Known problems are listed at https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TextExtracts#Caveats." "apiwarn-textextracts-malformed-html": "HTML may be malformed and/or unbalanced and may omit inline images. Use at your own risk. Known problems are listed at https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TextExtracts#Caveats."
} }

View file

@ -3,4 +3,4 @@
"authors": [] "authors": []
}, },
"textextracts-desc": "Provides plain-text or limited HTML extracts of page content" "textextracts-desc": "Provides plain-text or limited HTML extracts of page content"
} }

1085
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

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