- Introduced `uv.lock` for dependency management with various packages including `pytest`, `colorama`, and `pluggy`. - Added `pyrightconfig.json` for Python type checking configuration. - Expanded `recommendations.md` with detailed scaling recommendations and project management strategies. - Created shared `ruff.toml` for consistent linting across projects. - Developed `Castle Tools` with various utilities including Android backup, browser automation, document conversion, and search tools. - Implemented `backup-collect` and `schedule` tools for system administration tasks. - Enhanced `search` functionality with indexing and querying capabilities using Tantivy. - Added comprehensive documentation for each tool, including usage examples and installation instructions.
20 lines
451 B
TypeScript
20 lines
451 B
TypeScript
import { createBrowserRouter } from "react-router-dom"
|
|
import { Dashboard } from "@/pages/Dashboard"
|
|
import { ComponentDetailPage } from "@/pages/ComponentDetail"
|
|
import { ConfigEditorPage } from "@/pages/ConfigEditor"
|
|
|
|
export const router = createBrowserRouter([
|
|
{
|
|
path: "/",
|
|
element: <Dashboard />,
|
|
},
|
|
{
|
|
path: "/config",
|
|
element: <ConfigEditorPage />,
|
|
},
|
|
{
|
|
path: "/:name",
|
|
element: <ComponentDetailPage />,
|
|
},
|
|
])
|