npm-update-package 0.43.6 → 0.44.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 CHANGED
@@ -71,7 +71,7 @@ Package manager of your project
71
71
  - `yarn`: Yarn
72
72
  - default: `npm`
73
73
 
74
- ### `--pull-request-title`
74
+ ### `--pr-title`
75
75
 
76
76
  Pull request title template
77
77
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "0.43.6",
3
+ "version": "0.44.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",
package/dist/src/main.js CHANGED
@@ -63,7 +63,7 @@ const main = async ({ options, logger }) => {
63
63
  terminal,
64
64
  packageManager: options.packageManager
65
65
  });
66
- const pullRequestTitleCreator = new github_1.PullRequestTitleCreator(options.pullRequestTitle);
66
+ const pullRequestTitleCreator = new github_1.PullRequestTitleCreator(options.prTitle);
67
67
  const githubWithoutToken = (0, github_1.createGitHub)({
68
68
  host: 'github.com'
69
69
  });
@@ -21,7 +21,7 @@ const Options = (0, io_ts_1.intersection)([
21
21
  (0, io_ts_1.literal)(package_manager_1.PackageManagerName.Npm),
22
22
  (0, io_ts_1.literal)(package_manager_1.PackageManagerName.Yarn)
23
23
  ]),
24
- pullRequestTitle: io_ts_1.string
24
+ prTitle: io_ts_1.string
25
25
  }),
26
26
  (0, io_ts_1.partial)({
27
27
  ignorePackages: (0, io_ts_1.array)(io_ts_1.string),
@@ -52,7 +52,7 @@ exports.cliOptions = [
52
52
  default: package_manager_1.PackageManagerName.Npm
53
53
  },
54
54
  {
55
- name: 'pull-request-title',
55
+ name: 'pr-title',
56
56
  description: 'Pull request title template',
57
57
  type: OptionType_1.OptionType.String,
58
58
  required: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "0.43.6",
3
+ "version": "0.44.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",