madrun 9.0.4 → 9.0.5

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/CONTRIBUTING.md CHANGED
@@ -1,15 +1,15 @@
1
1
  ## Commit
2
2
 
3
- Format of the commit message: **type(scope) subject**
3
+ Format of the commit message: **type: scope: subject**
4
4
 
5
5
  **Type**:
6
6
 
7
- - feature(scope) subject
8
- - fix(scope) subject
9
- - docs(scope) subject
10
- - refactor(scope) subject
11
- - test(scope) subject
12
- - chore(scope) subject
7
+ - **feature: scope: subject**
8
+ - **fix: scope: subject**
9
+ - **docs: scope: subject**
10
+ - **refactor: scope: subject**
11
+ - **test: scope: subject**
12
+ - **chore: scope: subject**
13
13
 
14
14
  **Scope**:
15
15
  Scope could be anything specifying place of the commit change.
@@ -23,8 +23,3 @@ For example util, console, view, edit, style etc...
23
23
  **Message body**:
24
24
  - just as in <subject> use imperative, present tense: “change” not “changed” nor “changes”
25
25
  - includes motivation for the change and contrasts with previous behavior
26
-
27
- **Examples**:
28
-
29
- - [fix(style) .name{width}: 37% -> 35%](https://github.com/coderaiser/cloudcmd/commit/94b0642e3990c17b3a0ee3efeb75f343e1e7c050)
30
- - [fix(console) dispatch: focus -> mouseup](https://github.com/coderaiser/cloudcmd/commit/f41ec5058d1411e86a881f8e8077e0572e0409ec)
package/ChangeLog CHANGED
@@ -1,3 +1,9 @@
1
+ 2022.06.23, v9.0.5
2
+
3
+ fix:
4
+ - madrun: windows
5
+
6
+
1
7
  2022.05.27, v9.0.4
2
8
 
3
9
  feature:
@@ -89,7 +95,7 @@ feature:
89
95
  2021.09.09, v8.8.9
90
96
 
91
97
  fix:
92
- - (package) get back to older find-up becase of inability to test and problem with simport resolve
98
+ - (package) get back to older find-up because of inability to test and problem with simport resolve
93
99
 
94
100
 
95
101
  2021.09.09, v8.8.8
package/README.md CHANGED
@@ -87,7 +87,7 @@ MADRUN_NAME=1 madrun lint
87
87
 
88
88
  Run script by a name or regexp.
89
89
 
90
- - `name` - name of a sript
90
+ - `name` - name of a script
91
91
  - `opt` - options to run with
92
92
  - `env` - object with `env` variables
93
93
  - `scripts` - all scripts set (need for embedding only)
@@ -114,7 +114,7 @@ Run scripts by a name or regexp parallel.
114
114
 
115
115
  Same as `run`, but returns result without `env`.
116
116
 
117
- - `name` - name of a sript
117
+ - `name` - name of a script
118
118
  - `opt` - options to run with
119
119
  - `env` - object with `env` variables
120
120
  - `scripts` - all scripts set (need for embedding only)
package/bin/init.mjs CHANGED
@@ -10,10 +10,10 @@ import montag from 'montag';
10
10
 
11
11
  const require = createRequire(import.meta.url);
12
12
 
13
- const {stringify} = JSON;
13
+ const supported = require('../supported.json');
14
14
  const {keys} = Object;
15
15
 
16
- const supported = require('../supported.json');
16
+ const {stringify} = JSON;
17
17
 
18
18
  export const createMadrun = async (cwd, info) => {
19
19
  let name = await findMadrun(cwd);
package/lib/madrun.js CHANGED
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ const {pathToFileURL} = require('url');
3
4
  const keys = require('all-object-keys');
4
5
  const jessy = require('jessy');
5
6
  const findUp = require('find-up');
@@ -17,7 +18,7 @@ async function getScripts() {
17
18
  if (!path)
18
19
  throw Error('.madrun.js is missing!');
19
20
 
20
- return (await import(path)).default;
21
+ return (await import(pathToFileURL(path))).default;
21
22
  }
22
23
 
23
24
  module.exports.cutEnv = async (names, opts = '', env, scripts) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "madrun",
3
- "version": "9.0.4",
3
+ "version": "9.0.5",
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",
@@ -36,7 +36,7 @@
36
36
  "npm-scripts",
37
37
  "tool",
38
38
  "cli",
39
- "commond",
39
+ "command",
40
40
  "task",
41
41
  "parallel",
42
42
  "serial",