Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/dist/
/node_modules/
2 changes: 0 additions & 2 deletions client/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions client/index.html

This file was deleted.

46 changes: 0 additions & 46 deletions client/package.json

This file was deleted.

174 changes: 0 additions & 174 deletions client/src/main.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!doctype html>
<html>

<head>
<meta charset="utf-8" />
</head>

<body>
<script type="module" src="/src/entry-client.tsx"></script>
</body>

</html>
75 changes: 75 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"name": "mdgraph",
"version": "0.0.0",
"type": "module",
"bin": {
"mdgraph": "dist/server/entry-server.js"
},
"scripts": {
"dev": "vite",
"build": "pnpm run \"/^build:.*/\"",
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --ssr src/entry-server.tsx --outDir dist/server",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@commander-js/extra-typings": "^14.0.0",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tooltip": "^1.2.8",
"@shikijs/rehype": "^3.20.0",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.1.18",
"chokidar": "^5.0.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"hast-util-from-html-isomorphic": "^2.0.0",
"hastscript": "^9.0.1",
"lucide-react": "^0.562.0",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"rehype-autolink-headings": "^7.1.0",
"rehype-document": "^7.0.3",
"rehype-infer-title-meta": "^2.0.0",
"rehype-mathjax": "^7.1.0",
"rehype-meta": "^4.0.1",
"rehype-parse": "^9.0.1",
"rehype-preset-minify": "^7.0.1",
"rehype-react": "^8.0.0",
"rehype-slug": "^6.0.0",
"rehype-stringify": "^10.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.2",
"sirv": "^3.0.2",
"string-width": "^8.1.0",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"unified": "^11.0.5",
"unist-util-find": "^3.0.0",
"unist-util-visit-parents": "^6.0.2",
"zod": "^4.2.1"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@shikijs/types": "^3.20.0",
"@types/hast": "^3.0.4",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.2",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^9.39.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.26",
"globals": "^16.5.0",
"tw-animate-css": "^1.4.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.1",
"vite": "8.0.0-beta.4"
}
}
Loading