npm-update-package 1.4.16 → 1.4.18
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 +6 -6
- package/dist/package.json +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/npm-update-package/npm-update-package/actions/workflows/lint.yml)
|
|
4
4
|
[](https://github.com/npm-update-package/npm-update-package/actions/workflows/test.yml)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
<h1 align="center">npm-update-package</h1>
|
|
7
7
|
|
|
8
8
|
CLI tool for creating pull requests to update npm packages
|
|
9
9
|
|
|
@@ -61,6 +61,8 @@ CLI tool for creating pull requests to update npm packages
|
|
|
61
61
|
|
|
62
62
|
## Usage
|
|
63
63
|
|
|
64
|
+
The simplest use of npm-update-package is just run the following command:
|
|
65
|
+
|
|
64
66
|
```sh
|
|
65
67
|
npx npm-update-package --github-token <github-token>
|
|
66
68
|
```
|
|
@@ -345,8 +347,8 @@ Allowed values:
|
|
|
345
347
|
|
|
346
348
|
|Value|Description|
|
|
347
349
|
|---|---|
|
|
348
|
-
|`npm`|npm|
|
|
349
|
-
|`yarn`|Yarn|
|
|
350
|
+
|`npm`|Use npm|
|
|
351
|
+
|`yarn`|Use Yarn|
|
|
350
352
|
|
|
351
353
|
Example:
|
|
352
354
|
|
|
@@ -460,7 +462,7 @@ GitHub token is required to run npm-update-package.
|
|
|
460
462
|
Available tokens and permissions required for each token are as follows.
|
|
461
463
|
|
|
462
464
|
- [GitHub Actions](https://docs.github.com/en/actions/security-guides/automatic-token-authentication)
|
|
463
|
-
- [GitHub App](https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps)
|
|
465
|
+
- [GitHub App](https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps) (recommended)
|
|
464
466
|
- Contents: Read & write
|
|
465
467
|
- Metadata: Read-only
|
|
466
468
|
- Pull requests: Read & write
|
|
@@ -481,8 +483,6 @@ We recommend using GitHub App for the following reasons.
|
|
|
481
483
|
- Personal access token relies on personal account.
|
|
482
484
|
- When you use the Personal access token, the author of pull requests will be the user who issued the token.
|
|
483
485
|
|
|
484
|
-
Creating a GitHub App may be tedious, but you only have to do it once the first time.
|
|
485
|
-
|
|
486
486
|
## How to run on GitHub Actions
|
|
487
487
|
|
|
488
488
|
### Use token of GitHub Actions
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.18",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"array-shuffle": "2.0.0",
|
|
20
20
|
"commander": "9.4.1",
|
|
21
21
|
"execa": "5.1.1",
|
|
22
|
-
"fp-ts": "2.
|
|
22
|
+
"fp-ts": "2.12.3",
|
|
23
23
|
"http-status-codes": "2.2.0",
|
|
24
24
|
"io-ts": "2.2.19",
|
|
25
25
|
"log4js": "6.7.0",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"@types/parse-github-url": "1.0.0",
|
|
40
40
|
"@types/semver": "7.3.12",
|
|
41
41
|
"@typescript-eslint/eslint-plugin": "5.40.1",
|
|
42
|
-
"eslint": "8.
|
|
42
|
+
"eslint": "8.25.0",
|
|
43
43
|
"eslint-config-standard-with-typescript": "23.0.0",
|
|
44
44
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
45
45
|
"eslint-plugin-import": "2.26.0",
|
|
46
46
|
"eslint-plugin-import-newlines": "1.2.3",
|
|
47
47
|
"eslint-plugin-jest": "27.1.3",
|
|
48
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
48
|
+
"eslint-plugin-jsdoc": "39.3.23",
|
|
49
49
|
"eslint-plugin-n": "15.3.0",
|
|
50
50
|
"eslint-plugin-promise": "6.1.1",
|
|
51
51
|
"eslint-plugin-tsdoc": "0.2.17",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.18",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"array-shuffle": "2.0.0",
|
|
20
20
|
"commander": "9.4.1",
|
|
21
21
|
"execa": "5.1.1",
|
|
22
|
-
"fp-ts": "2.
|
|
22
|
+
"fp-ts": "2.12.3",
|
|
23
23
|
"http-status-codes": "2.2.0",
|
|
24
24
|
"io-ts": "2.2.19",
|
|
25
25
|
"log4js": "6.7.0",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"@types/parse-github-url": "1.0.0",
|
|
40
40
|
"@types/semver": "7.3.12",
|
|
41
41
|
"@typescript-eslint/eslint-plugin": "5.40.1",
|
|
42
|
-
"eslint": "8.
|
|
42
|
+
"eslint": "8.25.0",
|
|
43
43
|
"eslint-config-standard-with-typescript": "23.0.0",
|
|
44
44
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
45
45
|
"eslint-plugin-import": "2.26.0",
|
|
46
46
|
"eslint-plugin-import-newlines": "1.2.3",
|
|
47
47
|
"eslint-plugin-jest": "27.1.3",
|
|
48
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
48
|
+
"eslint-plugin-jsdoc": "39.3.23",
|
|
49
49
|
"eslint-plugin-n": "15.3.0",
|
|
50
50
|
"eslint-plugin-promise": "6.1.1",
|
|
51
51
|
"eslint-plugin-tsdoc": "0.2.17",
|