madrun 9.0.0 → 9.0.3
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.
- package/ChangeLog +25 -0
- package/README.md +16 -12
- package/package.json +7 -8
package/ChangeLog
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
2022.05.08, v9.0.3
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- (package) putout v26.0.0
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
2022.03.29, v9.0.2
|
|
8
|
+
|
|
9
|
+
feature:
|
|
10
|
+
- (package) @putout/plugin-madrun v14.0.0
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
2022.03.29, v9.0.1
|
|
14
|
+
|
|
15
|
+
fix:
|
|
16
|
+
- chore(actions) add auto fix
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
feature:
|
|
20
|
+
- (package) @putout/formatter-dump v4.0.0
|
|
21
|
+
- (package) eslint-plugin-putout v14.0.1
|
|
22
|
+
- (package) escover v2.0.1
|
|
23
|
+
- (package) mock-import v3.0.0
|
|
24
|
+
|
|
25
|
+
|
|
1
26
|
2022.02.17, v9.0.0
|
|
2
27
|
|
|
3
28
|
feature:
|
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
|
|
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
|
-
|
|
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
|
|
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
|
|
155
|
+
Now you can call any of listed scripts with help of 🏎 **Madrun**:
|
|
152
156
|
|
|
153
157
|
```sh
|
|
154
|
-
|
|
155
|
-
> putout
|
|
158
|
+
madrun lint
|
|
159
|
+
> putout .
|
|
156
160
|
```
|
|
157
161
|
|
|
158
|
-
For
|
|
162
|
+
For **series run** you can use:
|
|
159
163
|
|
|
160
164
|
```sh
|
|
161
|
-
|
|
162
|
-
>
|
|
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": "9.0.
|
|
3
|
+
"version": "9.0.3",
|
|
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",
|
|
@@ -54,28 +54,27 @@
|
|
|
54
54
|
"node": ">=16"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@putout/formatter-dump": "^
|
|
58
|
-
"@putout/plugin-madrun": "^
|
|
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": "^
|
|
65
|
+
"putout": "^26.0.0",
|
|
66
66
|
"try-catch": "^3.0.0",
|
|
67
67
|
"try-to-catch": "^3.0.0",
|
|
68
68
|
"yargs-parser": "^21.0.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@cloudcmd/stub": "^3.1.0",
|
|
72
71
|
"@putout/formatter-json": "^2.0.0",
|
|
73
72
|
"c8": "^7.3.5",
|
|
74
|
-
"escover": "^
|
|
73
|
+
"escover": "^2.0.1",
|
|
75
74
|
"eslint": "^8.0.0",
|
|
76
75
|
"eslint-plugin-node": "^11.0.0",
|
|
77
|
-
"eslint-plugin-putout": "^
|
|
78
|
-
"mock-import": "^
|
|
76
|
+
"eslint-plugin-putout": "^14.0.1",
|
|
77
|
+
"mock-import": "^3.0.0",
|
|
79
78
|
"mock-require": "^3.0.3",
|
|
80
79
|
"nodemon": "^2.0.0",
|
|
81
80
|
"nyc": "^15.0.0",
|