npm-update-package 4.0.37 → 4.0.38
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 +19 -19
- package/dist/package.json +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
CLI tool for creating pull requests to update npm packages
|
|
9
9
|
|
|
10
|
-
## Table of Contents
|
|
10
|
+
## 🔖 Table of Contents
|
|
11
11
|
|
|
12
12
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
13
13
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
14
14
|
|
|
15
|
-
- [Requirements](
|
|
16
|
-
- [Supported platforms](
|
|
17
|
-
- [Usage](
|
|
18
|
-
- [Options](
|
|
15
|
+
- [✅ Requirements](#-requirements)
|
|
16
|
+
- [🌐 Supported platforms](#-supported-platforms)
|
|
17
|
+
- [📖 Usage](#-usage)
|
|
18
|
+
- [⚙️ Options](#-options)
|
|
19
19
|
- [`--additional-labels`](#--additional-labels)
|
|
20
20
|
- [`--assignees`](#--assignees)
|
|
21
21
|
- [`--assignees-sample-size`](#--assignees-sample-size)
|
|
@@ -36,31 +36,31 @@ CLI tool for creating pull requests to update npm packages
|
|
|
36
36
|
- [`--pr-title`](#--pr-title)
|
|
37
37
|
- [`--reviewers`](#--reviewers)
|
|
38
38
|
- [`--reviewers-sample-size`](#--reviewers-sample-size)
|
|
39
|
-
- [GitHub token](
|
|
40
|
-
- [How to run on GitHub Actions](
|
|
39
|
+
- [🔑 GitHub token](#-github-token)
|
|
40
|
+
- [🤖 How to run on GitHub Actions](#-how-to-run-on-github-actions)
|
|
41
41
|
- [Use token of GitHub Actions](#use-token-of-github-actions)
|
|
42
42
|
- [Use token of GitHub App](#use-token-of-github-app)
|
|
43
43
|
- [Use Personal access token](#use-personal-access-token)
|
|
44
|
-
- [Architecture](
|
|
45
|
-
- [FAQ](
|
|
44
|
+
- [🧱 Architecture](#-architecture)
|
|
45
|
+
- [🙋 FAQ](#-faq)
|
|
46
46
|
- [What is the purpose of npm-update-package?](#what-is-the-purpose-of-npm-update-package)
|
|
47
47
|
- [What should I do if conflicts occurred in the pull request?](#what-should-i-do-if-conflicts-occurred-in-the-pull-request)
|
|
48
|
-
- [How to development](
|
|
48
|
+
- [🧑💻 How to development](#-how-to-development)
|
|
49
49
|
|
|
50
50
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
51
51
|
|
|
52
|
-
## Requirements
|
|
52
|
+
## ✅ Requirements
|
|
53
53
|
|
|
54
54
|
- Node.js v20 or later
|
|
55
55
|
- npm or Yarn
|
|
56
56
|
- Git
|
|
57
57
|
|
|
58
|
-
## Supported platforms
|
|
58
|
+
## 🌐 Supported platforms
|
|
59
59
|
|
|
60
60
|
- GitHub
|
|
61
61
|
- GitHub Enterprise
|
|
62
62
|
|
|
63
|
-
## Usage
|
|
63
|
+
## 📖 Usage
|
|
64
64
|
|
|
65
65
|
The simplest use of npm-update-package is just run the following command:
|
|
66
66
|
|
|
@@ -74,7 +74,7 @@ Alternatively, you can use a specific version as follows:
|
|
|
74
74
|
npx npm-update-package@4 --github-token <github-token>
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
## Options
|
|
77
|
+
## ⚙️ Options
|
|
78
78
|
|
|
79
79
|
You can customize behavior via CLI options.
|
|
80
80
|
Some options can embed variables like `{{packageName}}`(HTML-escaped) or `{{{packageName}}}`(not HTML-escaped).
|
|
@@ -481,7 +481,7 @@ npx npm-update-package \
|
|
|
481
481
|
--reviewers-sample-size 1
|
|
482
482
|
```
|
|
483
483
|
|
|
484
|
-
## GitHub token
|
|
484
|
+
## 🔑 GitHub token
|
|
485
485
|
|
|
486
486
|
GitHub token is required to run npm-update-package.
|
|
487
487
|
Available tokens and permissions required for each token are as follows.
|
|
@@ -508,7 +508,7 @@ We recommend using GitHub App for the following reasons.
|
|
|
508
508
|
- Personal access token relies on personal account.
|
|
509
509
|
- When you use the Personal access token, the author of pull requests will be the user who issued the token.
|
|
510
510
|
|
|
511
|
-
## How to run on GitHub Actions
|
|
511
|
+
## 🤖 How to run on GitHub Actions
|
|
512
512
|
|
|
513
513
|
### Use token of GitHub Actions
|
|
514
514
|
|
|
@@ -592,7 +592,7 @@ jobs:
|
|
|
592
592
|
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
|
593
593
|
```
|
|
594
594
|
|
|
595
|
-
## Architecture
|
|
595
|
+
## 🧱 Architecture
|
|
596
596
|
|
|
597
597
|
The following shows the process flow of npm-update-package.
|
|
598
598
|
|
|
@@ -661,7 +661,7 @@ end
|
|
|
661
661
|
|
|
662
662
|
[](https://www.plantuml.com/plantuml/uml/hLH1Rjim4Bpp5NEpV31oboyf0ZGeK211Wpw0aTOM4OfaoMNTzFNLHfHQebPxoSKcTuSxdE7Ojubrv3nQzRPGv-XpW0lZ8OTUCns2xbxqcLJxoHassfgV11_OU9UE1JrgurHxJmoVMGxrAAScY38dD1-iNKlGaP33WVr1i7lmG0xDAwMz0iZrYcmYDCxlrRGp9wNQZyJTW4YZPy9prAuRP7QfXsmj8dtBb7XX_AoVoQBtbE0yWtwOn3KLshj8cWbMeCU_M2l5zuRHUNSovqNqGv7wM6GzHjzHIZugTHcC9JIbCtEdFKnQgQ-E-3q140bV_fJxRob0kXYnel7BpFZ4SLgSN-T-fqLTzwPuhgm658RZKlqQPCBoNiSQN9czzkIgtwj1XJ1IeSIxSzvPdsXDN1s2_ryilPYm-21cFroTWzwxtPRbst8s1MrBshuli2QpxETybjNyyAf65OHyprcJJ4ii2qAj3U1cjvrbx6vK-pJu2oAbRCNO-gJyz0LKLQ_yVHICkfq-ycX_0G00)
|
|
663
663
|
|
|
664
|
-
## FAQ
|
|
664
|
+
## 🙋 FAQ
|
|
665
665
|
|
|
666
666
|
### What is the purpose of npm-update-package?
|
|
667
667
|
|
|
@@ -671,6 +671,6 @@ npm-update-package can be used in environments where Renovate cannot be used for
|
|
|
671
671
|
|
|
672
672
|
If you have difficulty resolving it manually, close the pull request and run npm-update-package again.
|
|
673
673
|
|
|
674
|
-
## How to development
|
|
674
|
+
## 🧑💻 How to development
|
|
675
675
|
|
|
676
676
|
See [Wiki](https://github.com/npm-update-package/npm-update-package/wiki).
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.38",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@munierujp/eslint-config-typescript": "47.1.1",
|
|
37
|
-
"@tsconfig/
|
|
37
|
+
"@tsconfig/bases": "1.0.16",
|
|
38
38
|
"@types/jsdom": "21.1.7",
|
|
39
39
|
"@types/lodash": "4.17.21",
|
|
40
40
|
"@types/mustache": "4.2.6",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"glob": "11.1.0",
|
|
47
47
|
"nock": "14.0.10",
|
|
48
48
|
"npm-run-all2": "8.0.4",
|
|
49
|
-
"rimraf": "6.
|
|
49
|
+
"rimraf": "6.1.2",
|
|
50
50
|
"test-each": "7.0.1",
|
|
51
|
-
"tsx": "4.
|
|
51
|
+
"tsx": "4.21.0",
|
|
52
52
|
"typescript": "5.9.3",
|
|
53
53
|
"utility-types": "3.11.0"
|
|
54
54
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.38",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@munierujp/eslint-config-typescript": "47.1.1",
|
|
37
|
-
"@tsconfig/
|
|
37
|
+
"@tsconfig/bases": "1.0.16",
|
|
38
38
|
"@types/jsdom": "21.1.7",
|
|
39
39
|
"@types/lodash": "4.17.21",
|
|
40
40
|
"@types/mustache": "4.2.6",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"glob": "11.1.0",
|
|
47
47
|
"nock": "14.0.10",
|
|
48
48
|
"npm-run-all2": "8.0.4",
|
|
49
|
-
"rimraf": "6.
|
|
49
|
+
"rimraf": "6.1.2",
|
|
50
50
|
"test-each": "7.0.1",
|
|
51
|
-
"tsx": "4.
|
|
51
|
+
"tsx": "4.21.0",
|
|
52
52
|
"typescript": "5.9.3",
|
|
53
53
|
"utility-types": "3.11.0"
|
|
54
54
|
},
|