@tarcisiopgs/lisa 1.2.0 → 1.2.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/dist/index.js +9 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -639,10 +639,10 @@ ${readmeBlock}${hookBlock}
|
|
|
639
639
|
"repoPath": "<absolute path to the chosen repo>",
|
|
640
640
|
"branch": "<your English branch name>",
|
|
641
641
|
"prTitle": "<PR title in English, conventional commit format>",
|
|
642
|
-
"prBody": "<English summary
|
|
642
|
+
"prBody": "<markdown-formatted English summary>"
|
|
643
643
|
}
|
|
644
644
|
\`\`\`
|
|
645
|
-
The \`prBody\`
|
|
645
|
+
The \`prBody\` MUST use markdown formatting. Use bullet points (\`-\`) to list key changes, and optionally bold (\`**text**\`) for emphasis. Do NOT write a wall of text \u2014 structure the summary as a bulleted list. Describe WHAT was changed and WHY, mentioning key files modified, new behavior added, or bugs fixed. Write in English.
|
|
646
646
|
Do NOT commit this file.
|
|
647
647
|
|
|
648
648
|
## Rules
|
|
@@ -701,9 +701,9 @@ ${testBlock}${readmeBlock}${hookBlock}
|
|
|
701
701
|
|
|
702
702
|
4. **Write manifest**: Create \`.lisa-manifest.json\` in the **current directory** with JSON:
|
|
703
703
|
\`\`\`json
|
|
704
|
-
{"branch": "<final English branch name>", "prTitle": "<English PR title, conventional commit format>", "prBody": "<English summary
|
|
704
|
+
{"branch": "<final English branch name>", "prTitle": "<English PR title, conventional commit format>", "prBody": "<markdown-formatted English summary>"}
|
|
705
705
|
\`\`\`
|
|
706
|
-
The \`prBody\`
|
|
706
|
+
The \`prBody\` MUST use markdown formatting. Use bullet points (\`-\`) to list key changes, and optionally bold (\`**text**\`) for emphasis. Do NOT write a wall of text \u2014 structure the summary as a bulleted list. Describe WHAT was changed and WHY, mentioning key files modified, new behavior added, or bugs fixed. Write in English.
|
|
707
707
|
Do NOT commit this file.
|
|
708
708
|
|
|
709
709
|
## Rules
|
|
@@ -771,9 +771,9 @@ ${testBlock}${readmeBlock}${hookBlock}
|
|
|
771
771
|
|
|
772
772
|
6. **Write manifest**: Before finishing, create \`${manifestPath}\` with JSON:
|
|
773
773
|
\`\`\`json
|
|
774
|
-
{"repoPath": "<absolute path to this repo>", "branch": "<branch name>", "prTitle": "<English PR title, conventional commit format>", "prBody": "<English summary
|
|
774
|
+
{"repoPath": "<absolute path to this repo>", "branch": "<branch name>", "prTitle": "<English PR title, conventional commit format>", "prBody": "<markdown-formatted English summary>"}
|
|
775
775
|
\`\`\`
|
|
776
|
-
The \`prBody\`
|
|
776
|
+
The \`prBody\` MUST use markdown formatting. Use bullet points (\`-\`) to list key changes, and optionally bold (\`**text**\`) for emphasis. Do NOT write a wall of text \u2014 structure the summary as a bulleted list. Describe WHAT was changed and WHY, mentioning key files modified, new behavior added, or bugs fixed. Write in English.
|
|
777
777
|
Do NOT commit this file.
|
|
778
778
|
|
|
779
779
|
## Rules
|
|
@@ -1902,9 +1902,11 @@ function resolveModels(config2) {
|
|
|
1902
1902
|
function buildPrBody(providerUsed, description) {
|
|
1903
1903
|
const lines = [];
|
|
1904
1904
|
if (description) {
|
|
1905
|
-
lines.push(description, "");
|
|
1905
|
+
lines.push("## Summary", "", description, "");
|
|
1906
1906
|
}
|
|
1907
1907
|
lines.push(
|
|
1908
|
+
"---",
|
|
1909
|
+
"",
|
|
1908
1910
|
`Implemented by [lisa](https://github.com/tarcisiopgs/lisa) using **${providerUsed}**.`
|
|
1909
1911
|
);
|
|
1910
1912
|
return lines.join("\n");
|