wisdom 13.0.1 → 13.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.
- package/README.md +3 -2
- package/bin/wisdom.js +2 -2
- package/lib/wisdom.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,8 +76,9 @@ npm publish
|
|
|
76
76
|
$ wisdom
|
|
77
77
|
Usage: wisdom [patch|minor|major]
|
|
78
78
|
Options:
|
|
79
|
-
-
|
|
80
|
-
-
|
|
79
|
+
--dry-run show tasks to run without actually running
|
|
80
|
+
-h, --help display this help and exit
|
|
81
|
+
-v, --version output version information and exit
|
|
81
82
|
```
|
|
82
83
|
|
|
83
84
|
## Configuration
|
package/bin/wisdom.js
CHANGED
|
@@ -5,7 +5,7 @@ import wisdom from '../lib/wisdom.js';
|
|
|
5
5
|
|
|
6
6
|
const require = createRequire(import.meta.url);
|
|
7
7
|
|
|
8
|
-
const [arg] = process.argv.slice(2);
|
|
8
|
+
const [arg, option] = process.argv.slice(2);
|
|
9
9
|
|
|
10
10
|
if (/^(-v|--v)$/.test(arg)) {
|
|
11
11
|
version();
|
|
@@ -27,7 +27,7 @@ if (!/^(patch|minor|major)$/.test(arg)) {
|
|
|
27
27
|
process.exit();
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
const dryRun =
|
|
30
|
+
const dryRun = option === '--dry-run';
|
|
31
31
|
|
|
32
32
|
wisdom(arg, {dryRun})
|
|
33
33
|
.on('data', (a) => {
|
package/lib/wisdom.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wisdom",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "configurable publish releases to github and npm",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/wisdom",
|