@welshman/editor 0.0.2 → 0.0.4

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.
@@ -15,7 +15,6 @@ import { CodeInline } from "./CodeInline.js";
15
15
  import { BreakOrSubmit } from "./BreakOrSubmit.js";
16
16
  import { EditBolt11, EditMedia, EditEvent, EditMention } from "../components/index.js";
17
17
  export const WelshmanExtension = NostrExtension.extend({
18
- name: "welshman",
19
18
  // Return an empty object or else options can't be passed
20
19
  addOptions() {
21
20
  return {};
package/package.json CHANGED
@@ -1,80 +1,80 @@
1
1
  {
2
- "name": "@welshman/editor",
3
- "version": "0.0.2",
4
- "scripts": {
5
- "pub": "npm run check && npm run build && npm publish",
6
- "fix": "",
7
- "dev": "vite dev",
8
- "build": "vite build && npm run package",
9
- "package": "svelte-kit sync && svelte-package && publint",
10
- "prepublishOnly": "npm run package",
11
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
13
- },
14
- "files": [
15
- "dist",
16
- "!dist/**/*.test.*",
17
- "!dist/**/*.spec.*"
18
- ],
19
- "sideEffects": [
20
- "**/*.css"
21
- ],
22
- "svelte": "./dist/index.js",
23
- "types": "./dist/index.d.ts",
24
- "type": "module",
25
- "exports": {
26
- ".": {
27
- "types": "./dist/index.d.ts",
28
- "svelte": "./dist/index.js"
29
- }
30
- },
31
- "peerDependencies": {
32
- "@tiptap/core": "^2.9.1",
33
- "@tiptap/extension-code": "^2.9.1",
34
- "@tiptap/extension-code-block": "^2.9.1",
35
- "@tiptap/extension-document": "^2.9.1",
36
- "@tiptap/extension-dropcursor": "^2.9.1",
37
- "@tiptap/extension-gapcursor": "^2.9.1",
38
- "@tiptap/extension-hard-break": "^2.9.1",
39
- "@tiptap/extension-history": "^2.9.1",
40
- "@tiptap/extension-paragraph": "^2.9.1",
41
- "@tiptap/extension-placeholder": "^2.9.1",
42
- "@tiptap/extension-text": "^2.9.1",
43
- "@tiptap/pm": "^2.9.1",
44
- "@tiptap/suggestion": "^2.9.1",
45
- "@welshman/lib": "^0.0.36",
46
- "@welshman/util": "^0.0.53",
47
- "nostr-editor": "github:cesardeazevedo/nostr-editor#d8dc03c",
48
- "nostr-tools": "^2.8.1",
49
- "svelte": "^4.0.0",
50
- "svelte-tiptap": "^1.0.0"
51
- },
52
- "devDependencies": {
53
- "@sveltejs/kit": "^2.0.0",
54
- "@sveltejs/package": "^2.0.0",
55
- "@sveltejs/vite-plugin-svelte": "^3.0.0",
56
- "@tiptap/core": "^2.9.1",
57
- "@tiptap/extension-code": "^2.9.1",
58
- "@tiptap/extension-code-block": "^2.9.1",
59
- "@tiptap/extension-document": "^2.9.1",
60
- "@tiptap/extension-dropcursor": "^2.9.1",
61
- "@tiptap/extension-gapcursor": "^2.9.1",
62
- "@tiptap/extension-hard-break": "^2.9.1",
63
- "@tiptap/extension-history": "^2.9.1",
64
- "@tiptap/extension-paragraph": "^2.9.1",
65
- "@tiptap/extension-placeholder": "^2.9.1",
66
- "@tiptap/extension-text": "^2.9.1",
67
- "@tiptap/pm": "^2.9.1",
68
- "@welshman/lib": "^0.0.36",
69
- "@welshman/util": "^0.0.53",
70
- "nostr-editor": "github:cesardeazevedo/nostr-editor#d8dc03c",
71
- "nostr-tools": "^2.10.4",
72
- "publint": "^0.2.0",
73
- "svelte": "^4.0.0",
74
- "svelte-check": "^4.0.0",
75
- "svelte-tiptap": "^1.0.0",
76
- "tippy.js": "^6.0.0",
77
- "typescript": "^5.0.0",
78
- "vite": "^6.0.0"
79
- }
2
+ "name": "@welshman/editor",
3
+ "version": "0.0.4",
4
+ "scripts": {
5
+ "pub": "npm run check && npm run build && npm publish",
6
+ "fix": "",
7
+ "dev": "vite dev",
8
+ "build": "vite build && npm run package",
9
+ "package": "svelte-kit sync && svelte-package && publint",
10
+ "prepublishOnly": "npm run package",
11
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
12
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "!dist/**/*.test.*",
17
+ "!dist/**/*.spec.*"
18
+ ],
19
+ "sideEffects": [
20
+ "**/*.css"
21
+ ],
22
+ "svelte": "./dist/index.js",
23
+ "types": "./dist/index.d.ts",
24
+ "type": "module",
25
+ "exports": {
26
+ ".": {
27
+ "types": "./dist/index.d.ts",
28
+ "svelte": "./dist/index.js"
29
+ }
30
+ },
31
+ "peerDependencies": {
32
+ "@tiptap/core": "^2.9.1",
33
+ "@tiptap/extension-code": "^2.9.1",
34
+ "@tiptap/extension-code-block": "^2.9.1",
35
+ "@tiptap/extension-document": "^2.9.1",
36
+ "@tiptap/extension-dropcursor": "^2.9.1",
37
+ "@tiptap/extension-gapcursor": "^2.9.1",
38
+ "@tiptap/extension-hard-break": "^2.9.1",
39
+ "@tiptap/extension-history": "^2.9.1",
40
+ "@tiptap/extension-paragraph": "^2.9.1",
41
+ "@tiptap/extension-placeholder": "^2.9.1",
42
+ "@tiptap/extension-text": "^2.9.1",
43
+ "@tiptap/pm": "^2.9.1",
44
+ "@tiptap/suggestion": "^2.9.1",
45
+ "@welshman/lib": "~0.0.36",
46
+ "@welshman/util": "~0.0.53",
47
+ "nostr-editor": "github:cesardeazevedo/nostr-editor#a211491c",
48
+ "nostr-tools": "^2.8.1",
49
+ "svelte": "^4.0.0",
50
+ "svelte-tiptap": "^1.0.0"
51
+ },
52
+ "devDependencies": {
53
+ "@sveltejs/kit": "^2.0.0",
54
+ "@sveltejs/package": "^2.0.0",
55
+ "@sveltejs/vite-plugin-svelte": "^3.0.0",
56
+ "@tiptap/core": "^2.9.1",
57
+ "@tiptap/extension-code": "^2.9.1",
58
+ "@tiptap/extension-code-block": "^2.9.1",
59
+ "@tiptap/extension-document": "^2.9.1",
60
+ "@tiptap/extension-dropcursor": "^2.9.1",
61
+ "@tiptap/extension-gapcursor": "^2.9.1",
62
+ "@tiptap/extension-hard-break": "^2.9.1",
63
+ "@tiptap/extension-history": "^2.9.1",
64
+ "@tiptap/extension-paragraph": "^2.9.1",
65
+ "@tiptap/extension-placeholder": "^2.9.1",
66
+ "@tiptap/extension-text": "^2.9.1",
67
+ "@tiptap/pm": "^2.9.1",
68
+ "@welshman/lib": "~0.0.36",
69
+ "@welshman/util": "~0.0.53",
70
+ "nostr-editor": "github:cesardeazevedo/nostr-editor#a211491c",
71
+ "nostr-tools": "^2.10.4",
72
+ "publint": "^0.2.0",
73
+ "svelte": "^4.0.0",
74
+ "svelte-check": "^4.0.0",
75
+ "svelte-tiptap": "^1.0.0",
76
+ "tippy.js": "^6.0.0",
77
+ "typescript": "^5.0.0",
78
+ "vite": "^6.0.0"
79
+ }
80
80
  }