@asup/context-menu 1.5.2 → 2.0.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/README.md +114 -65
- package/dist/cjs/main.js +102 -76
- package/dist/cjs/main.js.map +1 -1
- package/dist/context-menu.d.ts +12 -33
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/main.js +104 -78
- package/dist/main.js.map +1 -1
- package/package.json +29 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asup/context-menu",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "REACT Typescript Context menu component",
|
|
5
5
|
"author": "Paul Thomas <@PaulDThomas>",
|
|
6
6
|
"private": false,
|
|
@@ -38,65 +38,72 @@
|
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"prepare": "husky",
|
|
41
|
-
"start": "rmdir /q/s .\\.parcel-cache && parcel demo/index.html --dist-dir demo/dist",
|
|
42
41
|
"test": "jest --collectCoverage=true",
|
|
43
42
|
"test-watch": "jest --watch --collectCoverage=true --maxWorkers=4",
|
|
44
|
-
"eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"
|
|
45
|
-
"build": "rmdir /q/s .\\.parcel-cache && parcel build src/main.ts"
|
|
43
|
+
"eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
|
|
44
|
+
"build": "rmdir /q/s .\\.parcel-cache && parcel build src/main.ts",
|
|
45
|
+
"storybook": "storybook dev -p 6006",
|
|
46
|
+
"build-storybook": "storybook build"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"@swc/helpers": "^0.5.17",
|
|
49
|
-
"react": "^
|
|
50
|
-
"react-dom": "^
|
|
50
|
+
"react": "^19.0.0",
|
|
51
|
+
"react-dom": "^19.0.0"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
|
-
"react": "^
|
|
54
|
-
"react-dom": "^
|
|
54
|
+
"react": "^19.0.0",
|
|
55
|
+
"react-dom": "^19.0.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@eslint/compat": "^
|
|
58
|
-
"@eslint/eslintrc": "^3.3.
|
|
58
|
+
"@eslint/compat": "^2.0.0",
|
|
59
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
59
60
|
"@eslint/js": "^9.28.0",
|
|
60
61
|
"@parcel/packager-raw-url": "^2.7.0",
|
|
61
62
|
"@parcel/packager-ts": "^2.8.3",
|
|
62
63
|
"@parcel/transformer-typescript-types": "^2.8.0",
|
|
63
64
|
"@parcel/transformer-webmanifest": "^2.7.0",
|
|
64
|
-
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
65
|
-
"@semantic-release/github": "^12.0.2",
|
|
66
|
-
"@semantic-release/npm": "^13.1.2",
|
|
67
|
-
"@semantic-release/release-notes-generator": "^14.0.0",
|
|
68
65
|
"@testing-library/jest-dom": "^6.4.2",
|
|
69
66
|
"@testing-library/react": "^16.0.0",
|
|
70
67
|
"@testing-library/user-event": "^14.4.3",
|
|
71
68
|
"@types/jest": "^30.0.0",
|
|
72
|
-
"@types/node": "^
|
|
73
|
-
"@types/react": "^
|
|
74
|
-
"@types/react-dom": "^
|
|
69
|
+
"@types/node": "^24.10.1",
|
|
70
|
+
"@types/react": "^19.0.0",
|
|
71
|
+
"@types/react-dom": "^19.0.0",
|
|
75
72
|
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
76
73
|
"@typescript-eslint/parser": "^8.34.0",
|
|
77
74
|
"eslint": "^9.28.0",
|
|
78
75
|
"eslint-config-prettier": "^10.1.5",
|
|
79
|
-
"eslint-plugin-jest": "^
|
|
76
|
+
"eslint-plugin-jest": "^29.1.0",
|
|
80
77
|
"eslint-plugin-prettier": "^5.1.3",
|
|
81
78
|
"eslint-plugin-react": "^7.31.10",
|
|
82
|
-
"eslint-plugin-react-hooks": "^
|
|
79
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
83
80
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
84
81
|
"husky": "^9.0.11",
|
|
85
82
|
"jest": "^30.2.0",
|
|
86
83
|
"jest-environment-jsdom": "^30.2.0",
|
|
87
84
|
"jest-watch-typeahead": "^3.0.1",
|
|
88
|
-
"lint-staged": "^16.
|
|
85
|
+
"lint-staged": "^16.2.7",
|
|
89
86
|
"parcel": "^2.7.0",
|
|
90
87
|
"prettier": "^3.2.5",
|
|
91
88
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
92
89
|
"process": "^0.11.10",
|
|
93
|
-
"semantic-release": "^25.0.2",
|
|
94
90
|
"ts-jest": "^29.4.5",
|
|
95
91
|
"ts-jest-mock-import-meta": "^1.2.0",
|
|
96
92
|
"ts-node": "^10.9.1",
|
|
97
93
|
"typescript": "^5.0.4",
|
|
98
94
|
"typescript-eslint": "^8.34.0",
|
|
99
|
-
"typescript-plugin-css-modules": "^5.1.0"
|
|
95
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
96
|
+
"storybook": "^10.1.2",
|
|
97
|
+
"@storybook/react-vite": "^10.1.2",
|
|
98
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
99
|
+
"@storybook/addon-vitest": "^10.1.2",
|
|
100
|
+
"@storybook/addon-a11y": "^10.1.2",
|
|
101
|
+
"@storybook/addon-docs": "^10.1.2",
|
|
102
|
+
"@storybook/addon-onboarding": "^10.1.2",
|
|
103
|
+
"vitest": "^4.0.14",
|
|
104
|
+
"playwright": "^1.57.0",
|
|
105
|
+
"@vitest/browser-playwright": "^4.0.14",
|
|
106
|
+
"@vitest/coverage-v8": "^4.0.14"
|
|
100
107
|
},
|
|
101
108
|
"@parcel/transformer-css": {
|
|
102
109
|
"cssModules": {
|