madrun 8.10.1 → 9.0.2

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.
Files changed (3) hide show
  1. package/ChangeLog +27 -0
  2. package/README.md +16 -12
  3. package/package.json +9 -9
package/ChangeLog CHANGED
@@ -1,3 +1,30 @@
1
+ 2022.03.29, v9.0.2
2
+
3
+ feature:
4
+ - (package) @putout/plugin-madrun v14.0.0
5
+
6
+
7
+ 2022.03.29, v9.0.1
8
+
9
+ fix:
10
+ - chore(actions) add auto fix
11
+
12
+
13
+ feature:
14
+ - (package) @putout/formatter-dump v4.0.0
15
+ - (package) eslint-plugin-putout v14.0.1
16
+ - (package) escover v2.0.1
17
+ - (package) mock-import v3.0.0
18
+
19
+
20
+ 2022.02.17, v9.0.0
21
+
22
+ feature:
23
+ - (package) supertape v7.0.0
24
+ - (package) @putout/plugin-madrun v13.0.0
25
+ - (package) putout v25.0.0
26
+
27
+
1
28
  2022.01.14, v8.10.1
2
29
 
3
30
  fix:
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Madrun [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
1
+ # 🏎 Madrun [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]
2
2
 
3
3
  [NPMURL]: https://npmjs.org/package/madrun "npm"
4
4
  [NPMIMGURL]: https://img.shields.io/npm/v/madrun.svg?style=flat
@@ -19,19 +19,23 @@ npm i madrun -g
19
19
 
20
20
  # Usage
21
21
 
22
- First thing you should do is create `.madrun.js` file.
22
+ First thing you should do is:
23
+
24
+ - ✅ create `.madrun.js` file will all scripts written in **JavaScript**;
25
+ - ✅ update `package.json` scripts to use **madrun**;
26
+
23
27
  This can be done using:
24
28
 
25
29
  ```sh
26
30
  madrun --init
27
31
  ```
28
32
 
29
- `madrun` will import all scripts to `.madrun.js`.
30
-
31
- When updating `madrun script names`, run `madrun --init` again, to update `package.json`, so you can use:
33
+ When you create new script, you can run it with: `madrun lint test`.
34
+ Run `madrun --init` again, to update `package.json`, so you can use:
32
35
 
33
36
  ```sh
34
- npm run new-script-name
37
+ npm run lint
38
+ npm test
35
39
  ```
36
40
 
37
41
  Then you can run `madrun` without args to see list of a scripts. Or run:
@@ -148,18 +152,18 @@ export default {
148
152
  };
149
153
  ```
150
154
 
151
- Now you can call any of listed scripts with help of `madrun cli`:
155
+ Now you can call any of listed scripts with help of 🏎 **Madrun**:
152
156
 
153
157
  ```sh
154
- $ madrun lint
155
- > putout lib
158
+ madrun lint
159
+ > putout .
156
160
  ```
157
161
 
158
- For parallel fix you can use:
162
+ For **series run** you can use:
159
163
 
160
164
  ```sh
161
- $ madrun fix:lint
162
- > NODE_ENV=development putout . --fix
165
+ madrun lint:*
166
+ > CI=1 putout . && putout .
163
167
  ```
164
168
 
165
169
  ## Related
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madrun",
3
- "version": "8.10.1",
3
+ "version": "9.0.2",
4
4
  "description": "CLI tool to run multiple npm-scripts in a madly comfortable way",
5
5
  "main": "lib/madrun.js",
6
6
  "type": "commonjs",
@@ -51,18 +51,18 @@
51
51
  "homepage": "https://github.com/coderaiser/madrun",
52
52
  "license": "MIT",
53
53
  "engines": {
54
- "node": ">=14"
54
+ "node": ">=16"
55
55
  },
56
56
  "dependencies": {
57
- "@putout/formatter-dump": "^3.0.2",
58
- "@putout/plugin-madrun": "^11.0.0",
57
+ "@putout/formatter-dump": "^4.0.0",
58
+ "@putout/plugin-madrun": "^14.0.0",
59
59
  "all-object-keys": "^2.0.0",
60
60
  "find-up": "^5.0.0",
61
61
  "jessy": "^3.0.0",
62
62
  "mapsome": "^1.0.0",
63
63
  "montag": "^1.0.0",
64
64
  "once": "^1.4.0",
65
- "putout": "^24.0.0",
65
+ "putout": "^25.0.0",
66
66
  "try-catch": "^3.0.0",
67
67
  "try-to-catch": "^3.0.0",
68
68
  "yargs-parser": "^21.0.0"
@@ -71,16 +71,16 @@
71
71
  "@cloudcmd/stub": "^3.1.0",
72
72
  "@putout/formatter-json": "^2.0.0",
73
73
  "c8": "^7.3.5",
74
- "escover": "^1.1.6",
74
+ "escover": "^2.0.1",
75
75
  "eslint": "^8.0.0",
76
76
  "eslint-plugin-node": "^11.0.0",
77
- "eslint-plugin-putout": "^13.0.0",
78
- "mock-import": "^2.1.1",
77
+ "eslint-plugin-putout": "^14.0.1",
78
+ "mock-import": "^3.0.0",
79
79
  "mock-require": "^3.0.3",
80
80
  "nodemon": "^2.0.0",
81
81
  "nyc": "^15.0.0",
82
82
  "runsome": "^1.0.0",
83
- "supertape": "^6.0.5"
83
+ "supertape": "^7.0.0"
84
84
  },
85
85
  "publishConfig": {
86
86
  "access": "public"