@tldraw/mentions 5.5.0-next.f9308d324e1c → 5.6.0-canary.5bfc37740468

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.
@@ -4,7 +4,7 @@ import { JsonObject } from 'tldraw';
4
4
  import { JSX } from 'react/jsx-runtime';
5
5
  import { MentionNodeAttrs } from '@tiptap/extension-mention';
6
6
  import { MentionOptions } from '@tiptap/extension-mention';
7
- import { Node as Node_2 } from '@tiptap/core';
7
+ import { Node as Node_2 } from 'tldraw';
8
8
  import { ReactNode } from 'react';
9
9
  import { RefAttributes } from 'react';
10
10
  import type { SuggestionOptions } from '@tiptap/suggestion';
package/dist-cjs/index.js CHANGED
@@ -35,7 +35,7 @@ var import_mention_extension = require("./mention-extension");
35
35
  var import_mention_suggestion = require("./mention-suggestion");
36
36
  (0, import_utils.registerTldrawLibraryVersion)(
37
37
  "@tldraw/mentions",
38
- "5.5.0-next.f9308d324e1c",
38
+ "5.6.0-canary.5bfc37740468",
39
39
  "cjs"
40
40
  );
41
41
  //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import { JsonObject } from 'tldraw';
4
4
  import { JSX } from 'react/jsx-runtime';
5
5
  import { MentionNodeAttrs } from '@tiptap/extension-mention';
6
6
  import { MentionOptions } from '@tiptap/extension-mention';
7
- import { Node as Node_2 } from '@tiptap/core';
7
+ import { Node as Node_2 } from 'tldraw';
8
8
  import { ReactNode } from 'react';
9
9
  import { RefAttributes } from 'react';
10
10
  import type { SuggestionOptions } from '@tiptap/suggestion';
@@ -10,7 +10,7 @@ import {
10
10
  } from "./mention-suggestion.mjs";
11
11
  registerTldrawLibraryVersion(
12
12
  "@tldraw/mentions",
13
- "5.5.0-next.f9308d324e1c",
13
+ "5.6.0-canary.5bfc37740468",
14
14
  "esm"
15
15
  );
16
16
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/mentions",
3
3
  "description": "tldraw @-mention picker and TipTap node, shared by commenting and shape rich text.",
4
- "version": "5.5.0-next.f9308d324e1c",
4
+ "version": "5.6.0-canary.5bfc37740468",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -31,23 +31,12 @@
31
31
  "dist-cjs",
32
32
  "src"
33
33
  ],
34
- "scripts": {
35
- "test-ci": "yarn run -T vitest run --passWithNoTests",
36
- "test": "yarn run -T vitest --passWithNoTests",
37
- "test-coverage": "yarn run -T vitest run --coverage --passWithNoTests",
38
- "build": "yarn run -T tsx ../../internal/scripts/build-package.ts",
39
- "build-api": "yarn run -T tsx ../../internal/scripts/build-api.ts",
40
- "prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts",
41
- "postpack": "../../internal/scripts/postpack.sh",
42
- "pack-tarball": "yarn pack",
43
- "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
44
- },
45
34
  "devDependencies": {
46
35
  "@types/react": "^19.2.7",
47
36
  "@types/react-dom": "^19.2.3",
48
37
  "react": "^19.2.1",
49
38
  "react-dom": "^19.2.1",
50
- "vitest": "^4.1.7"
39
+ "vitest": "^5.0.0"
51
40
  },
52
41
  "peerDependencies": {
53
42
  "react": "^18.2.0 || ^19.2.1",
@@ -62,8 +51,8 @@
62
51
  "@tiptap/pm": "^3.12.1",
63
52
  "@tiptap/react": "^3.12.1",
64
53
  "@tiptap/suggestion": "3.13.0",
65
- "@tldraw/utils": "5.5.0-next.f9308d324e1c",
66
- "tldraw": "5.5.0-next.f9308d324e1c"
54
+ "@tldraw/utils": "5.6.0-canary.5bfc37740468",
55
+ "tldraw": "5.6.0-canary.5bfc37740468"
67
56
  },
68
57
  "module": "dist-esm/index.mjs",
69
58
  "source": "src/index.ts",
@@ -73,5 +62,15 @@
73
62
  "require": "./dist-cjs/index.js"
74
63
  },
75
64
  "./mentions.css": "./mentions.css"
65
+ },
66
+ "scripts": {
67
+ "test-ci": "pnpm exec vitest run --passWithNoTests",
68
+ "test": "pnpm exec vitest --passWithNoTests",
69
+ "test-coverage": "pnpm exec vitest run --coverage --passWithNoTests",
70
+ "build": "pnpm exec tsx ../../internal/scripts/build-package.ts",
71
+ "build-api": "pnpm exec tsx ../../internal/scripts/build-api.ts",
72
+ "pack-tarball": "pnpm pack",
73
+ "lint": "pnpm exec tsx ../../internal/scripts/lint.ts",
74
+ "build-types": "tsc --build"
76
75
  }
77
76
  }