npm-update-package 0.28.3 → 0.29.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.
- package/README.md +3 -2
- package/dist/app.js +1 -1
- package/dist/logger/LogLevel.js +2 -1
- package/dist/options/Options.js +12 -2
- package/dist/options/cliOptions.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,8 +46,9 @@ Log level to show
|
|
|
46
46
|
- `off`: Do not output any logs.
|
|
47
47
|
- `fatal`: Output fatal logs.
|
|
48
48
|
- `error`: Output fatal/error logs.
|
|
49
|
-
- `
|
|
50
|
-
- `
|
|
49
|
+
- `warn`: Output fatal/error/warn logs.
|
|
50
|
+
- `info`: Output fatal/error/warn/info logs.
|
|
51
|
+
- `debug`: Output fatal/error/warn/info/debug logs.
|
|
51
52
|
- default: `info`
|
|
52
53
|
|
|
53
54
|
### `--package-manager`
|
package/dist/app.js
CHANGED
package/dist/logger/LogLevel.js
CHANGED
package/dist/options/Options.js
CHANGED
|
@@ -8,8 +8,18 @@ const Options = (0, io_ts_1.intersection)([
|
|
|
8
8
|
(0, io_ts_1.type)({
|
|
9
9
|
commitMessage: io_ts_1.string,
|
|
10
10
|
githubToken: io_ts_1.string,
|
|
11
|
-
logLevel: (0, io_ts_1.union)([
|
|
12
|
-
|
|
11
|
+
logLevel: (0, io_ts_1.union)([
|
|
12
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Off),
|
|
13
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Fatal),
|
|
14
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Error),
|
|
15
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Warn),
|
|
16
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Info),
|
|
17
|
+
(0, io_ts_1.literal)(logger_1.LogLevel.Debug)
|
|
18
|
+
]),
|
|
19
|
+
packageManager: (0, io_ts_1.union)([
|
|
20
|
+
(0, io_ts_1.literal)(package_manager_1.PackageManagerName.Npm),
|
|
21
|
+
(0, io_ts_1.literal)(package_manager_1.PackageManagerName.Yarn)
|
|
22
|
+
]),
|
|
13
23
|
pullRequestTitle: io_ts_1.string
|
|
14
24
|
}),
|
|
15
25
|
(0, io_ts_1.partial)({
|