@cyberskill/cyber-editor 3.7.2 → 3.8.1

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,68 +1,70 @@
1
1
  {
2
2
  "name": "@cyberskill/cyber-editor",
3
- "version": "3.7.2",
4
- "description": "Update version tailwind v4",
5
- "main": "dist/cyber-editor.cjs.js",
6
- "module": "dist/cyber-editor.es.js",
7
- "types": "dist/index.d.ts",
8
3
  "type": "module",
4
+ "version": "3.8.1",
5
+ "description": "Update version tailwind v4",
9
6
  "exports": {
10
7
  ".": {
8
+ "types": "./dist/index.d.ts",
11
9
  "import": "./dist/cyber-editor.es.js",
12
- "require": "./dist/cyber-editor.cjs.js",
13
- "types": "./dist/index.d.ts"
14
- }
10
+ "require": "./dist/cyber-editor.cjs.js"
11
+ },
12
+ "./index.css": "./dist/cyber-editor.css"
15
13
  },
14
+ "main": "dist/cyber-editor.cjs.js",
15
+ "module": "dist/cyber-editor.es.js",
16
+ "types": "dist/index.d.ts",
16
17
  "files": [
17
18
  "dist"
18
19
  ],
19
20
  "scripts": {
20
- "build": "set NODE_ENV=production&& vite build --mode production && tsc --project tsconfig.app.json --emitDeclarationOnly",
21
+ "build": "vite build",
21
22
  "dev": "vite",
22
- "lint": "npx eslint . --ext .ts,.tsx --fix",
23
- "prepare": "husky install"
24
- },
25
- "peerDependencies": {
26
- "antd": "^5.23.0",
27
- "react": "19.0.0",
28
- "react-dom": "19.0.0"
23
+ "lint": "pnpm exec cyberskill lint",
24
+ "lint:fix": "pnpm exec cyberskill lint:fix",
25
+ "lint:inspect": "pnpm exec cyberskill lint:inspect",
26
+ "reset": "pnpm exec cyberskill reset",
27
+ "setup": "pnpm exec cyberskill setup",
28
+ "inspect": "pnpm exec cyberskill inspect"
29
29
  },
30
30
  "dependencies": {
31
- "@tiptap/core": "^2.11.3",
32
- "@tiptap/extension-color": "^2.9.1",
33
- "@tiptap/extension-highlight": "^2.11.3",
34
- "@tiptap/extension-image": "^2.11.5",
35
- "@tiptap/extension-list-item": "^2.9.1",
36
- "@tiptap/extension-subscript": "^2.11.5",
37
- "@tiptap/extension-superscript": "^2.11.5",
38
- "@tiptap/extension-table": "^2.11.5",
39
- "@tiptap/extension-table-cell": "^2.11.5",
40
- "@tiptap/extension-table-header": "^2.11.5",
41
- "@tiptap/extension-table-row": "^2.11.5",
42
- "@tiptap/extension-task-item": "^2.11.5",
43
- "@tiptap/extension-task-list": "^2.11.5",
44
- "@tiptap/extension-text-align": "^2.11.5",
45
- "@tiptap/extension-text-style": "^2.9.1",
46
- "@tiptap/extension-underline": "^2.11.5",
47
- "@tiptap/react": "^2.11.5",
48
- "@tiptap/starter-kit": "^2.11.3",
49
- "clsx": "^2.1.1",
50
- "lucide-react": "^0.474.0",
51
- "react-icons": "^5.4.0",
52
- "react-resizable": "^3.0.5"
31
+ "@cyberskill/shared": "1.47.0",
32
+ "@tailwindcss/vite": "4.0.17",
33
+ "@tiptap/core": "2.11.5",
34
+ "@tiptap/extension-color": "2.11.5",
35
+ "@tiptap/extension-heading": "2.11.5",
36
+ "@tiptap/extension-highlight": "2.11.5",
37
+ "@tiptap/extension-image": "2.11.5",
38
+ "@tiptap/extension-list-item": "2.11.5",
39
+ "@tiptap/extension-subscript": "2.11.5",
40
+ "@tiptap/extension-superscript": "2.11.5",
41
+ "@tiptap/extension-table": "2.11.5",
42
+ "@tiptap/extension-table-cell": "2.11.5",
43
+ "@tiptap/extension-table-header": "2.11.5",
44
+ "@tiptap/extension-table-row": "2.11.5",
45
+ "@tiptap/extension-task-item": "2.11.5",
46
+ "@tiptap/extension-task-list": "2.11.5",
47
+ "@tiptap/extension-text-align": "2.11.5",
48
+ "@tiptap/extension-text-style": "2.11.5",
49
+ "@tiptap/extension-underline": "2.11.5",
50
+ "@tiptap/react": "2.11.5",
51
+ "@tiptap/starter-kit": "2.11.5",
52
+ "@vitejs/plugin-react-swc": "3.8.1",
53
+ "antd": "5.24.5",
54
+ "classnames": "2.5.1",
55
+ "lucide-react": "0.484.0",
56
+ "react": "19.0.0",
57
+ "react-dom": "19.0.0",
58
+ "react-icons": "5.5.0",
59
+ "react-resizable": "3.0.5",
60
+ "tailwindcss": "4.0.17",
61
+ "vite": "6.2.3"
53
62
  },
54
63
  "devDependencies": {
55
- "@tailwindcss/vite": "4.0.14",
56
- "@types/node": "22.13.10",
57
- "@types/react": "19.0.11",
64
+ "@types/node": "22.13.14",
65
+ "@types/react": "19.0.12",
58
66
  "@types/react-dom": "19.0.4",
59
- "@types/react-resizable": "^3.0.8",
60
- "@vitejs/plugin-react-swc": "^3.7.1",
61
- "husky": "^9.1.7",
62
- "tailwindcss": "4.0.14",
63
- "typescript": "^5.0.0",
64
- "vite": "^5.0.0",
65
- "vite-plugin-css-injected-by-js": "^3.5.2",
66
- "vite-plugin-dts": "^4.5.0"
67
+ "@types/react-resizable": "3.0.8",
68
+ "typescript": "5.8.2"
67
69
  }
68
70
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { Color } from 'antd/es/color-picker';
2
- interface I_ColorPicker {
3
- value: string;
4
- onChange: (value: Color) => void;
5
- }
6
- export declare const ColorPicker: ({ value, onChange }: I_ColorPicker) => import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1 +0,0 @@
1
- export * from './modal-edit';
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- export declare const ModalEdit: ({ title, childrenContent, editable, childrenEdit, }: {
3
- title: string;
4
- childrenContent: React.ReactNode;
5
- editable: boolean;
6
- childrenEdit?: React.ReactNode;
7
- }) => import("react/jsx-runtime").JSX.Element;