@nuasite/cli 0.0.32 → 0.0.33
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 +4 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2451,10 +2451,10 @@ var updateAgentsSummary = async (pages, redirects) => {
|
|
|
2451
2451
|
const jsonlRecords = createJsonlRecords(pages, redirects);
|
|
2452
2452
|
const summaryBody = jsonlRecords.join(`
|
|
2453
2453
|
`);
|
|
2454
|
-
const summaryBlock = `${SUMMARY_START}
|
|
2455
|
-
|
|
2456
|
-
${
|
|
2457
|
-
` :
|
|
2454
|
+
const summaryBlock = summaryBody ? `${SUMMARY_START}
|
|
2455
|
+
${summaryBody}
|
|
2456
|
+
${SUMMARY_END}
|
|
2457
|
+
` : `${SUMMARY_START}
|
|
2458
2458
|
${SUMMARY_END}
|
|
2459
2459
|
`;
|
|
2460
2460
|
const agentsContent = await fs.readFile(AGENTS_PATH, "utf8").catch(() => "");
|
|
@@ -2467,7 +2467,6 @@ ${SUMMARY_END}
|
|
|
2467
2467
|
}
|
|
2468
2468
|
const prefix = agentsContent.trimEnd();
|
|
2469
2469
|
const separator = prefix.length === 0 ? "" : `
|
|
2470
|
-
|
|
2471
2470
|
`;
|
|
2472
2471
|
await fs.writeFile(AGENTS_PATH, `${prefix}${separator}${summaryBlock}`, "utf8");
|
|
2473
2472
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuasite/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepack": "bun run ../../scripts/workspace-deps/resolve-deps.ts"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nuasite/agent-summary": "0.0.
|
|
26
|
+
"@nuasite/agent-summary": "0.0.33",
|
|
27
27
|
"astro": "5.15.1",
|
|
28
28
|
"stacktracey": "2.1.8"
|
|
29
29
|
},
|