npm-update-package 0.53.0 → 0.53.1
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 +30 -12
- package/dist/package.json +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,6 +13,8 @@ CLI tool for creating pull requests to update npm packages
|
|
|
13
13
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
14
14
|
|
|
15
15
|
- [Usage](#usage)
|
|
16
|
+
- [Requirements](#requirements)
|
|
17
|
+
- [Supported platforms](#supported-platforms)
|
|
16
18
|
- [Options](#options)
|
|
17
19
|
- [assignees](#assignees)
|
|
18
20
|
- [commitMessage](#commitmessage)
|
|
@@ -47,6 +49,17 @@ CLI tool for creating pull requests to update npm packages
|
|
|
47
49
|
npx npm-update-package --github-token $GITHUB_TOKEN
|
|
48
50
|
```
|
|
49
51
|
|
|
52
|
+
## Requirements
|
|
53
|
+
|
|
54
|
+
- Git
|
|
55
|
+
- Node.js
|
|
56
|
+
- npm or Yarn
|
|
57
|
+
|
|
58
|
+
## Supported platforms
|
|
59
|
+
|
|
60
|
+
- GitHub
|
|
61
|
+
- GitHub Enterprise
|
|
62
|
+
|
|
50
63
|
## Options
|
|
51
64
|
|
|
52
65
|
You can customize behavior via CLI options.
|
|
@@ -368,9 +381,10 @@ jobs:
|
|
|
368
381
|
- uses: actions/checkout@v2
|
|
369
382
|
- uses: actions/setup-node@v2
|
|
370
383
|
- run: |
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
384
|
+
npx npm-update-package \
|
|
385
|
+
--github-token $GITHUB_TOKEN \
|
|
386
|
+
--git-user-name $GIT_USER_NAME \
|
|
387
|
+
--git-user-email $GIT_USER_EMAIL
|
|
374
388
|
env:
|
|
375
389
|
GIT_USER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
|
|
376
390
|
GIT_USER_NAME: github-actions[bot]
|
|
@@ -399,9 +413,10 @@ jobs:
|
|
|
399
413
|
app_id: ${{ secrets.APP_ID }}
|
|
400
414
|
private_key: ${{ secrets.PRIVATE_KEY }}
|
|
401
415
|
- run: |
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
416
|
+
npx npm-update-package \
|
|
417
|
+
--github-token $GITHUB_TOKEN \
|
|
418
|
+
--git-user-name $GIT_USER_NAME \
|
|
419
|
+
--git-user-email $GIT_USER_EMAIL
|
|
405
420
|
env:
|
|
406
421
|
# TODO: Replace with your GitHub App's email
|
|
407
422
|
GIT_USER_EMAIL: 97396142+npm-update-package[bot]@users.noreply.github.com
|
|
@@ -426,9 +441,10 @@ jobs:
|
|
|
426
441
|
- uses: actions/checkout@v2
|
|
427
442
|
- uses: actions/setup-node@v2
|
|
428
443
|
- run: |
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
444
|
+
npx npm-update-package \
|
|
445
|
+
--github-token $GITHUB_TOKEN \
|
|
446
|
+
--git-user-name $GIT_USER_NAME \
|
|
447
|
+
--git-user-email $GIT_USER_EMAIL
|
|
432
448
|
env:
|
|
433
449
|
# TODO: Replace with your email
|
|
434
450
|
GIT_USER_EMAIL: 97961304+npm-update-package-bot@users.noreply.github.com
|
|
@@ -459,9 +475,11 @@ jobs:
|
|
|
459
475
|
app_id: ${{ secrets.APP_ID }}
|
|
460
476
|
private_key: ${{ secrets.PRIVATE_KEY }}
|
|
461
477
|
- run: |
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
478
|
+
npx npm-update-package \
|
|
479
|
+
--github-token $GITHUB_TOKEN \
|
|
480
|
+
--git-user-name $GIT_USER_NAME \
|
|
481
|
+
--git-user-email $GIT_USER_EMAIL \
|
|
482
|
+
--package-manager yarn
|
|
465
483
|
env:
|
|
466
484
|
# TODO: Replace with your GitHub App's email
|
|
467
485
|
GIT_USER_EMAIL: 97396142+npm-update-package[bot]@users.noreply.github.com
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"log4js": "6.4.4",
|
|
25
25
|
"mustache": "4.1.0",
|
|
26
26
|
"node-fetch": "2.6.7",
|
|
27
|
-
"npm-check-updates": "12.5.
|
|
27
|
+
"npm-check-updates": "12.5.5",
|
|
28
28
|
"parse-github-url": "1.0.2",
|
|
29
29
|
"semver": "7.3.5",
|
|
30
30
|
"sleep-promise": "9.1.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/jest": "27.4.1",
|
|
37
37
|
"@types/lodash": "4.14.181",
|
|
38
38
|
"@types/mustache": "4.1.2",
|
|
39
|
-
"@types/node": "12.20.
|
|
39
|
+
"@types/node": "12.20.47",
|
|
40
40
|
"@types/node-fetch": "2.6.1",
|
|
41
41
|
"@types/parse-github-url": "1.0.0",
|
|
42
42
|
"@types/semver": "7.3.9",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-update-package",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.1",
|
|
4
4
|
"description": "CLI tool for creating pull requests to update npm packages",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsc --project tsconfig.build.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"log4js": "6.4.4",
|
|
25
25
|
"mustache": "4.1.0",
|
|
26
26
|
"node-fetch": "2.6.7",
|
|
27
|
-
"npm-check-updates": "12.5.
|
|
27
|
+
"npm-check-updates": "12.5.5",
|
|
28
28
|
"parse-github-url": "1.0.2",
|
|
29
29
|
"semver": "7.3.5",
|
|
30
30
|
"sleep-promise": "9.1.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/jest": "27.4.1",
|
|
37
37
|
"@types/lodash": "4.14.181",
|
|
38
38
|
"@types/mustache": "4.1.2",
|
|
39
|
-
"@types/node": "12.20.
|
|
39
|
+
"@types/node": "12.20.47",
|
|
40
40
|
"@types/node-fetch": "2.6.1",
|
|
41
41
|
"@types/parse-github-url": "1.0.0",
|
|
42
42
|
"@types/semver": "7.3.9",
|