npm-update-package 0.58.1 → 0.58.2

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
@@ -567,6 +567,8 @@ The following shows the process flow of npm-update-package.
567
567
  ```plantuml
568
568
  @startuml
569
569
  start
570
+ group bin
571
+ :Initialize options;
570
572
  group main
571
573
  :Get outdated packages;
572
574
 
@@ -583,29 +585,48 @@ if (Label does not exist) then (yes)
583
585
  else (no)
584
586
  endif
585
587
 
588
+ :Initialize Git config;
586
589
  group OutdatedPackagesProcessor
590
+
587
591
  while (Package exists) is (yes)
588
592
  group OutdatedPackageProcessor
589
593
  if (Remote branch does not exist) then (yes)
590
- :Create branch;
591
- :Update package;
592
- :Create pull request;
593
- :Close old pull requests;
594
- :Remove branch;
594
+ switch (outdatedPrStrategy)
595
+ case (create)
596
+ :Create branch;
597
+ :Update package;
598
+ :Create pull request;
599
+ :Remove branch;
600
+ case (recreate)
601
+ :Create branch;
602
+ :Update package;
603
+ :Create pull request;
604
+ :Close old pull requests;
605
+ :Remove branch;
606
+ case (skip)
607
+ if (Outdated pull requests don't exist) then (yes)
608
+ :Create branch;
609
+ :Update package;
610
+ :Create pull request;
611
+ :Remove branch;
612
+ else (no)
613
+ endif
614
+ endswitch
595
615
  else (no)
596
616
  endif
597
617
  end group
598
618
  endwhile (no)
599
619
 
600
- end group
601
-
602
- end group
620
+ end group /' OutdatedPackagesProcessor '/
621
+ :Show results;
622
+ end group /' main '/
623
+ end group /' bin '/
603
624
  end
604
625
  @enduml
605
626
  ```
606
627
  -->
607
628
 
608
- [![](http://www.plantuml.com/plantuml/svg/VL1BJiCm4DtFATuoMVG2pQO82JP8L4WSm4scJSGa3fundzjJrqsJ5iJ6dtbFypuRDHSizaAd1ns2ZoDwrmsqVcI3ZzOuumQZgz_SWRKYwlOexaGk8xZ0YEFA_2fnIrZB0uflrf807XfYKKOn-9AElsvFj7vWgri4xhqnTi4DTSjQJVCnYY3mUsIrIV79xLZGU5OCti1VdTgDrFe-i3E696hrMpM7Upv7sfxjRuElMTK7-cmxOHHd84jeYKul2dzkc1S0oUdBCjN_ZcVFcLtbsUkOzay5LrV4PJSJ8buPNfgRuZAQx7mi1UPUW5Cp-SxXKbUd7ZA3Pe2kEBGv7h6N7m00)](http://www.plantuml.com/plantuml/uml/VL1BJiCm4DtFATuoMVG2pQO82JP8L4WSm4scJSGa3fundzjJrqsJ5iJ6dtbFypuRDHSizaAd1ns2ZoDwrmsqVcI3ZzOuumQZgz_SWRKYwlOexaGk8xZ0YEFA_2fnIrZB0uflrf807XfYKKOn-9AElsvFj7vWgri4xhqnTi4DTSjQJVCnYY3mUsIrIV79xLZGU5OCti1VdTgDrFe-i3E696hrMpM7Upv7sfxjRuElMTK7-cmxOHHd84jeYKul2dzkc1S0oUdBCjN_ZcVFcLtbsUkOzay5LrV4PJSJ8buPNfgRuZAQx7mi1UPUW5Cp-SxXKbUd7ZA3Pe2kEBGv7h6N7m00)
629
+ [![](http://www.plantuml.com/plantuml/svg/hLF1RjGm4BtxAzvjiuUgzzrBKIKg92GgAZx0cynkh3gUO4zOojUJQUo0WS25IsBFUvddzpovIsAZJ8CthmjpYJoDEBbW3k-24sUz-qRWKHo7TCpmO1L_805FqbcX3gDjd-s5PefnPpHll5zBi94mZJV2DyhTGteAQ5uexGr0eJFa4w49l3VppfsDERmbQNj46bW8fsX3ssllN1ydxsVmyqH9Yk9xUoAFZYaXi82-kYI_I1tk8raXUAKUVrEj73yuGSlXx2x5z8TizJ7RUepSKaeSZRdspXEQZ2pQQG-NLka_jlZH0L0B7t-s-tShGBewZQBXqZC-IPmNbvS5RwswQryTBvKIG54ubkgdKJkK-phMv2hi5TEZVgaQPS58MHB_NVFUSoAmxoeu_VjCwTcD9GBDkLn3tGSTXzrMsjjEDhrikza-Bx0EPTulevbNovsRcfKP-bx6JCSvJwGop0e0jxljCSRkrXoUUhuYKfgy1bj_gN-zakhgQIsQk_an3Vux)](http://www.plantuml.com/plantuml/uml/hLF1RjGm4BtxAzvjiuUgzzrBKIKg92GgAZx0cynkh3gUO4zOojUJQUo0WS25IsBFUvddzpovIsAZJ8CthmjpYJoDEBbW3k-24sUz-qRWKHo7TCpmO1L_805FqbcX3gDjd-s5PefnPpHll5zBi94mZJV2DyhTGteAQ5uexGr0eJFa4w49l3VppfsDERmbQNj46bW8fsX3ssllN1ydxsVmyqH9Yk9xUoAFZYaXi82-kYI_I1tk8raXUAKUVrEj73yuGSlXx2x5z8TizJ7RUepSKaeSZRdspXEQZ2pQQG-NLka_jlZH0L0B7t-s-tShGBewZQBXqZC-IPmNbvS5RwswQryTBvKIG54ubkgdKJkK-phMv2hi5TEZVgaQPS58MHB_NVFUSoAmxoeu_VjCwTcD9GBDkLn3tGSTXzrMsjjEDhrikza-Bx0EPTulevbNovsRcfKP-bx6JCSvJwGop0e0jxljCSRkrXoUUhuYKfgy1bj_gN-zakhgQIsQk_an3Vux)
609
630
 
610
631
  ## FAQ
611
632
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
4
4
  "description": "CLI tool for creating pull requests to update npm packages",
5
5
  "scripts": {
6
6
  "build": "tsc --project tsconfig.build.json",
@@ -40,7 +40,7 @@
40
40
  "@types/node-fetch": "2.6.1",
41
41
  "@types/parse-github-url": "1.0.0",
42
42
  "@types/semver": "7.3.9",
43
- "@typescript-eslint/eslint-plugin": "5.18.0",
43
+ "@typescript-eslint/eslint-plugin": "5.19.0",
44
44
  "eslint": "8.13.0",
45
45
  "eslint-config-standard-with-typescript": "21.0.1",
46
46
  "eslint-plugin-import": "2.26.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-update-package",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
4
4
  "description": "CLI tool for creating pull requests to update npm packages",
5
5
  "scripts": {
6
6
  "build": "tsc --project tsconfig.build.json",
@@ -40,7 +40,7 @@
40
40
  "@types/node-fetch": "2.6.1",
41
41
  "@types/parse-github-url": "1.0.0",
42
42
  "@types/semver": "7.3.9",
43
- "@typescript-eslint/eslint-plugin": "5.18.0",
43
+ "@typescript-eslint/eslint-plugin": "5.19.0",
44
44
  "eslint": "8.13.0",
45
45
  "eslint-config-standard-with-typescript": "21.0.1",
46
46
  "eslint-plugin-import": "2.26.0",