@x4lt7ab/tab-for-projects 0.1.0
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/README.md +266 -0
- package/package.json +39 -0
- package/src/domain/args.ts +41 -0
- package/src/domain/bootstrap.ts +26 -0
- package/src/domain/db/connection.ts +21 -0
- package/src/domain/db/schema.ts +35 -0
- package/src/domain/entities.ts +21 -0
- package/src/domain/errors.ts +9 -0
- package/src/domain/index.ts +12 -0
- package/src/domain/inputs.ts +13 -0
- package/src/domain/repositories/projects.ts +75 -0
- package/src/domain/repositories/tasks.ts +62 -0
- package/src/domain/services/projects.ts +68 -0
- package/src/domain/services/tasks.ts +62 -0
- package/src/domain/services.ts +22 -0
- package/src/domain/statuses.ts +5 -0
- package/src/index.ts +4 -0
- package/src/mcp/index.ts +3 -0
- package/src/mcp/server.ts +140 -0
- package/src/mcp/standalone.ts +48 -0
- package/src/server/index.ts +102 -0
- package/src/server/routes/projects.ts +58 -0
- package/src/server/routes/tasks.ts +58 -0
- package/src/web/dist/assets/index-Bonqd4_2.js +49 -0
- package/src/web/dist/index.html +28 -0
- package/src/web/index.html +28 -0
- package/src/web/src/App.tsx +829 -0
- package/src/web/src/api.ts +1 -0
- package/src/web/src/components/Badge.tsx +54 -0
- package/src/web/src/components/Button.tsx +58 -0
- package/src/web/src/components/Card.tsx +40 -0
- package/src/web/src/components/Icon.tsx +22 -0
- package/src/web/src/components/IconButton.tsx +50 -0
- package/src/web/src/components/Input.tsx +47 -0
- package/src/web/src/components/Select.tsx +41 -0
- package/src/web/src/components/Stack.tsx +38 -0
- package/src/web/src/components/ThemeContext.tsx +53 -0
- package/src/web/src/components/ThemeSwitcher.tsx +49 -0
- package/src/web/src/components/TopBar.tsx +38 -0
- package/src/web/src/components/index.ts +12 -0
- package/src/web/src/components/theme.ts +185 -0
- package/src/web/src/main.tsx +12 -0
- package/src/web/tsconfig.json +17 -0
- package/src/web/vite.config.ts +16 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StrictMode } from "react";
|
|
2
|
+
import { createRoot } from "react-dom/client";
|
|
3
|
+
import { App } from "./App";
|
|
4
|
+
import { ThemeProvider } from "./components";
|
|
5
|
+
|
|
6
|
+
createRoot(document.getElementById("root")!).render(
|
|
7
|
+
<StrictMode>
|
|
8
|
+
<ThemeProvider>
|
|
9
|
+
<App />
|
|
10
|
+
</ThemeProvider>
|
|
11
|
+
</StrictMode>,
|
|
12
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2020",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
+
"moduleResolution": "bundler",
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"resolveJsonModule": true,
|
|
13
|
+
"isolatedModules": true,
|
|
14
|
+
"noEmit": true
|
|
15
|
+
},
|
|
16
|
+
"include": ["src"]
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
import react from "@vitejs/plugin-react";
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
plugins: [react()],
|
|
6
|
+
build: {
|
|
7
|
+
outDir: "dist",
|
|
8
|
+
},
|
|
9
|
+
server: {
|
|
10
|
+
port: 3002,
|
|
11
|
+
proxy: {
|
|
12
|
+
"/api": "http://localhost:3000",
|
|
13
|
+
"/mcp": "http://localhost:3000",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|