pr-merge-queue 0.0.0-stage → 0.0.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/LICENSE +201 -0
- package/README.md +125 -2
- package/dist/claim-pr/claim-pr.d.mts +45 -0
- package/dist/claim-pr/claim-pr.d.mts.map +1 -0
- package/dist/claim-pr/claim-pr.mjs +217 -0
- package/dist/claim-pr/claim-pr.mjs.map +1 -0
- package/dist/claim-pr/index.d.mts +2 -0
- package/dist/claim-pr/index.d.mts.map +1 -0
- package/dist/claim-pr/index.mjs +2 -0
- package/dist/claim-pr/index.mjs.map +1 -0
- package/dist/cmd/claim-pr.d.mts +3 -0
- package/dist/cmd/claim-pr.d.mts.map +1 -0
- package/dist/cmd/claim-pr.mjs +20 -0
- package/dist/cmd/claim-pr.mjs.map +1 -0
- package/dist/cmd/open-pr.d.mts +3 -0
- package/dist/cmd/open-pr.d.mts.map +1 -0
- package/dist/cmd/open-pr.mjs +20 -0
- package/dist/cmd/open-pr.mjs.map +1 -0
- package/dist/cmd/pr-report.d.mts +3 -0
- package/dist/cmd/pr-report.d.mts.map +1 -0
- package/dist/cmd/pr-report.mjs +20 -0
- package/dist/cmd/pr-report.mjs.map +1 -0
- package/dist/cmd/push-fixed-pr.d.mts +3 -0
- package/dist/cmd/push-fixed-pr.d.mts.map +1 -0
- package/dist/cmd/push-fixed-pr.mjs +20 -0
- package/dist/cmd/push-fixed-pr.mjs.map +1 -0
- package/dist/cmd/report-unowned-prs.d.mts +3 -0
- package/dist/cmd/report-unowned-prs.d.mts.map +1 -0
- package/dist/cmd/report-unowned-prs.mjs +20 -0
- package/dist/cmd/report-unowned-prs.mjs.map +1 -0
- package/dist/cmd/unblock-prs.d.mts +3 -0
- package/dist/cmd/unblock-prs.d.mts.map +1 -0
- package/dist/cmd/unblock-prs.mjs +19 -0
- package/dist/cmd/unblock-prs.mjs.map +1 -0
- package/dist/entry-point.d.mts +3 -0
- package/dist/entry-point.d.mts.map +1 -0
- package/dist/entry-point.mjs +3 -0
- package/dist/entry-point.mjs.map +1 -0
- package/dist/lib/cli-args.d.mts +27 -0
- package/dist/lib/cli-args.d.mts.map +1 -0
- package/dist/lib/cli-args.mjs +55 -0
- package/dist/lib/cli-args.mjs.map +1 -0
- package/dist/lib/github-api.d.mts +153 -0
- package/dist/lib/github-api.d.mts.map +1 -0
- package/dist/lib/github-api.mjs +291 -0
- package/dist/lib/github-api.mjs.map +1 -0
- package/dist/lib/index.d.mts +7 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/lib/index.mjs +7 -0
- package/dist/lib/index.mjs.map +1 -0
- package/dist/lib/json.d.mts +12 -0
- package/dist/lib/json.d.mts.map +1 -0
- package/dist/lib/json.mjs +28 -0
- package/dist/lib/json.mjs.map +1 -0
- package/dist/lib/log.d.mts +10 -0
- package/dist/lib/log.d.mts.map +1 -0
- package/dist/lib/log.mjs +13 -0
- package/dist/lib/log.mjs.map +1 -0
- package/dist/lib/shell.d.mts +18 -0
- package/dist/lib/shell.d.mts.map +1 -0
- package/dist/lib/shell.mjs +42 -0
- package/dist/lib/shell.mjs.map +1 -0
- package/dist/lib/time.d.mts +17 -0
- package/dist/lib/time.d.mts.map +1 -0
- package/dist/lib/time.mjs +35 -0
- package/dist/lib/time.mjs.map +1 -0
- package/dist/open-pr/github.d.mts +72 -0
- package/dist/open-pr/github.d.mts.map +1 -0
- package/dist/open-pr/github.mjs +249 -0
- package/dist/open-pr/github.mjs.map +1 -0
- package/dist/open-pr/index.d.mts +6 -0
- package/dist/open-pr/index.d.mts.map +1 -0
- package/dist/open-pr/index.mjs +6 -0
- package/dist/open-pr/index.mjs.map +1 -0
- package/dist/open-pr/main.d.mts +36 -0
- package/dist/open-pr/main.d.mts.map +1 -0
- package/dist/open-pr/main.mjs +204 -0
- package/dist/open-pr/main.mjs.map +1 -0
- package/dist/open-pr/options.d.mts +20 -0
- package/dist/open-pr/options.d.mts.map +1 -0
- package/dist/open-pr/options.mjs +66 -0
- package/dist/open-pr/options.mjs.map +1 -0
- package/dist/open-pr/steps.d.mts +23 -0
- package/dist/open-pr/steps.d.mts.map +1 -0
- package/dist/open-pr/steps.mjs +38 -0
- package/dist/open-pr/steps.mjs.map +1 -0
- package/dist/open-pr/types.d.mts +179 -0
- package/dist/open-pr/types.d.mts.map +1 -0
- package/dist/open-pr/types.mjs +20 -0
- package/dist/open-pr/types.mjs.map +1 -0
- package/dist/pr-report/github.d.mts +59 -0
- package/dist/pr-report/github.d.mts.map +1 -0
- package/dist/pr-report/github.mjs +561 -0
- package/dist/pr-report/github.mjs.map +1 -0
- package/dist/pr-report/index.d.mts +8 -0
- package/dist/pr-report/index.d.mts.map +1 -0
- package/dist/pr-report/index.mjs +8 -0
- package/dist/pr-report/index.mjs.map +1 -0
- package/dist/pr-report/linked-issues.d.mts +15 -0
- package/dist/pr-report/linked-issues.d.mts.map +1 -0
- package/dist/pr-report/linked-issues.mjs +39 -0
- package/dist/pr-report/linked-issues.mjs.map +1 -0
- package/dist/pr-report/main.d.mts +42 -0
- package/dist/pr-report/main.d.mts.map +1 -0
- package/dist/pr-report/main.mjs +163 -0
- package/dist/pr-report/main.mjs.map +1 -0
- package/dist/pr-report/options.d.mts +36 -0
- package/dist/pr-report/options.d.mts.map +1 -0
- package/dist/pr-report/options.mjs +90 -0
- package/dist/pr-report/options.mjs.map +1 -0
- package/dist/pr-report/queue.d.mts +28 -0
- package/dist/pr-report/queue.d.mts.map +1 -0
- package/dist/pr-report/queue.mjs +74 -0
- package/dist/pr-report/queue.mjs.map +1 -0
- package/dist/pr-report/render.d.mts +14 -0
- package/dist/pr-report/render.d.mts.map +1 -0
- package/dist/pr-report/render.mjs +318 -0
- package/dist/pr-report/render.mjs.map +1 -0
- package/dist/pr-report/repo-settings.d.mts +12 -0
- package/dist/pr-report/repo-settings.d.mts.map +1 -0
- package/dist/pr-report/repo-settings.mjs +22 -0
- package/dist/pr-report/repo-settings.mjs.map +1 -0
- package/dist/push-fixed-pr/index.d.mts +2 -0
- package/dist/push-fixed-pr/index.d.mts.map +1 -0
- package/dist/push-fixed-pr/index.mjs +2 -0
- package/dist/push-fixed-pr/index.mjs.map +1 -0
- package/dist/push-fixed-pr/push-fixed-pr.d.mts +54 -0
- package/dist/push-fixed-pr/push-fixed-pr.d.mts.map +1 -0
- package/dist/push-fixed-pr/push-fixed-pr.mjs +172 -0
- package/dist/push-fixed-pr/push-fixed-pr.mjs.map +1 -0
- package/dist/report-unowned-prs/index.d.mts +2 -0
- package/dist/report-unowned-prs/index.d.mts.map +1 -0
- package/dist/report-unowned-prs/index.mjs +2 -0
- package/dist/report-unowned-prs/index.mjs.map +1 -0
- package/dist/report-unowned-prs/report-unowned-prs.d.mts +49 -0
- package/dist/report-unowned-prs/report-unowned-prs.d.mts.map +1 -0
- package/dist/report-unowned-prs/report-unowned-prs.mjs +127 -0
- package/dist/report-unowned-prs/report-unowned-prs.mjs.map +1 -0
- package/dist/tsconfig.json +1 -0
- package/dist/unblock-prs/auto-fix.d.mts +45 -0
- package/dist/unblock-prs/auto-fix.d.mts.map +1 -0
- package/dist/unblock-prs/auto-fix.mjs +207 -0
- package/dist/unblock-prs/auto-fix.mjs.map +1 -0
- package/dist/unblock-prs/checks.d.mts +307 -0
- package/dist/unblock-prs/checks.d.mts.map +1 -0
- package/dist/unblock-prs/checks.mjs +372 -0
- package/dist/unblock-prs/checks.mjs.map +1 -0
- package/dist/unblock-prs/claims.d.mts +21 -0
- package/dist/unblock-prs/claims.d.mts.map +1 -0
- package/dist/unblock-prs/claims.mjs +23 -0
- package/dist/unblock-prs/claims.mjs.map +1 -0
- package/dist/unblock-prs/config.d.mts +487 -0
- package/dist/unblock-prs/config.d.mts.map +1 -0
- package/dist/unblock-prs/config.mjs +119 -0
- package/dist/unblock-prs/config.mjs.map +1 -0
- package/dist/unblock-prs/constants.d.mts +28 -0
- package/dist/unblock-prs/constants.d.mts.map +1 -0
- package/dist/unblock-prs/constants.mjs +28 -0
- package/dist/unblock-prs/constants.mjs.map +1 -0
- package/dist/unblock-prs/demotions.d.mts +42 -0
- package/dist/unblock-prs/demotions.d.mts.map +1 -0
- package/dist/unblock-prs/demotions.mjs +50 -0
- package/dist/unblock-prs/demotions.mjs.map +1 -0
- package/dist/unblock-prs/github.d.mts +739 -0
- package/dist/unblock-prs/github.d.mts.map +1 -0
- package/dist/unblock-prs/github.mjs +626 -0
- package/dist/unblock-prs/github.mjs.map +1 -0
- package/dist/unblock-prs/index.d.mts +25 -0
- package/dist/unblock-prs/index.d.mts.map +1 -0
- package/dist/unblock-prs/index.mjs +25 -0
- package/dist/unblock-prs/index.mjs.map +1 -0
- package/dist/unblock-prs/labels.d.mts +49 -0
- package/dist/unblock-prs/labels.d.mts.map +1 -0
- package/dist/unblock-prs/labels.mjs +49 -0
- package/dist/unblock-prs/labels.mjs.map +1 -0
- package/dist/unblock-prs/main.d.mts +179 -0
- package/dist/unblock-prs/main.d.mts.map +1 -0
- package/dist/unblock-prs/main.mjs +640 -0
- package/dist/unblock-prs/main.mjs.map +1 -0
- package/dist/unblock-prs/merge-after.d.mts +46 -0
- package/dist/unblock-prs/merge-after.d.mts.map +1 -0
- package/dist/unblock-prs/merge-after.mjs +65 -0
- package/dist/unblock-prs/merge-after.mjs.map +1 -0
- package/dist/unblock-prs/options.d.mts +35 -0
- package/dist/unblock-prs/options.d.mts.map +1 -0
- package/dist/unblock-prs/options.mjs +88 -0
- package/dist/unblock-prs/options.mjs.map +1 -0
- package/dist/unblock-prs/owner.d.mts +32 -0
- package/dist/unblock-prs/owner.d.mts.map +1 -0
- package/dist/unblock-prs/owner.mjs +63 -0
- package/dist/unblock-prs/owner.mjs.map +1 -0
- package/dist/unblock-prs/quiet.d.mts +21 -0
- package/dist/unblock-prs/quiet.d.mts.map +1 -0
- package/dist/unblock-prs/quiet.mjs +42 -0
- package/dist/unblock-prs/quiet.mjs.map +1 -0
- package/dist/unblock-prs/rebase.d.mts +120 -0
- package/dist/unblock-prs/rebase.d.mts.map +1 -0
- package/dist/unblock-prs/rebase.mjs +576 -0
- package/dist/unblock-prs/rebase.mjs.map +1 -0
- package/dist/unblock-prs/release.d.mts +62 -0
- package/dist/unblock-prs/release.d.mts.map +1 -0
- package/dist/unblock-prs/release.mjs +94 -0
- package/dist/unblock-prs/release.mjs.map +1 -0
- package/dist/unblock-prs/set-aside-comment.d.mts +20 -0
- package/dist/unblock-prs/set-aside-comment.d.mts.map +1 -0
- package/dist/unblock-prs/set-aside-comment.mjs +93 -0
- package/dist/unblock-prs/set-aside-comment.mjs.map +1 -0
- package/dist/unblock-prs/set-aside-detail.d.mts +41 -0
- package/dist/unblock-prs/set-aside-detail.d.mts.map +1 -0
- package/dist/unblock-prs/set-aside-detail.mjs +56 -0
- package/dist/unblock-prs/set-aside-detail.mjs.map +1 -0
- package/dist/unblock-prs/skips.d.mts +85 -0
- package/dist/unblock-prs/skips.d.mts.map +1 -0
- package/dist/unblock-prs/skips.mjs +141 -0
- package/dist/unblock-prs/skips.mjs.map +1 -0
- package/dist/unblock-prs/stack.d.mts +98 -0
- package/dist/unblock-prs/stack.d.mts.map +1 -0
- package/dist/unblock-prs/stack.mjs +141 -0
- package/dist/unblock-prs/stack.mjs.map +1 -0
- package/dist/unblock-prs/triage.d.mts +28 -0
- package/dist/unblock-prs/triage.d.mts.map +1 -0
- package/dist/unblock-prs/triage.mjs +396 -0
- package/dist/unblock-prs/triage.mjs.map +1 -0
- package/dist/unblock-prs/types.d.mts +793 -0
- package/dist/unblock-prs/types.d.mts.map +1 -0
- package/dist/unblock-prs/types.mjs +26 -0
- package/dist/unblock-prs/types.mjs.map +1 -0
- package/dist/unblock-prs/util.d.mts +23 -0
- package/dist/unblock-prs/util.d.mts.map +1 -0
- package/dist/unblock-prs/util.mjs +60 -0
- package/dist/unblock-prs/util.mjs.map +1 -0
- package/dist/unblock-prs/version-pr.d.mts +57 -0
- package/dist/unblock-prs/version-pr.d.mts.map +1 -0
- package/dist/unblock-prs/version-pr.mjs +79 -0
- package/dist/unblock-prs/version-pr.mjs.map +1 -0
- package/dist/unblock-prs/watch.d.mts +17 -0
- package/dist/unblock-prs/watch.d.mts.map +1 -0
- package/dist/unblock-prs/watch.mjs +128 -0
- package/dist/unblock-prs/watch.mjs.map +1 -0
- package/package.json +118 -3
- package/src/claim-pr/claim-pr.mts +380 -0
- package/src/claim-pr/claim-pr.test.mts +176 -0
- package/src/claim-pr/index.mts +1 -0
- package/src/cmd/claim-pr.mts +32 -0
- package/src/cmd/open-pr.mts +28 -0
- package/src/cmd/pr-report.mts +28 -0
- package/src/cmd/push-fixed-pr.mts +36 -0
- package/src/cmd/report-unowned-prs.mts +37 -0
- package/src/cmd/unblock-prs.mts +24 -0
- package/src/entry-point.mts +3 -0
- package/src/lib/cli-args.mts +86 -0
- package/src/lib/cli-args.test.mts +92 -0
- package/src/lib/github-api.mts +463 -0
- package/src/lib/github-api.test.mts +40 -0
- package/src/lib/index.mts +6 -0
- package/src/lib/json.mts +43 -0
- package/src/lib/json.test.mts +34 -0
- package/src/lib/log.mts +19 -0
- package/src/lib/log.test.mts +45 -0
- package/src/lib/shell.mts +52 -0
- package/src/lib/time.mts +49 -0
- package/src/open-pr/README.md +237 -0
- package/src/open-pr/github.mts +444 -0
- package/src/open-pr/index.mts +5 -0
- package/src/open-pr/main.mts +327 -0
- package/src/open-pr/options.mts +101 -0
- package/src/open-pr/options.test.mts +67 -0
- package/src/open-pr/steps.mts +57 -0
- package/src/open-pr/steps.test.mts +59 -0
- package/src/open-pr/types.mts +42 -0
- package/src/pr-report/README.md +244 -0
- package/src/pr-report/github.mts +911 -0
- package/src/pr-report/index.mts +7 -0
- package/src/pr-report/linked-issues.mts +51 -0
- package/src/pr-report/linked-issues.test.mts +65 -0
- package/src/pr-report/main.mts +257 -0
- package/src/pr-report/options.mts +140 -0
- package/src/pr-report/queue.mts +125 -0
- package/src/pr-report/render.mts +428 -0
- package/src/pr-report/render.test.mts +379 -0
- package/src/pr-report/repo-settings.mts +34 -0
- package/src/push-fixed-pr/index.mts +1 -0
- package/src/push-fixed-pr/push-fixed-pr.mts +276 -0
- package/src/push-fixed-pr/push-fixed-pr.test.mts +228 -0
- package/src/report-unowned-prs/index.mts +1 -0
- package/src/report-unowned-prs/report-unowned-prs.mts +190 -0
- package/src/report-unowned-prs/report-unowned-prs.test.mts +87 -0
- package/src/unblock-prs/README.md +1616 -0
- package/src/unblock-prs/auto-fix.mts +334 -0
- package/src/unblock-prs/auto-fix.test.mts +159 -0
- package/src/unblock-prs/checks.mts +538 -0
- package/src/unblock-prs/checks.test.mts +507 -0
- package/src/unblock-prs/claims.mts +33 -0
- package/src/unblock-prs/claims.test.mts +64 -0
- package/src/unblock-prs/config.mts +187 -0
- package/src/unblock-prs/config.schema.json +71 -0
- package/src/unblock-prs/config.test.mts +139 -0
- package/src/unblock-prs/constants.mts +33 -0
- package/src/unblock-prs/demotions.mts +73 -0
- package/src/unblock-prs/demotions.test.mts +100 -0
- package/src/unblock-prs/github.mts +1042 -0
- package/src/unblock-prs/github.test.mts +84 -0
- package/src/unblock-prs/index.mts +24 -0
- package/src/unblock-prs/labels.mts +70 -0
- package/src/unblock-prs/main.mts +1051 -0
- package/src/unblock-prs/merge-after.mts +117 -0
- package/src/unblock-prs/merge-after.test.mts +120 -0
- package/src/unblock-prs/options.mts +157 -0
- package/src/unblock-prs/owner.mts +91 -0
- package/src/unblock-prs/owner.test.mts +114 -0
- package/src/unblock-prs/quiet.mts +62 -0
- package/src/unblock-prs/quiet.test.mts +175 -0
- package/src/unblock-prs/rebase.mts +962 -0
- package/src/unblock-prs/release.mts +149 -0
- package/src/unblock-prs/release.test.mts +209 -0
- package/src/unblock-prs/set-aside-comment.mts +143 -0
- package/src/unblock-prs/set-aside-comment.test.mts +148 -0
- package/src/unblock-prs/set-aside-detail.mts +82 -0
- package/src/unblock-prs/set-aside-detail.test.mts +131 -0
- package/src/unblock-prs/skips.mts +215 -0
- package/src/unblock-prs/skips.test.mts +280 -0
- package/src/unblock-prs/stack.mts +220 -0
- package/src/unblock-prs/stack.test.mts +449 -0
- package/src/unblock-prs/triage.mts +669 -0
- package/src/unblock-prs/triage.test.mts +100 -0
- package/src/unblock-prs/types.mts +358 -0
- package/src/unblock-prs/util.mts +78 -0
- package/src/unblock-prs/util.test.mts +26 -0
- package/src/unblock-prs/version-pr.mts +112 -0
- package/src/unblock-prs/version-pr.test.mts +78 -0
- package/src/unblock-prs/watch.mts +219 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checks.mjs","sourceRoot":"","sources":["../../src/unblock-prs/checks.mts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,eAAe,IAAI,iBAAiB,GAErC,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,YAAY,EAAmB,MAAM,kBAAkB,CAAC;AA+BjE;;;;GAIG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,EACrC,GAAe,EACf,QAAgB,EACmC,EAAE,CACrD,MAAM,CAAC,GAAG,CAAC,MAAM,iBAAiB,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,CAC9D,gBAAgB,CAAC,QAAQ,EAAE,UAAU,CAAC,CACvC,CAAC;AAEJ;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,EACpC,GAAe,EACf,QAAgB,EACkC,EAAE,CACpD,MAAM,CAAC,GAAG,CAAC,MAAM,iBAAiB,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,CAC9D,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC;KAC9B,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,CAAC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AI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAEvD,OAAO,EAAE,KAAK,SAAS;QACrB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;AACzD,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,aAAa,GAAG,CACpB,OAAgC,EACZ,EAAE;IACtB,MAAM,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACnC,KAAK,MAAM,EAAE,SAAS,EAAE,IAAI,OAAO,EAAE,CAAC;YACpC,MAAM,EAAE,GAAG,SAAS,CAAC,SAAS,CAAC,CAAC;YAEhC,IAAI,EAAE,KAAK,SAAS,EAAE,CAAC;gBACrB,MAAM,EAAE,CAAC;YACX,CAAC;QACH,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAClE,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The pull requests a session has claimed, which this script leaves alone.
|
|
3
|
+
*
|
|
4
|
+
* A session claims a pull request this script set aside before fixing it
|
|
5
|
+
* (`claim-pr`; `pr-report-core`'s `claim.mts` says what a claim is).
|
|
6
|
+
* Without one, the base moving would have this script try a set-aside
|
|
7
|
+
* rebase again while the session is resolving the same conflict, and a
|
|
8
|
+
* ticked retry box would do the same for any reason. So while a claim holds,
|
|
9
|
+
* the pull request is a skill's (`owner.mts`): not picked and not kept on the
|
|
10
|
+
* tip ("3a"), and its labels are left alone — the session pushes under
|
|
11
|
+
* `skip-ci` itself. The session's push ends the claim and hands the pull
|
|
12
|
+
* request back, as the push alone always did.
|
|
13
|
+
*/
|
|
14
|
+
import { type Claim } from 'pr-report-core';
|
|
15
|
+
import type { PullRequest } from './types.mjs';
|
|
16
|
+
/**
|
|
17
|
+
* The claims, read from this account's comments, that still hold the open
|
|
18
|
+
* pull requests they name.
|
|
19
|
+
*/
|
|
20
|
+
export declare const standingClaims: (claims: ReadonlyMap<number, Claim>, pullRequests: readonly PullRequest[], nowEpochMs: number) => ReadonlyMap<number, Claim>;
|
|
21
|
+
//# sourceMappingURL=claims.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claims.d.mts","sourceRoot":"","sources":["../../src/unblock-prs/claims.mts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAgB,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,cAAc,WACjB,WAAW,CAAC,MAAM,EAAE,KAAK,CAAC,gBACpB,SAAS,WAAW,EAAE,cACxB,MAAM,KACjB,WAAW,CAAC,MAAM,EAAE,KAAK,CAOzB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import { claimApplies } from 'pr-report-core';
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const standingClaims = (claims, pullRequests, nowEpochMs) => new Map(Array.from(claims).filter(([number, claim]) => {
|
|
20
|
+
const pr = pullRequests.find((p) => p.number === number);
|
|
21
|
+
return pr !== undefined && claimApplies(claim, pr.headRefOid, nowEpochMs);
|
|
22
|
+
}));
|
|
23
|
+
//# sourceMappingURL=claims.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"claims.mjs","sourceRoot":"","sources":["../../src/unblock-prs/claims.mts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,YAAY,EAAc,MAAM,gBAAgB,CAAC;AAG1D;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,MAAkC,EAClC,YAAoC,EACpC,UAAkB,EACU,EAAE,CAC9B,IAAI,GAAG,CACL,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE;IAC5C,MAAM,EAAE,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,CAAC;IAEzD,OAAO,EAAE,KAAK,SAAS,IAAI,YAAY,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;AAC5E,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a repository says about itself in `.github/unblock-prs.json`: the
|
|
3
|
+
* parts of the run that depend on how its CI is laid out.
|
|
4
|
+
*
|
|
5
|
+
* Only the auto-fix is here. The labels, `Merge-After:` and the version pull
|
|
6
|
+
* request's branch (`changeset-release/<base>`) are conventions the PR
|
|
7
|
+
* Manager page reads too, from repositories it has no configuration for, so
|
|
8
|
+
* they are fixed in `pr-report-core` rather than set per repository. A
|
|
9
|
+
* repository without the file gets everything but the auto-fix.
|
|
10
|
+
*
|
|
11
|
+
* The file's JSON Schema, `config.schema.json` beside this module, is
|
|
12
|
+
* generated from {@link ConfigFileSchema}; a test holds it to the output.
|
|
13
|
+
*/
|
|
14
|
+
import { Result } from 'ts-data-forge';
|
|
15
|
+
import * as t from 'ts-fortress';
|
|
16
|
+
/** Where the file is read from, relative to the repository root. */
|
|
17
|
+
export declare const CONFIG_PATH = ".github/unblock-prs.json";
|
|
18
|
+
/**
|
|
19
|
+
* The repository's configuration, or `undefined` when it has none. A file
|
|
20
|
+
* that is there but wrong stops the run: guessing would run commands nobody
|
|
21
|
+
* wrote.
|
|
22
|
+
*/
|
|
23
|
+
export declare const readConfig: (root?: string) => Promise<Result<Config | undefined, string>>;
|
|
24
|
+
/** {@link readConfig}'s validation, after the JSON has been parsed. */
|
|
25
|
+
export declare const configOf: (file: ConfigFile, source: string) => Result<Config, string>;
|
|
26
|
+
/**
|
|
27
|
+
* The file as written. The descriptions are the file's documentation: they are
|
|
28
|
+
* what `config.schema.json`, generated from this by `gen:config-schema`,
|
|
29
|
+
* shows in an editor.
|
|
30
|
+
*/
|
|
31
|
+
export declare const ConfigFileSchema: Readonly<{
|
|
32
|
+
typeName: string;
|
|
33
|
+
defaultValue: import("ts-type-forge").MergeIntersection<Readonly<{
|
|
34
|
+
readonly $schema?: string | undefined;
|
|
35
|
+
readonly autoFix?: Readonly<{
|
|
36
|
+
after: readonly string[];
|
|
37
|
+
before: readonly string[];
|
|
38
|
+
fixers: readonly Readonly<{
|
|
39
|
+
context: string;
|
|
40
|
+
run: string;
|
|
41
|
+
stage: number;
|
|
42
|
+
}>[];
|
|
43
|
+
ignore: readonly string[];
|
|
44
|
+
prepare: readonly Readonly<{
|
|
45
|
+
context: string;
|
|
46
|
+
run: string;
|
|
47
|
+
}>[];
|
|
48
|
+
}> | undefined;
|
|
49
|
+
}>>;
|
|
50
|
+
is: (a: unknown) => a is import("ts-type-forge").MergeIntersection<Readonly<{
|
|
51
|
+
readonly $schema?: string | undefined;
|
|
52
|
+
readonly autoFix?: Readonly<{
|
|
53
|
+
after: readonly string[];
|
|
54
|
+
before: readonly string[];
|
|
55
|
+
fixers: readonly Readonly<{
|
|
56
|
+
context: string;
|
|
57
|
+
run: string;
|
|
58
|
+
stage: number;
|
|
59
|
+
}>[];
|
|
60
|
+
ignore: readonly string[];
|
|
61
|
+
prepare: readonly Readonly<{
|
|
62
|
+
context: string;
|
|
63
|
+
run: string;
|
|
64
|
+
}>[];
|
|
65
|
+
}> | undefined;
|
|
66
|
+
}>>;
|
|
67
|
+
assertIs: (a: unknown) => asserts a is import("ts-type-forge").MergeIntersection<Readonly<{
|
|
68
|
+
readonly $schema?: string | undefined;
|
|
69
|
+
readonly autoFix?: Readonly<{
|
|
70
|
+
after: readonly string[];
|
|
71
|
+
before: readonly string[];
|
|
72
|
+
fixers: readonly Readonly<{
|
|
73
|
+
context: string;
|
|
74
|
+
run: string;
|
|
75
|
+
stage: number;
|
|
76
|
+
}>[];
|
|
77
|
+
ignore: readonly string[];
|
|
78
|
+
prepare: readonly Readonly<{
|
|
79
|
+
context: string;
|
|
80
|
+
run: string;
|
|
81
|
+
}>[];
|
|
82
|
+
}> | undefined;
|
|
83
|
+
}>>;
|
|
84
|
+
cast: (a: unknown) => import("ts-type-forge").MergeIntersection<Readonly<{
|
|
85
|
+
readonly $schema?: string | undefined;
|
|
86
|
+
readonly autoFix?: Readonly<{
|
|
87
|
+
after: readonly string[];
|
|
88
|
+
before: readonly string[];
|
|
89
|
+
fixers: readonly Readonly<{
|
|
90
|
+
context: string;
|
|
91
|
+
run: string;
|
|
92
|
+
stage: number;
|
|
93
|
+
}>[];
|
|
94
|
+
ignore: readonly string[];
|
|
95
|
+
prepare: readonly Readonly<{
|
|
96
|
+
context: string;
|
|
97
|
+
run: string;
|
|
98
|
+
}>[];
|
|
99
|
+
}> | undefined;
|
|
100
|
+
}>>;
|
|
101
|
+
fill: (a: unknown) => import("ts-type-forge").MergeIntersection<Readonly<{
|
|
102
|
+
readonly $schema?: string | undefined;
|
|
103
|
+
readonly autoFix?: Readonly<{
|
|
104
|
+
after: readonly string[];
|
|
105
|
+
before: readonly string[];
|
|
106
|
+
fixers: readonly Readonly<{
|
|
107
|
+
context: string;
|
|
108
|
+
run: string;
|
|
109
|
+
stage: number;
|
|
110
|
+
}>[];
|
|
111
|
+
ignore: readonly string[];
|
|
112
|
+
prepare: readonly Readonly<{
|
|
113
|
+
context: string;
|
|
114
|
+
run: string;
|
|
115
|
+
}>[];
|
|
116
|
+
}> | undefined;
|
|
117
|
+
}>>;
|
|
118
|
+
prune: <B extends import("ts-type-forge").MergeIntersection<Readonly<{
|
|
119
|
+
readonly $schema?: string | undefined;
|
|
120
|
+
readonly autoFix?: Readonly<{
|
|
121
|
+
after: readonly string[];
|
|
122
|
+
before: readonly string[];
|
|
123
|
+
fixers: readonly Readonly<{
|
|
124
|
+
context: string;
|
|
125
|
+
run: string;
|
|
126
|
+
stage: number;
|
|
127
|
+
}>[];
|
|
128
|
+
ignore: readonly string[];
|
|
129
|
+
prepare: readonly Readonly<{
|
|
130
|
+
context: string;
|
|
131
|
+
run: string;
|
|
132
|
+
}>[];
|
|
133
|
+
}> | undefined;
|
|
134
|
+
}>>>(a: B) => import("ts-type-forge").MergeIntersection<Readonly<{
|
|
135
|
+
readonly $schema?: string | undefined;
|
|
136
|
+
readonly autoFix?: Readonly<{
|
|
137
|
+
after: readonly string[];
|
|
138
|
+
before: readonly string[];
|
|
139
|
+
fixers: readonly Readonly<{
|
|
140
|
+
context: string;
|
|
141
|
+
run: string;
|
|
142
|
+
stage: number;
|
|
143
|
+
}>[];
|
|
144
|
+
ignore: readonly string[];
|
|
145
|
+
prepare: readonly Readonly<{
|
|
146
|
+
context: string;
|
|
147
|
+
run: string;
|
|
148
|
+
}>[];
|
|
149
|
+
}> | undefined;
|
|
150
|
+
}>>;
|
|
151
|
+
validate: (a: unknown) => Result<import("ts-type-forge").MergeIntersection<Readonly<{
|
|
152
|
+
readonly $schema?: string | undefined;
|
|
153
|
+
readonly autoFix?: Readonly<{
|
|
154
|
+
after: readonly string[];
|
|
155
|
+
before: readonly string[];
|
|
156
|
+
fixers: readonly Readonly<{
|
|
157
|
+
context: string;
|
|
158
|
+
run: string;
|
|
159
|
+
stage: number;
|
|
160
|
+
}>[];
|
|
161
|
+
ignore: readonly string[];
|
|
162
|
+
prepare: readonly Readonly<{
|
|
163
|
+
context: string;
|
|
164
|
+
run: string;
|
|
165
|
+
}>[];
|
|
166
|
+
}> | undefined;
|
|
167
|
+
}>>, readonly Readonly<{
|
|
168
|
+
path: readonly string[];
|
|
169
|
+
actualValue: unknown;
|
|
170
|
+
expectedType: string;
|
|
171
|
+
typeName: string;
|
|
172
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
173
|
+
}>[]>;
|
|
174
|
+
structure?: t.TypeStructure;
|
|
175
|
+
annotations?: t.TypeAnnotations;
|
|
176
|
+
optional?: true;
|
|
177
|
+
}> & Readonly<{
|
|
178
|
+
shape: {
|
|
179
|
+
readonly $schema: t.OptionalPropertyType<t.ConstrainedType<string, Readonly<{
|
|
180
|
+
readonly nonempty: undefined;
|
|
181
|
+
readonly minLength: undefined;
|
|
182
|
+
readonly maxLength: undefined;
|
|
183
|
+
readonly startsWith: undefined;
|
|
184
|
+
readonly endsWith: undefined;
|
|
185
|
+
readonly includes: undefined;
|
|
186
|
+
readonly uppercase: undefined;
|
|
187
|
+
readonly lowercase: undefined;
|
|
188
|
+
readonly regex: undefined;
|
|
189
|
+
}>>>;
|
|
190
|
+
readonly autoFix: t.OptionalPropertyType<Readonly<{
|
|
191
|
+
typeName: string;
|
|
192
|
+
defaultValue: Readonly<{
|
|
193
|
+
after: readonly string[];
|
|
194
|
+
before: readonly string[];
|
|
195
|
+
fixers: readonly Readonly<{
|
|
196
|
+
context: string;
|
|
197
|
+
run: string;
|
|
198
|
+
stage: number;
|
|
199
|
+
}>[];
|
|
200
|
+
ignore: readonly string[];
|
|
201
|
+
prepare: readonly Readonly<{
|
|
202
|
+
context: string;
|
|
203
|
+
run: string;
|
|
204
|
+
}>[];
|
|
205
|
+
}>;
|
|
206
|
+
is: (a: unknown) => a is Readonly<{
|
|
207
|
+
after: readonly string[];
|
|
208
|
+
before: readonly string[];
|
|
209
|
+
fixers: readonly Readonly<{
|
|
210
|
+
context: string;
|
|
211
|
+
run: string;
|
|
212
|
+
stage: number;
|
|
213
|
+
}>[];
|
|
214
|
+
ignore: readonly string[];
|
|
215
|
+
prepare: readonly Readonly<{
|
|
216
|
+
context: string;
|
|
217
|
+
run: string;
|
|
218
|
+
}>[];
|
|
219
|
+
}>;
|
|
220
|
+
assertIs: (a: unknown) => asserts a is Readonly<{
|
|
221
|
+
after: readonly string[];
|
|
222
|
+
before: readonly string[];
|
|
223
|
+
fixers: readonly Readonly<{
|
|
224
|
+
context: string;
|
|
225
|
+
run: string;
|
|
226
|
+
stage: number;
|
|
227
|
+
}>[];
|
|
228
|
+
ignore: readonly string[];
|
|
229
|
+
prepare: readonly Readonly<{
|
|
230
|
+
context: string;
|
|
231
|
+
run: string;
|
|
232
|
+
}>[];
|
|
233
|
+
}>;
|
|
234
|
+
cast: (a: unknown) => Readonly<{
|
|
235
|
+
after: readonly string[];
|
|
236
|
+
before: readonly string[];
|
|
237
|
+
fixers: readonly Readonly<{
|
|
238
|
+
context: string;
|
|
239
|
+
run: string;
|
|
240
|
+
stage: number;
|
|
241
|
+
}>[];
|
|
242
|
+
ignore: readonly string[];
|
|
243
|
+
prepare: readonly Readonly<{
|
|
244
|
+
context: string;
|
|
245
|
+
run: string;
|
|
246
|
+
}>[];
|
|
247
|
+
}>;
|
|
248
|
+
fill: (a: unknown) => Readonly<{
|
|
249
|
+
after: readonly string[];
|
|
250
|
+
before: readonly string[];
|
|
251
|
+
fixers: readonly Readonly<{
|
|
252
|
+
context: string;
|
|
253
|
+
run: string;
|
|
254
|
+
stage: number;
|
|
255
|
+
}>[];
|
|
256
|
+
ignore: readonly string[];
|
|
257
|
+
prepare: readonly Readonly<{
|
|
258
|
+
context: string;
|
|
259
|
+
run: string;
|
|
260
|
+
}>[];
|
|
261
|
+
}>;
|
|
262
|
+
prune: <B extends Readonly<{
|
|
263
|
+
after: readonly string[];
|
|
264
|
+
before: readonly string[];
|
|
265
|
+
fixers: readonly Readonly<{
|
|
266
|
+
context: string;
|
|
267
|
+
run: string;
|
|
268
|
+
stage: number;
|
|
269
|
+
}>[];
|
|
270
|
+
ignore: readonly string[];
|
|
271
|
+
prepare: readonly Readonly<{
|
|
272
|
+
context: string;
|
|
273
|
+
run: string;
|
|
274
|
+
}>[];
|
|
275
|
+
}>>(a: B) => Readonly<{
|
|
276
|
+
after: readonly string[];
|
|
277
|
+
before: readonly string[];
|
|
278
|
+
fixers: readonly Readonly<{
|
|
279
|
+
context: string;
|
|
280
|
+
run: string;
|
|
281
|
+
stage: number;
|
|
282
|
+
}>[];
|
|
283
|
+
ignore: readonly string[];
|
|
284
|
+
prepare: readonly Readonly<{
|
|
285
|
+
context: string;
|
|
286
|
+
run: string;
|
|
287
|
+
}>[];
|
|
288
|
+
}>;
|
|
289
|
+
validate: (a: unknown) => Result<Readonly<{
|
|
290
|
+
after: readonly string[];
|
|
291
|
+
before: readonly string[];
|
|
292
|
+
fixers: readonly Readonly<{
|
|
293
|
+
context: string;
|
|
294
|
+
run: string;
|
|
295
|
+
stage: number;
|
|
296
|
+
}>[];
|
|
297
|
+
ignore: readonly string[];
|
|
298
|
+
prepare: readonly Readonly<{
|
|
299
|
+
context: string;
|
|
300
|
+
run: string;
|
|
301
|
+
}>[];
|
|
302
|
+
}>, readonly Readonly<{
|
|
303
|
+
path: readonly string[];
|
|
304
|
+
actualValue: unknown;
|
|
305
|
+
expectedType: string;
|
|
306
|
+
typeName: string;
|
|
307
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
308
|
+
}>[]>;
|
|
309
|
+
structure?: t.TypeStructure;
|
|
310
|
+
annotations?: t.TypeAnnotations;
|
|
311
|
+
optional?: true;
|
|
312
|
+
}> & Readonly<{
|
|
313
|
+
shape: {
|
|
314
|
+
readonly ignore: Readonly<{
|
|
315
|
+
typeName: string;
|
|
316
|
+
defaultValue: readonly string[];
|
|
317
|
+
is: (a: unknown) => a is readonly string[];
|
|
318
|
+
assertIs: (a: unknown) => asserts a is readonly string[];
|
|
319
|
+
cast: (a: unknown) => readonly string[];
|
|
320
|
+
fill: (a: unknown) => readonly string[];
|
|
321
|
+
prune: <B extends readonly string[]>(a: B) => readonly string[];
|
|
322
|
+
validate: (a: unknown) => Result<readonly string[], readonly Readonly<{
|
|
323
|
+
path: readonly string[];
|
|
324
|
+
actualValue: unknown;
|
|
325
|
+
expectedType: string;
|
|
326
|
+
typeName: string;
|
|
327
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
328
|
+
}>[]>;
|
|
329
|
+
structure?: t.TypeStructure;
|
|
330
|
+
annotations?: t.TypeAnnotations;
|
|
331
|
+
optional?: true;
|
|
332
|
+
}>;
|
|
333
|
+
readonly before: Readonly<{
|
|
334
|
+
typeName: string;
|
|
335
|
+
defaultValue: readonly string[];
|
|
336
|
+
is: (a: unknown) => a is readonly string[];
|
|
337
|
+
assertIs: (a: unknown) => asserts a is readonly string[];
|
|
338
|
+
cast: (a: unknown) => readonly string[];
|
|
339
|
+
fill: (a: unknown) => readonly string[];
|
|
340
|
+
prune: <B extends readonly string[]>(a: B) => readonly string[];
|
|
341
|
+
validate: (a: unknown) => Result<readonly string[], readonly Readonly<{
|
|
342
|
+
path: readonly string[];
|
|
343
|
+
actualValue: unknown;
|
|
344
|
+
expectedType: string;
|
|
345
|
+
typeName: string;
|
|
346
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
347
|
+
}>[]>;
|
|
348
|
+
structure?: t.TypeStructure;
|
|
349
|
+
annotations?: t.TypeAnnotations;
|
|
350
|
+
optional?: true;
|
|
351
|
+
}>;
|
|
352
|
+
readonly prepare: Readonly<{
|
|
353
|
+
typeName: string;
|
|
354
|
+
defaultValue: readonly Readonly<{
|
|
355
|
+
context: string;
|
|
356
|
+
run: string;
|
|
357
|
+
}>[];
|
|
358
|
+
is: (a: unknown) => a is readonly Readonly<{
|
|
359
|
+
context: string;
|
|
360
|
+
run: string;
|
|
361
|
+
}>[];
|
|
362
|
+
assertIs: (a: unknown) => asserts a is readonly Readonly<{
|
|
363
|
+
context: string;
|
|
364
|
+
run: string;
|
|
365
|
+
}>[];
|
|
366
|
+
cast: (a: unknown) => readonly Readonly<{
|
|
367
|
+
context: string;
|
|
368
|
+
run: string;
|
|
369
|
+
}>[];
|
|
370
|
+
fill: (a: unknown) => readonly Readonly<{
|
|
371
|
+
context: string;
|
|
372
|
+
run: string;
|
|
373
|
+
}>[];
|
|
374
|
+
prune: <B extends readonly Readonly<{
|
|
375
|
+
context: string;
|
|
376
|
+
run: string;
|
|
377
|
+
}>[]>(a: B) => readonly Readonly<{
|
|
378
|
+
context: string;
|
|
379
|
+
run: string;
|
|
380
|
+
}>[];
|
|
381
|
+
validate: (a: unknown) => Result<readonly Readonly<{
|
|
382
|
+
context: string;
|
|
383
|
+
run: string;
|
|
384
|
+
}>[], readonly Readonly<{
|
|
385
|
+
path: readonly string[];
|
|
386
|
+
actualValue: unknown;
|
|
387
|
+
expectedType: string;
|
|
388
|
+
typeName: string;
|
|
389
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
390
|
+
}>[]>;
|
|
391
|
+
structure?: t.TypeStructure;
|
|
392
|
+
annotations?: t.TypeAnnotations;
|
|
393
|
+
optional?: true;
|
|
394
|
+
}>;
|
|
395
|
+
readonly fixers: Readonly<{
|
|
396
|
+
typeName: string;
|
|
397
|
+
defaultValue: readonly Readonly<{
|
|
398
|
+
context: string;
|
|
399
|
+
run: string;
|
|
400
|
+
stage: number;
|
|
401
|
+
}>[];
|
|
402
|
+
is: (a: unknown) => a is readonly Readonly<{
|
|
403
|
+
context: string;
|
|
404
|
+
run: string;
|
|
405
|
+
stage: number;
|
|
406
|
+
}>[];
|
|
407
|
+
assertIs: (a: unknown) => asserts a is readonly Readonly<{
|
|
408
|
+
context: string;
|
|
409
|
+
run: string;
|
|
410
|
+
stage: number;
|
|
411
|
+
}>[];
|
|
412
|
+
cast: (a: unknown) => readonly Readonly<{
|
|
413
|
+
context: string;
|
|
414
|
+
run: string;
|
|
415
|
+
stage: number;
|
|
416
|
+
}>[];
|
|
417
|
+
fill: (a: unknown) => readonly Readonly<{
|
|
418
|
+
context: string;
|
|
419
|
+
run: string;
|
|
420
|
+
stage: number;
|
|
421
|
+
}>[];
|
|
422
|
+
prune: <B extends readonly Readonly<{
|
|
423
|
+
context: string;
|
|
424
|
+
run: string;
|
|
425
|
+
stage: number;
|
|
426
|
+
}>[]>(a: B) => readonly Readonly<{
|
|
427
|
+
context: string;
|
|
428
|
+
run: string;
|
|
429
|
+
stage: number;
|
|
430
|
+
}>[];
|
|
431
|
+
validate: (a: unknown) => Result<readonly Readonly<{
|
|
432
|
+
context: string;
|
|
433
|
+
run: string;
|
|
434
|
+
stage: number;
|
|
435
|
+
}>[], readonly Readonly<{
|
|
436
|
+
path: readonly string[];
|
|
437
|
+
actualValue: unknown;
|
|
438
|
+
expectedType: string;
|
|
439
|
+
typeName: string;
|
|
440
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
441
|
+
}>[]>;
|
|
442
|
+
structure?: t.TypeStructure;
|
|
443
|
+
annotations?: t.TypeAnnotations;
|
|
444
|
+
optional?: true;
|
|
445
|
+
}>;
|
|
446
|
+
readonly after: Readonly<{
|
|
447
|
+
typeName: string;
|
|
448
|
+
defaultValue: readonly string[];
|
|
449
|
+
is: (a: unknown) => a is readonly string[];
|
|
450
|
+
assertIs: (a: unknown) => asserts a is readonly string[];
|
|
451
|
+
cast: (a: unknown) => readonly string[];
|
|
452
|
+
fill: (a: unknown) => readonly string[];
|
|
453
|
+
prune: <B extends readonly string[]>(a: B) => readonly string[];
|
|
454
|
+
validate: (a: unknown) => Result<readonly string[], readonly Readonly<{
|
|
455
|
+
path: readonly string[];
|
|
456
|
+
actualValue: unknown;
|
|
457
|
+
expectedType: string;
|
|
458
|
+
typeName: string;
|
|
459
|
+
details?: t.ValidationErrorDetails | undefined;
|
|
460
|
+
}>[]>;
|
|
461
|
+
structure?: t.TypeStructure;
|
|
462
|
+
annotations?: t.TypeAnnotations;
|
|
463
|
+
optional?: true;
|
|
464
|
+
}>;
|
|
465
|
+
};
|
|
466
|
+
}>>;
|
|
467
|
+
};
|
|
468
|
+
}>;
|
|
469
|
+
export type ConfigFile = t.TypeOf<typeof ConfigFileSchema>;
|
|
470
|
+
export type Config = Readonly<{
|
|
471
|
+
autoFix: AutoFixConfig | undefined;
|
|
472
|
+
}>;
|
|
473
|
+
export type AutoFixConfig = Readonly<{
|
|
474
|
+
ignore: readonly RegExp[];
|
|
475
|
+
before: readonly string[];
|
|
476
|
+
prepare: readonly Readonly<{
|
|
477
|
+
context: RegExp;
|
|
478
|
+
run: string;
|
|
479
|
+
}>[];
|
|
480
|
+
fixers: readonly Readonly<{
|
|
481
|
+
context: RegExp;
|
|
482
|
+
run: string;
|
|
483
|
+
stage: number;
|
|
484
|
+
}>[];
|
|
485
|
+
after: readonly string[];
|
|
486
|
+
}>;
|
|
487
|
+
//# sourceMappingURL=config.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.mts","sourceRoot":"","sources":["../../src/unblock-prs/config.mts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,EAAO,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,oEAAoE;AACpE,eAAO,MAAM,WAAW,6BAA6B,CAAC;AAEtD;;;;GAIG;AACH,eAAO,MAAM,UAAU,UACd,MAAM,KACZ,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,MAAM,CAAC,CAU5C,CAAC;AAEF,uEAAuE;AACvE,eAAO,MAAM,QAAQ,SACb,UAAU,UACR,MAAM,KACb,MAAM,CAAC,MAAM,EAAE,MAAM,CA4CvB,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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