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
8 changes: 4 additions & 4 deletions apps/obsidian/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"@repo/typescript-config": "workspace:*",
"@types/mime-types": "3.0.1",
"@types/node": "catalog:",
"@types/react": "catalog:obsidian",
"@types/react-dom": "catalog:obsidian",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"autoprefixer": "^10.4.21",
"builtin-modules": "3.3.0",
"dotenv": "^16.4.5",
Expand All @@ -46,8 +46,8 @@
"gray-matter": "^4.0.3",
"mime-types": "^3.0.1",
"nanoid": "^4.0.2",
"react": "catalog:obsidian",
"react-dom": "catalog:obsidian",
"react": "catalog:",
"react-dom": "catalog:",
"tailwindcss-animate": "^1.0.7",
"tldraw": "3.14.2"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/obsidian/src/components/canvas/TldrawViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ export const TldrawPreviewComponent = ({
const [isReady, setIsReady] = useState(false);
const [isEditorMounted, setIsEditorMounted] = useState(false);
const isCreatingRelationRef = useRef(false);
const saveTimeoutRef = useRef<NodeJS.Timeout>(null);
const saveTimeoutRef = useRef<NodeJS.Timeout | null>(null);
const isSavingRef = useRef<boolean>(false);
const lastShiftClickRef = useRef<number>(0);
const SHIFT_CLICK_DEBOUNCE_MS = 300; // Prevent double clicks within 300ms
const lastSavedDataRef = useRef<string>("");
const editorRef = useRef<Editor>(null);
const editorRef = useRef<Editor | null>(null);
const plugin = usePlugin();

const customShapeUtils = [
Expand Down
8 changes: 4 additions & 4 deletions apps/roam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@types/file-saver": "2.0.5",
"@types/nanoid": "2.0.0",
"@types/node": "catalog:",
"@types/react": "catalog:roam",
"@types/react-dom": "catalog:roam",
"@types/react": "catalog",
"@types/react-dom": "catalog",
"@types/react-vertical-timeline-component": "^3.3.3",
"axios": "^0.27.2",
"dotenv": "^16.0.3",
Expand Down Expand Up @@ -89,7 +89,7 @@
"zod": "^3.23.8"
},
"peerDependencies": {
"react": "catalog:roam",
"react-dom": "catalog:roam"
"react": "catalog",
"react-dom": "catalog"
}
}
6 changes: 6 additions & 0 deletions apps/tldraw-sync-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,11 @@
"@types/lodash.throttle": "^4",
"typescript": "^5.0.2",
"wrangler": "^3.64.0"
},
"peerDependencies": {
"react": "catalog:",
"react-dom": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:"
}
}
8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@turbo/gen": "^2.5.4",
"@types/eslint": "catalog:",
"@types/node": "catalog:",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"eslint": "catalog:",
"typescript": "5.5.4"
},
Expand All @@ -41,8 +41,8 @@
"clsx": "^2.1.1",
"lucide-react": "^0.468.0",
"next-themes": "^0.4.6",
"react": "^19",
"react-dom": "^19",
"react": "catalog:",
"react-dom": "catalog:",
"shadcn": "2.10.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.3.1",
Expand Down
13 changes: 13 additions & 0 deletions patches/nextra-theme-docs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/layout.js b/dist/layout.js
index 57a511faacf75820f822be305d66c61494ca998a..8e6cdc7a2773430e2de43b74c86022426842506a 100644
--- a/dist/layout.js
+++ b/dist/layout.js
@@ -27,7 +27,7 @@ const Layout = (t0) => {
const {
data: t12,
error
- } = LayoutPropsSchema.safeParse(themeConfig);
+ } = LayoutPropsSchema.safeParse({children, ...themeConfig});
data = t12;
if (error) {
throw z.prettifyError(error);
Loading