Explicitly use coracle workaround for nostr editor

This commit is contained in:
Jon Staab
2025-06-09 14:40:30 -07:00
parent 58373f2c45
commit 64c9cff43f
18 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -4,5 +4,5 @@
--ignore-dir=dist --ignore-dir=dist
--ignore-dir=build --ignore-dir=build
--ignore-dir=.svelte-kit --ignore-dir=.svelte-kit
--ignore-file=match:yarn.lock --ignore-file=match:pnpm-lock.yaml
--ignore-file=match:tsbuildinfo --ignore-file=match:tsbuildinfo
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "@welshman", "name": "@welshman",
"private": true, "private": true,
"version": "0.3.2", "version": "0.3.3",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
], ],
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/app", "name": "@welshman/app",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of svelte stores for use in building nostr client applications.", "description": "A collection of svelte stores for use in building nostr client applications.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/content", "name": "@welshman/content",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of utilities for parsing nostr note content.", "description": "A collection of utilities for parsing nostr note content.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/dvm", "name": "@welshman/dvm",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of utilities for building nostr DVMs.", "description": "A collection of utilities for building nostr DVMs.",
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/editor", "name": "@welshman/editor",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A batteries-included nostr editor.", "description": "A batteries-included nostr editor.",
@@ -41,7 +41,7 @@
"@tiptap/suggestion": "^2.11.5", "@tiptap/suggestion": "^2.11.5",
"@welshman/lib": "workspace:*", "@welshman/lib": "workspace:*",
"@welshman/util": "workspace:*", "@welshman/util": "workspace:*",
"nostr-editor": "npm:nostr-editor-coracle-workaround@0.0.4-pre.17", "nostr-editor-coracle-workaround": "0.0.4-pre.17",
"nostr-tools": "^2.14.2", "nostr-tools": "^2.14.2",
"tippy.js": "^6.3.7" "tippy.js": "^6.3.7"
}, },
+2 -2
View File
@@ -19,7 +19,7 @@ import type {
ImageOptions, ImageOptions,
LinkOptions, LinkOptions,
NSecRejectOptions, NSecRejectOptions,
} from "nostr-editor" } from "nostr-editor-coracle-workaround"
import { import {
NostrExtension, NostrExtension,
Bolt11Extension, Bolt11Extension,
@@ -32,7 +32,7 @@ import {
TagExtension, TagExtension,
VideoExtension, VideoExtension,
NSecRejectExtension, NSecRejectExtension,
} from "nostr-editor" } from "nostr-editor-coracle-workaround"
import {WordCount} from "./WordCount.js" import {WordCount} from "./WordCount.js"
import {CodeInline, type CodeInlineOptions} from "./CodeInline.js" import {CodeInline, type CodeInlineOptions} from "./CodeInline.js"
import {BreakOrSubmit, type BreakOrSubmitOptions} from "./BreakOrSubmit.js" import {BreakOrSubmit, type BreakOrSubmitOptions} from "./BreakOrSubmit.js"
+1 -1
View File
@@ -2,4 +2,4 @@ export * from "./nodeviews/index.js"
export * from "./extensions/index.js" export * from "./extensions/index.js"
export * from "./plugins/index.js" export * from "./plugins/index.js"
export {Editor, NodeViewProps} from "@tiptap/core" export {Editor, NodeViewProps} from "@tiptap/core"
export {UploadTask, FileAttributes} from "nostr-editor" export {UploadTask, FileAttributes} from "nostr-editor-coracle-workaround"
@@ -2,7 +2,7 @@ import type {Instance} from "tippy.js"
import tippy from "tippy.js" import tippy from "tippy.js"
import {nprofileEncode} from "nostr-tools/nip19" import {nprofileEncode} from "nostr-tools/nip19"
import type {Editor} from "@tiptap/core" import type {Editor} from "@tiptap/core"
import {makeNProfileAttrs} from "nostr-editor" import {makeNProfileAttrs} from "nostr-editor-coracle-workaround"
import {PluginKey} from "@tiptap/pm/state" import {PluginKey} from "@tiptap/pm/state"
import Suggestion from "@tiptap/suggestion" import Suggestion from "@tiptap/suggestion"
import {throttle, enumerate, clamp} from "@welshman/lib" import {throttle, enumerate, clamp} from "@welshman/lib"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/feeds", "name": "@welshman/feeds",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "Utilities for building dynamic nostr feeds.", "description": "Utilities for building dynamic nostr feeds.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/lib", "name": "@welshman/lib",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of utilities.", "description": "A collection of utilities.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/net", "name": "@welshman/net",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "Utilities for connecting with nostr relays.", "description": "Utilities for connecting with nostr relays.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/relay", "name": "@welshman/relay",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "An in-memory nostr relay implementation.", "description": "An in-memory nostr relay implementation.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/router", "name": "@welshman/router",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of utilities for nostr relay selection.", "description": "A collection of utilities for nostr relay selection.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/signer", "name": "@welshman/signer",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A nostr signer implemenation supporting several login methods.", "description": "A nostr signer implemenation supporting several login methods.",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/store", "name": "@welshman/store",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of utilities based on svelte/store for use with welshman", "description": "A collection of utilities based on svelte/store for use with welshman",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/util", "name": "@welshman/util",
"version": "0.3.2", "version": "0.3.3",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of nostr-related utilities.", "description": "A collection of nostr-related utilities.",
+3 -3
View File
@@ -203,9 +203,9 @@ importers:
'@welshman/util': '@welshman/util':
specifier: workspace:* specifier: workspace:*
version: link:../util version: link:../util
nostr-editor: nostr-editor-coracle-workaround:
specifier: npm:nostr-editor-coracle-workaround@0.0.4-pre.17 specifier: 0.0.4-pre.17
version: nostr-editor-coracle-workaround@0.0.4-pre.17(@tiptap/core@2.11.7(@tiptap/pm@2.11.7))(@tiptap/extension-image@2.11.7(@tiptap/core@2.11.7(@tiptap/pm@2.11.7)))(@tiptap/extension-link@2.11.7(@tiptap/core@2.11.7(@tiptap/pm@2.11.7))(@tiptap/pm@2.11.7))(@tiptap/pm@2.11.7)(linkifyjs@4.2.0)(nostr-tools@2.14.2(typescript@5.8.2))(prosemirror-markdown@1.13.2)(prosemirror-model@1.25.0)(prosemirror-state@1.4.3)(tiptap-markdown@0.8.10(@tiptap/core@2.11.7(@tiptap/pm@2.11.7))) version: 0.0.4-pre.17(@tiptap/core@2.11.7(@tiptap/pm@2.11.7))(@tiptap/extension-image@2.11.7(@tiptap/core@2.11.7(@tiptap/pm@2.11.7)))(@tiptap/extension-link@2.11.7(@tiptap/core@2.11.7(@tiptap/pm@2.11.7))(@tiptap/pm@2.11.7))(@tiptap/pm@2.11.7)(linkifyjs@4.2.0)(nostr-tools@2.14.2(typescript@5.8.2))(prosemirror-markdown@1.13.2)(prosemirror-model@1.25.0)(prosemirror-state@1.4.3)(tiptap-markdown@0.8.10(@tiptap/core@2.11.7(@tiptap/pm@2.11.7)))
nostr-tools: nostr-tools:
specifier: ^2.14.2 specifier: ^2.14.2
version: 2.14.2(typescript@5.8.2) version: 2.14.2(typescript@5.8.2)