From e16865e39453a24b28966bc16db2a96b20081bac Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 2 Aug 2026 08:40:28 -0300 Subject: [PATCH] refactor: remove unused dynamic.ts and source.config.mjs files from .source directory --- .gitignore | 8 ++++---- .source/dynamic.ts | 8 -------- .source/source.config.mjs | 22 ---------------------- AMIT | 1 - 4 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 .source/dynamic.ts delete mode 100644 .source/source.config.mjs delete mode 100644 AMIT diff --git a/.gitignore b/.gitignore index db8c60dccb..f68dc5c63a 100644 --- a/.gitignore +++ b/.gitignore @@ -171,7 +171,6 @@ config/quality/test-impact-map.json # GitNexus local index .gitnexus .worktrees -bin/omniroute.mjs # Consistent with .dockerignore / .npmignore .omc/ @@ -201,7 +200,10 @@ scripts/i18n/_pending-keys.json .codegraph/ # Fumadocs generated source -.source/ +/.source/ + +# Temporary local worktrees used to build unpublished npm tarballs +/.deploy-build-*/ # AI agent local settings and configs .agents/ @@ -250,6 +252,4 @@ tests/homolog/.auth/ tests/homolog/ui/.auth/ homolog-report/ docker-compose.yml.bak -.source/ .playwright-cli/ -.source/dynamic.ts diff --git a/.source/dynamic.ts b/.source/dynamic.ts deleted file mode 100644 index 7dd9c10a61..0000000000 --- a/.source/dynamic.ts +++ /dev/null @@ -1,8 +0,0 @@ -// @ts-nocheck -import { dynamic } from 'fumadocs-mdx/runtime/dynamic'; -import * as Config from '../source.config'; - -const create = await dynamic(Config, {"configPath":"source.config.ts","environment":"next","outDir":".source"}, {"doc":{"passthroughs":["extractedReferences"]}}); \ No newline at end of file diff --git a/.source/source.config.mjs b/.source/source.config.mjs deleted file mode 100644 index 1b0644fe1e..0000000000 --- a/.source/source.config.mjs +++ /dev/null @@ -1,22 +0,0 @@ -// source.config.ts -import { defineDocs, defineConfig } from "fumadocs-mdx/config"; -var docs = defineDocs({ - dir: "docs", - docs: { - files: [ - "./architecture/**/*.md", - "./guides/**/*.md", - "./reference/**/*.md", - "./frameworks/**/*.md", - "./routing/**/*.md", - "./security/**/*.md", - "./compression/**/*.md", - "./ops/**/*.md" - ] - } -}); -var source_config_default = defineConfig(); -export { - source_config_default as default, - docs -}; diff --git a/AMIT b/AMIT deleted file mode 100644 index 8b13789179..0000000000 --- a/AMIT +++ /dev/null @@ -1 +0,0 @@ -