Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: steven-tey/novel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.1
Choose a base ref
...
head repository: steven-tey/novel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8d168f58ca8e6cc9a859f232a570a2ded6532367
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Feb 13, 2024

  1. fix: update types

    andrewdoro committed Feb 13, 2024
    Copy the full SHA
    8d168f5 View commit details
Showing with 239 additions and 247 deletions.
  1. +3 −3 apps/web/package.json
  2. +2 −3 packages/headless/package.json
  3. +1 −2 packages/headless/src/components/editor-command-item.tsx
  4. +233 −239 pnpm-lock.yaml
6 changes: 3 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
@@ -17,9 +17,6 @@
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slot": "^1.0.2",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "18.15.3",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@upstash/ratelimit": "^0.4.3",
"@vercel/analytics": "^1.0.1",
"@vercel/blob": "^0.9.2",
@@ -48,6 +45,9 @@
"use-debounce": "^9.0.3"
},
"devDependencies": {
"@types/react": "^18.2.55",
"@types/react-dom": "18.2.19",
"@types/node": "18.15.3",
"tailwindcss": "^3.4.1",
"prettier-plugin-tailwindcss": "^0.3.0",
"tsconfig": "workspace:*"
5 changes: 2 additions & 3 deletions packages/headless/package.json
Original file line number Diff line number Diff line change
@@ -51,8 +51,6 @@
"@tiptap/starter-kit": "^2.1.7",
"@tiptap/suggestion": "^2.1.7",
"@types/node": "18.15.3",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@upstash/ratelimit": "^0.4.4",
"clsx": "^1.2.1",
"cmdk": "^0.2.1",
@@ -71,7 +69,8 @@
"tunnel-rat": "^0.1.2"
},
"devDependencies": {
"@types/react": "^18.2.5",
"@types/react": "^18.2.55",
"@types/react-dom": "18.2.19",
"eslint": "^7.32.0",
"postcss": "^8.4.29",
"tsconfig": "workspace:*",
3 changes: 1 addition & 2 deletions packages/headless/src/components/editor-command-item.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { type ComponentPropsWithoutRef, type ReactNode, forwardRef } from "react";
import { type ComponentPropsWithoutRef, forwardRef } from "react";
import { CommandEmpty, CommandItem } from "cmdk";
import { Editor, type Range } from "@tiptap/core";
import { useCurrentEditor } from "@tiptap/react";
import { useAtomValue } from "jotai";
import { rangeAtom } from "./editor-command";

interface EditorCommandItemProps {
children: ReactNode;
onCommand: ({ editor, range }: { editor: Editor; range: Range }) => void;
}

472 changes: 233 additions & 239 deletions pnpm-lock.yaml

Large diffs are not rendered by default.