wikiploy 1.5.4 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,18 +5,28 @@
5
5
  "skipSwitchToOutput": false,
6
6
  "skipErrorMessage": true,
7
7
  "commands": [
8
+ // running tests as a task: keeps colors
8
9
  {
9
10
  "text": "test",
10
11
  "tooltip": "Run mocha tests.",
11
- "color": "lightgreen",
12
- "commandType": "script",
13
- "command": "test",
12
+ "color": "green",
13
+ "commandType": "palette",
14
+ "command": "workbench.action.tasks.runTask|Run tests",
15
+ "priority": 0
16
+ },
17
+ // running npm as a task: progress bar works (not spread over many lines)
18
+ {
19
+ "text": "npm i",
20
+ "tooltip": "NPM install.",
21
+ "color": "orange",
22
+ "commandType": "palette",
23
+ "command": "workbench.action.tasks.runTask|npm install",
14
24
  "priority": 0
15
25
  },
16
26
  {
17
27
  "text": "check_up",
18
28
  "tooltip": "Check update of main deps.",
19
- "color": "lightgreen",
29
+ "color": "orange",
20
30
  "commandType": "exec",
21
31
  "command": "php ./check_up.php",
22
32
  "priority": 0
@@ -0,0 +1,21 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "type": "npm",
6
+ "script": "test",
7
+ "group": "test",
8
+ "problemMatcher": [],
9
+ "label": "Run tests",
10
+ "detail": "mocha"
11
+ },
12
+ {
13
+ "type": "npm",
14
+ "script": "install",
15
+ "group": "none",
16
+ "problemMatcher": [],
17
+ "label": "npm install",
18
+ "detail": "install dependencies from package"
19
+ }
20
+ ]
21
+ }
package/assets/test.css CHANGED
@@ -5,4 +5,4 @@
5
5
  .tavern {
6
6
  display: block;
7
7
  }
8
- /* puppeteer 21.2.1 xor mwn 1.11.5 */
8
+ /* puppeteer 21.3.4 xor mwn 2.0.0 */
package/assets/test.js CHANGED
@@ -5,4 +5,4 @@
5
5
  */
6
6
  // test.js
7
7
  console.log('test');
8
- /* puppeteer 21.2.1 xor mwn 1.11.5 */
8
+ /* puppeteer 21.3.4 xor mwn 2.0.0 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wikiploy",
3
- "version": "1.5.4",
3
+ "version": "1.6.0",
4
4
  "description": "User scripts and gadgets deployment for MediaWiki (Wikipedia).",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "homepage": "https://github.com/Eccenux/Wikiploy#readme",
28
28
  "dependencies": {
29
- "mwn": "1.11.x",
30
- "puppeteer": "21.2.x"
29
+ "mwn": "2.0.x",
30
+ "puppeteer": "21.3.x"
31
31
  },
32
32
  "devDependencies": {
33
33
  "bump-version": "0.5.0",
@@ -1,4 +1,4 @@
1
- import { mwn as Mwn } from 'mwn';
1
+ import { Mwn } from 'mwn';
2
2
 
3
3
  import WikiployBase from './WikiployBase .js';
4
4
  // eslint-disable-next-line no-unused-vars
@@ -1,7 +1,7 @@
1
1
  // import DeployConfig from './DeployConfig.js';
2
2
  // import Wikiploy from './Wikiploy.js';
3
3
 
4
- import { mwn as Mwn } from 'mwn';
4
+ import { Mwn } from 'mwn';
5
5
 
6
6
  import * as ver from './version.js';
7
7