rrce-workflow 0.2.76 → 0.2.77
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 +6 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1120,8 +1120,8 @@ async function promptLinkedProjects(existingProjects) {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
async function promptGitignore() {
|
|
1122
1122
|
const result = await confirm({
|
|
1123
|
-
message: "Add generated folders to .gitignore?
|
|
1124
|
-
initialValue:
|
|
1123
|
+
message: "Add generated folders to .gitignore?",
|
|
1124
|
+
initialValue: true
|
|
1125
1125
|
});
|
|
1126
1126
|
if (isCancel2(result)) {
|
|
1127
1127
|
cancel("Setup cancelled.");
|
|
@@ -1858,15 +1858,13 @@ function updateGitignore(workspacePath, storageMode, tools) {
|
|
|
1858
1858
|
if (storageMode === "workspace") {
|
|
1859
1859
|
entries.push(".rrce-workflow/");
|
|
1860
1860
|
}
|
|
1861
|
+
entries.push(".opencode/");
|
|
1861
1862
|
if (tools.includes("copilot")) {
|
|
1862
1863
|
entries.push(".github/agents/");
|
|
1863
1864
|
}
|
|
1864
1865
|
if (tools.includes("antigravity")) {
|
|
1865
1866
|
entries.push(".agent/workflows/");
|
|
1866
1867
|
}
|
|
1867
|
-
if (tools.includes("opencode")) {
|
|
1868
|
-
entries.push(".opencode/");
|
|
1869
|
-
}
|
|
1870
1868
|
entries.push("*.code-workspace");
|
|
1871
1869
|
if (entries.length === 0) {
|
|
1872
1870
|
return false;
|
|
@@ -1881,8 +1879,7 @@ function updateGitignore(workspacePath, storageMode, tools) {
|
|
|
1881
1879
|
}
|
|
1882
1880
|
const newSection = `
|
|
1883
1881
|
${sectionMarker}
|
|
1884
|
-
|
|
1885
|
-
${entries.map((e) => `# ${e}`).join("\n")}
|
|
1882
|
+
${entries.join("\n")}
|
|
1886
1883
|
`;
|
|
1887
1884
|
const updatedContent = existingContent.trimEnd() + newSection;
|
|
1888
1885
|
fs11.writeFileSync(gitignorePath, updatedContent);
|
|
@@ -4366,7 +4363,7 @@ async function runExpressSetup(workspacePath, workspaceName, existingProjects, s
|
|
|
4366
4363
|
\u2022 Storage: ${storageMode === "global" ? "Global" : "Workspace"}
|
|
4367
4364
|
\u2022 MCP Server: Enabled
|
|
4368
4365
|
\u2022 Semantic Search (RAG): Enabled
|
|
4369
|
-
\u2022 Git ignore entries: Added
|
|
4366
|
+
\u2022 Git ignore entries: Added
|
|
4370
4367
|
\u2022 AI Tools: ${toolsText}`,
|
|
4371
4368
|
"Configuration Preview"
|
|
4372
4369
|
);
|
|
@@ -4387,7 +4384,7 @@ async function runExpressSetup(workspacePath, workspaceName, existingProjects, s
|
|
|
4387
4384
|
globalPath: customGlobalPath,
|
|
4388
4385
|
tools: defaultTools,
|
|
4389
4386
|
linkedProjects: [],
|
|
4390
|
-
addToGitignore:
|
|
4387
|
+
addToGitignore: true,
|
|
4391
4388
|
exposeToMCP: true,
|
|
4392
4389
|
enableRAG: true
|
|
4393
4390
|
};
|