@usepipr/runtime 0.1.1 → 0.1.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.
|
@@ -1860,7 +1860,7 @@ function isOfficialInitRecipeId(recipe) {
|
|
|
1860
1860
|
//#endregion
|
|
1861
1861
|
//#region src/config/init.ts
|
|
1862
1862
|
const supportedOfficialInitAdapters = ["github"];
|
|
1863
|
-
const defaultWorkflowActionRef = "somus/pipr@v0.1.
|
|
1863
|
+
const defaultWorkflowActionRef = "somus/pipr@v0.1.2";
|
|
1864
1864
|
function resolveOfficialInitAdapters(adapters) {
|
|
1865
1865
|
if (adapters === void 0) return [...supportedOfficialInitAdapters];
|
|
1866
1866
|
if (adapters.length === 0) return [];
|
|
@@ -4075,7 +4075,7 @@ function renderPlanCommandHelp(plan, reason) {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
//#endregion
|
|
4077
4077
|
//#region src/review/comment.ts
|
|
4078
|
-
const runtimeVersion = "0.1.
|
|
4078
|
+
const runtimeVersion = "0.1.2";
|
|
4079
4079
|
const inlinePublicationItemSchema = z.strictObject({
|
|
4080
4080
|
finding: reviewFindingSchema,
|
|
4081
4081
|
range: commentableRangeSchema,
|
|
@@ -4199,7 +4199,7 @@ function renderMainComment(options) {
|
|
|
4199
4199
|
reviewState: options.reviewState
|
|
4200
4200
|
}),
|
|
4201
4201
|
"",
|
|
4202
|
-
"#
|
|
4202
|
+
"# Pipr Review",
|
|
4203
4203
|
"",
|
|
4204
4204
|
options.main,
|
|
4205
4205
|
""
|
|
@@ -4567,7 +4567,7 @@ function priorReviewForTask(priorMainComment, priorReviewState) {
|
|
|
4567
4567
|
function visibleMainComment(body) {
|
|
4568
4568
|
const lines = body.split("\n").filter((line) => !line.startsWith("<!-- pipr:main-comment "));
|
|
4569
4569
|
while (lines[0] === "") lines.shift();
|
|
4570
|
-
if (lines[0] === "# pipr Review") lines.shift();
|
|
4570
|
+
if (lines[0] === "# pipr Review" || lines[0] === "# Pipr Review") lines.shift();
|
|
4571
4571
|
while (lines[0] === "") lines.shift();
|
|
4572
4572
|
return lines.join("\n").trim();
|
|
4573
4573
|
}
|
|
@@ -7163,4 +7163,4 @@ async function publishCommandResponseActionResult(options) {
|
|
|
7163
7163
|
//#endregion
|
|
7164
7164
|
export { runInspectCommand as a, PublicationError as c, supportedOfficialInitRecipes as d, runInitCommand as i, supportedOfficialInitAdapters as l, runActionCommandWithDependencies as n, runLocalReviewCommand as o, runDryRunCommand as r, runValidateCommand as s, runActionCommand as t, listOfficialInitRecipes as u };
|
|
7165
7165
|
|
|
7166
|
-
//# sourceMappingURL=commands-
|
|
7166
|
+
//# sourceMappingURL=commands-DjVx1puD.mjs.map
|