Skip to content

Commit 7ecf7b0

Browse files
🔧 Change site.json to all.json
1 parent 7f2b52e commit 7ecf7b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@staart/site",
3-
"version": "1.1.12",
3+
"version": "1.1.13",
44
"module": "dist/module.js",
55
"main": "dist/index.js",
66
"bin": "./dist/index.js",

src/generator.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const generate = async (customConfig?: StaartSiteConfig) => {
158158
const nArticles = (await listContentFiles()).length;
159159
schema.message = `${nArticles} article${nArticles !== 1 ? "s" : ""}`;
160160
await writeFile(
161-
join(await getDistPath(), "shield-schema", "site.json"),
161+
join(await getDistPath(), "shield-schema", "all.json"),
162162
JSON.stringify(schema)
163163
);
164164
const directories = await listDirs();

0 commit comments

Comments
 (0)