Skip to content

Commit

Permalink
ignore anything in the public directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jthrilly committed Nov 21, 2024
1 parent 627981e commit 90a1639
Show file tree
Hide file tree
Showing 4 changed files with 435 additions and 426 deletions.
10 changes: 8 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"typescript.tsdk": "./node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"cSpell.words": ["netcanvas", "Tipbox"],
"cSpell.words": [
"netcanvas",
"Tipbox"
],
"editor.defaultFormatter": "biomejs.biome",
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
Expand All @@ -12,5 +15,8 @@
"editor.codeActionsOnSave": {
"source.organizeImports": "always",
"source.fixAll": "always"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
}
2 changes: 1 addition & 1 deletion apps/documentation/lib/writeSidebarJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function generateSidebarData() {
try {
const sidebarData = generateSidebarData();

writeFileSync(join(process.cwd(), "public", "sidebar.json"), JSON.stringify(sidebarData, null, 2), "utf-8");
writeFileSync(join(process.cwd(), "public", "sidebar.json"), JSON.stringify(sidebarData, null, "\t"), "utf-8");
} catch (e) {
// eslint-disable-next-line no-console
console.log("Error writing sidebar data!", e);
Expand Down
Loading

0 comments on commit 90a1639

Please sign in to comment.