@ilamanownuk/blog-kit 0.0.0-stage → 0.2.0

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.
package/package.json CHANGED
@@ -1,6 +1,112 @@
1
1
  {
2
2
  "name": "@ilamanownuk/blog-kit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Reusable Tiptap blog editor for Next.js: Aparat/YouTube embeds, image upload, media library picker, server-side sanitizer and renderer.",
5
+ "license": "MIT",
6
+ "packageManager": "pnpm@12.18.0",
7
+ "type": "module",
8
+ "author": "ilamanownuk",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/ilamanownuk/blog-kit.git"
12
+ },
13
+ "homepage": "https://github.com/ilamanownuk/blog-kit#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/ilamanownuk/blog-kit/issues"
16
+ },
17
+ "keywords": [
18
+ "tiptap",
19
+ "rich-text-editor",
20
+ "blog",
21
+ "nextjs",
22
+ "rtl",
23
+ "persian",
24
+ "aparat",
25
+ "sanitize-html"
26
+ ],
27
+ "sideEffects": [
28
+ "*.css"
29
+ ],
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "AI_INSTALL_PROMPT.md",
34
+ "CHANGELOG.md",
35
+ "LICENSE"
36
+ ],
37
+ "main": "./dist/index.cjs",
38
+ "module": "./dist/index.js",
39
+ "types": "./dist/index.d.ts",
40
+ "exports": {
41
+ ".": {
42
+ "import": {
43
+ "types": "./dist/index.d.ts",
44
+ "default": "./dist/index.js"
45
+ },
46
+ "require": {
47
+ "types": "./dist/index.d.cts",
48
+ "default": "./dist/index.cjs"
49
+ }
50
+ },
51
+ "./renderer": {
52
+ "import": {
53
+ "types": "./dist/renderer.d.ts",
54
+ "default": "./dist/renderer.js"
55
+ },
56
+ "require": {
57
+ "types": "./dist/renderer.d.cts",
58
+ "default": "./dist/renderer.cjs"
59
+ }
60
+ },
61
+ "./server": {
62
+ "import": {
63
+ "types": "./dist/server.d.ts",
64
+ "default": "./dist/server.js"
65
+ },
66
+ "require": {
67
+ "types": "./dist/server.d.cts",
68
+ "default": "./dist/server.cjs"
69
+ }
70
+ },
71
+ "./styles.css": "./dist/styles.css",
72
+ "./styles.layered.css": "./dist/styles.layered.css",
73
+ "./package.json": "./package.json"
74
+ },
75
+ "publishConfig": {
76
+ "access": "public"
77
+ },
78
+ "scripts": {
79
+ "build": "tsup",
80
+ "typecheck": "tsc --noEmit",
81
+ "test": "vitest run",
82
+ "prepublishOnly": "pnpm typecheck && pnpm test && pnpm build"
83
+ },
84
+ "peerDependencies": {
85
+ "react": ">=19",
86
+ "react-dom": ">=19"
87
+ },
88
+ "dependencies": {
89
+ "@tiptap/extension-highlight": "3.32.0",
90
+ "@tiptap/extension-image": "3.32.0",
91
+ "@tiptap/extension-placeholder": "3.32.0",
92
+ "@tiptap/extension-table": "3.32.0",
93
+ "@tiptap/extension-text-align": "3.32.0",
94
+ "@tiptap/extension-text-style": "3.32.0",
95
+ "@tiptap/pm": "3.32.0",
96
+ "@tiptap/react": "3.32.0",
97
+ "@tiptap/starter-kit": "3.32.0",
98
+ "lucide-react": "1.28.0",
99
+ "sanitize-html": "2.17.0"
100
+ },
101
+ "devDependencies": {
102
+ "@types/node": "^24.19.2",
103
+ "@types/react": "19.2.18",
104
+ "@types/react-dom": "19.2.4",
105
+ "@types/sanitize-html": "2.16.2",
106
+ "react": "19.2.8",
107
+ "react-dom": "19.2.8",
108
+ "tsup": "^8.5.0",
109
+ "typescript": "5.9.3",
110
+ "vitest": "^3.2.4"
111
+ }
112
+ }