@npm-questionpro/wick-ui-editor 0.14.2 → 2.0.0-next.10

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,6 @@
1
1
  {
2
2
  "name": "@npm-questionpro/wick-ui-editor",
3
- "version": "0.14.2",
3
+ "version": "2.0.0-next.10",
4
4
  "description": "Wick Editor is a powerful and intuitive content editing component built with React. It provides a rich set of features for creating and managing content, making it ideal for applications that require dynamic and interactive content creation.",
5
5
  "keywords": [
6
6
  "react",
@@ -21,7 +21,6 @@
21
21
  "url": "https://github.com/QuestionPro/wick-ui/issues"
22
22
  },
23
23
  "type": "module",
24
- "main": "./dist/wick-ui-editor/umd/index.js",
25
24
  "module": "./dist/wick-ui-editor/es/index.js",
26
25
  "types": "./dist/index.d.ts",
27
26
  "exports": {
@@ -39,8 +38,8 @@
39
38
  ],
40
39
  "private": false,
41
40
  "peerDependencies": {
42
- "@npm-questionpro/wick-ui-icon": ">= 8.0.2",
43
- "@npm-questionpro/wick-ui-lib": ">= 1.24.0",
41
+ "@npm-questionpro/wick-ui-icon": ">= 2.0.0",
42
+ "@npm-questionpro/wick-ui-lib": ">= 2.0.0",
44
43
  "@radix-ui/react-dropdown-menu": "^2.1.16",
45
44
  "@tiptap/extension-image": "^3.14.0",
46
45
  "@tiptap/extension-list": "^3.14.0",
@@ -54,23 +53,16 @@
54
53
  "@tiptap/starter-kit": "^3.14.0",
55
54
  "clsx": "^2.1.1",
56
55
  "dompurify": "^3.3.1",
57
- "shiki": "^4.0.2",
58
- "react": ">= 18 < 20",
59
- "react-dom": ">= 18 < 20"
56
+ "react": "^19.0.0",
57
+ "react-dom": "^19.0.0",
58
+ "shiki": "^4.0.2"
60
59
  },
61
60
  "devDependencies": {
62
- "@eslint/js": "^9.39.1",
63
- "@npm-questionpro/wick-ui-icon": "latest",
64
- "@npm-questionpro/wick-ui-lib": "latest",
65
61
  "@radix-ui/react-dropdown-menu": "^2.1.16",
66
- "@storybook/addon-a11y": "10.1.5",
67
- "@storybook/addon-designs": "^11.1.0",
68
- "@storybook/addon-docs": "10.1.5",
69
- "@storybook/addon-links": "10.1.5",
70
- "@storybook/react-vite": "10.1.5",
62
+ "@storybook/react-vite": "^10.4.0",
71
63
  "@testing-library/dom": "^10.4.1",
72
64
  "@testing-library/jest-dom": "^6.9.1",
73
- "@testing-library/react": "^16.3.0",
65
+ "@testing-library/react": "^16.3.2",
74
66
  "@testing-library/user-event": "^14.6.1",
75
67
  "@tiptap/extension-image": "^3.14.0",
76
68
  "@tiptap/extension-list": "^3.14.0",
@@ -83,48 +75,46 @@
83
75
  "@tiptap/react": "^3.14.0",
84
76
  "@tiptap/starter-kit": "^3.14.0",
85
77
  "@types/node": "^22.19.1",
86
- "@types/react": "^19.2.14",
87
- "@types/react-dom": "^19.2.3",
88
- "@typescript-eslint/eslint-plugin": "^8.48.1",
89
- "@typescript-eslint/parser": "^8.48.1",
90
- "@vitejs/plugin-react": "^4.7.0",
91
- "@vitest/coverage-v8": "^3.2.4",
92
- "@vitest/ui": "^3.2.4",
78
+ "@types/react": "^19.0.0",
79
+ "@types/react-dom": "^19.0.0",
80
+ "@vitejs/plugin-react": "^6.0.2",
81
+ "@vitest/coverage-v8": "^4.1.8",
82
+ "@vitest/ui": "^4.1.8",
93
83
  "autoprefixer": "^10.4.22",
94
84
  "clsx": "^2.1.1",
95
85
  "cssnano": "^7.1.2",
96
- "eslint": "^9.39.1",
97
- "eslint-plugin-import": "^2.32.0",
98
- "eslint-plugin-react": "^7.37.5",
99
- "eslint-plugin-react-hooks": "^5.2.0",
100
- "eslint-plugin-react-refresh": "^0.4.24",
101
- "eslint-plugin-storybook": "10.1.5",
102
- "eslint-plugin-unicorn": "^56.0.1",
103
- "globals": "^15.15.0",
86
+ "eslint": "^10.4.1",
104
87
  "jsdom": "^26.1.0",
105
88
  "postcss": "^8.5.6",
106
- "prettier": "^3.7.4",
107
- "react": "^18.3.1",
108
- "react-dom": "^18.3.1",
109
- "storybook": "10.1.5",
110
- "typescript": "^5.7.3",
111
- "typescript-eslint": "^8.48.1",
112
- "vite": "^6.4.1",
89
+ "prettier": "^3.8.3",
90
+ "react": "^19.0.0",
91
+ "react-dom": "^19.0.0",
92
+ "stylelint": "^16.3.1",
93
+ "typescript": "^6.0.3",
94
+ "typescript-eslint": "^8.60.0",
95
+ "vite": "^8.0.15",
113
96
  "vite-bundle-analyzer": "^0.22.3",
114
97
  "vite-plugin-dts": "^4.5.4",
115
- "vite-tsconfig-paths": "^5.1.4",
116
- "vitest": "^3.2.4"
98
+ "vitest": "^4.1.8",
99
+ "@npm-questionpro/wick-ui-icon": "2.0.0-next.10",
100
+ "@npm-questionpro/wick-ui-prettier-config": "1.0.0",
101
+ "@npm-questionpro/wick-ui-eslint-config": "1.0.0",
102
+ "@npm-questionpro/wick-ui-stylelint-config": "1.0.0",
103
+ "@npm-questionpro/wick-ui-lib": "2.0.0-next.10",
104
+ "@wick-ui/tsconfig": "1.0.0"
117
105
  },
106
+ "prettier": "@npm-questionpro/wick-ui-prettier-config",
118
107
  "scripts": {
119
- "build": "tsc -b && vite build",
120
- "lint": "eslint ./src --fix",
121
- "lint:ci": "tsc --noEmit && eslint --max-warnings 0 ./src",
122
- "format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
108
+ "build": "tsc --noEmit && vite build",
109
+ "lint": "eslint ./src --fix && stylelint 'src/**/*.css' --fix",
110
+ "lint:css": "stylelint 'src/**/*.css' --fix",
111
+ "lint:ci": "tsc --noEmit && eslint --max-warnings 0 ./src && stylelint 'src/**/*.css'",
112
+ "format": "prettier --write .",
123
113
  "format:ci": "prettier --check .",
124
114
  "test": "vitest run",
125
- "test:ui": "TZ=UTC vitest --ui",
126
- "test:ci": "TZ=UTC vitest --coverage",
127
- "dev": "storybook dev -p 6007",
128
- "build-storybook": "storybook build"
115
+ "test:watch": "vitest",
116
+ "test:ui": "vitest --ui",
117
+ "test:ci": "vitest run --coverage",
118
+ "postbuild": "node ../../scripts/generate-llms-txt.mjs --package packages/wick-ui-editor"
129
119
  }
130
120
  }