@cube-dev/ui-kit 0.7.2 → 0.7.6
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/dist/cjs/components/content/Result/Result.d.ts +19 -0
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/utils/react/index.d.ts +1 -0
- package/dist/cjs/utils/react/wrapNodeIfPlain.d.ts +2 -0
- package/dist/mjs/components/content/Result/Result.d.ts +19 -0
- package/dist/mjs/index.d.ts +2 -0
- package/dist/mjs/index.js +4 -4
- package/dist/mjs/index.js.map +1 -1
- package/dist/mjs/utils/react/index.d.ts +1 -0
- package/dist/mjs/utils/react/wrapNodeIfPlain.d.ts +2 -0
- package/package.json +15 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cube-dev/ui-kit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.6",
|
|
4
4
|
"description": "UIKit for Cube Projects",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/mjs/index.js",
|
|
@@ -22,15 +22,17 @@
|
|
|
22
22
|
"build": "NODE_ENV=production rollup -c",
|
|
23
23
|
"watch": "rollup -c -w",
|
|
24
24
|
"test": "jest",
|
|
25
|
+
"test-cover": "jest --coverage",
|
|
25
26
|
"test-watch": "jest --watch",
|
|
26
27
|
"format": "prettier --write \"src/**/*.{js,jsx}\"",
|
|
27
|
-
"lint": "prettier --check \"src/**/*.{js,jsx}\"",
|
|
28
|
+
"lint": "eslint --cache src && prettier --check \"src/**/*.{js,jsx}\"",
|
|
28
29
|
"fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\" && eslint --fix --cache src --ext .js,.ts,.jsx,.tsx",
|
|
29
30
|
"compile": "babel src -d dist --copy-files",
|
|
30
31
|
"storybook": "start-storybook -s ./public -p 6006",
|
|
31
32
|
"build-storybook": "build-storybook",
|
|
32
33
|
"chromatic": "npx chromatic",
|
|
33
|
-
"size": "size-limit"
|
|
34
|
+
"size": "size-limit",
|
|
35
|
+
"prepare": "husky install"
|
|
34
36
|
},
|
|
35
37
|
"keywords": [
|
|
36
38
|
"uikit"
|
|
@@ -38,6 +40,8 @@
|
|
|
38
40
|
"author": "Cube Dev Team",
|
|
39
41
|
"devDependencies": {
|
|
40
42
|
"@ant-design/icons": "^4.7.0",
|
|
43
|
+
"@commitlint/cli": "16.1.0",
|
|
44
|
+
"@commitlint/config-conventional": "16.0.0",
|
|
41
45
|
"@open-wc/testing": "^3.0.3",
|
|
42
46
|
"@react-aria/button": "^3.3.4",
|
|
43
47
|
"@react-aria/checkbox": "^3.2.3",
|
|
@@ -95,6 +99,8 @@
|
|
|
95
99
|
"@storybook/preset-create-react-app": "^4.0.0",
|
|
96
100
|
"@storybook/react": "^6.4.9",
|
|
97
101
|
"@svgr/rollup": "^6.1.2",
|
|
102
|
+
"@swc/core": "1.2.136",
|
|
103
|
+
"@swc/jest": "0.2.17",
|
|
98
104
|
"@testing-library/jest-dom": "^5.16.1",
|
|
99
105
|
"@testing-library/react": "^12.1.2",
|
|
100
106
|
"@types/react": "^17.0.38",
|
|
@@ -103,7 +109,6 @@
|
|
|
103
109
|
"@typescript-eslint/parser": "^5.8.1",
|
|
104
110
|
"@web/test-runner": "^0.13.23",
|
|
105
111
|
"babel-eslint": "^10.1.0",
|
|
106
|
-
"chai": "^4.3.4",
|
|
107
112
|
"chromatic": "^6.3.3",
|
|
108
113
|
"clipboard-copy": "^4.0.1",
|
|
109
114
|
"clsx": "^1.1.1",
|
|
@@ -119,14 +124,17 @@
|
|
|
119
124
|
"eslint-plugin-react": "^7.28.0",
|
|
120
125
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
121
126
|
"eslint-plugin-storybook": "^0.5.5",
|
|
122
|
-
"
|
|
127
|
+
"husky": ">=6",
|
|
128
|
+
"jest": "27.5.0",
|
|
129
|
+
"jsdom": "19.0.0",
|
|
123
130
|
"less-loader": "^10.2.0",
|
|
131
|
+
"lint-staged": ">=10",
|
|
124
132
|
"netlify-cli": "^8.6.0",
|
|
125
133
|
"parcel-bundler": "^1.12.4",
|
|
126
134
|
"prettier": "^2.5.1",
|
|
127
135
|
"prismjs": "^1.25.0",
|
|
128
|
-
"react": "
|
|
129
|
-
"react-dom": "
|
|
136
|
+
"react": "17.0.2",
|
|
137
|
+
"react-dom": "17.0.2",
|
|
130
138
|
"react-router": "^6.2.1",
|
|
131
139
|
"react-test-renderer": "^17.0.2",
|
|
132
140
|
"react-transition-group": "^4.4.2",
|