npm-update-package 0.26.1 → 0.27.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 TS Examples
3
+ Copyright (c) 2020 TS Templates
4
4
  Copyright (c) 2021 npm-update-package
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
package/README.md CHANGED
@@ -44,9 +44,10 @@ Log level to show
44
44
  - required: false
45
45
  - allowed values
46
46
  - `off`: Do not output any logs.
47
- - `error`: Output error logs.
48
- - `info`: Output error/info logs.
49
- - `debug`: Output error/info/debug logs.
47
+ - `fatal`: Output fatal logs.
48
+ - `error`: Output fatal/error logs.
49
+ - `info`: Output fatal/error/info logs.
50
+ - `debug`: Output fatal/error/info/debug logs.
50
51
  - default: `info`
51
52
 
52
53
  ### `--package-manager`
package/dist/app.js CHANGED
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.app = void 0;
4
4
  exports.app = {
5
5
  name: 'npm-update-package',
6
- version: '0.26.1',
6
+ version: '0.27.0',
7
7
  web: 'https://github.com/npm-update-package/npm-update-package'
8
8
  };
@@ -4,6 +4,7 @@ exports.isLogLevel = exports.LogLevel = void 0;
4
4
  exports.LogLevel = {
5
5
  Debug: 'debug',
6
6
  Error: 'error',
7
+ Fatal: 'fatal',
7
8
  Info: 'info',
8
9
  Off: 'off'
9
10
  };
@@ -8,7 +8,7 @@ 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)([(0, io_ts_1.literal)(logger_1.LogLevel.Off), (0, io_ts_1.literal)(logger_1.LogLevel.Error), (0, io_ts_1.literal)(logger_1.LogLevel.Info), (0, io_ts_1.literal)(logger_1.LogLevel.Debug)]),
11
+ logLevel: (0, io_ts_1.union)([(0, io_ts_1.literal)(logger_1.LogLevel.Off), (0, io_ts_1.literal)(logger_1.LogLevel.Fatal), (0, io_ts_1.literal)(logger_1.LogLevel.Error), (0, io_ts_1.literal)(logger_1.LogLevel.Info), (0, io_ts_1.literal)(logger_1.LogLevel.Debug)]),
12
12
  packageManager: (0, io_ts_1.union)([(0, io_ts_1.literal)(package_manager_1.PackageManagerName.Npm), (0, io_ts_1.literal)(package_manager_1.PackageManagerName.Yarn)]),
13
13
  pullRequestTitle: io_ts_1.string
14
14
  }),
@@ -25,6 +25,7 @@ exports.cliOptions = [
25
25
  required: false,
26
26
  choices: [
27
27
  logger_1.LogLevel.Off,
28
+ logger_1.LogLevel.Fatal,
28
29
  logger_1.LogLevel.Error,
29
30
  logger_1.LogLevel.Info,
30
31
  logger_1.LogLevel.Debug
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "0.26.1",
3
+ "version": "0.27.0",
4
4
  "description": "CLI tool for creating pull requests to update npm packages",
5
5
  "scripts": {
6
6
  "build": "tsc --project tsconfig.build.json",