@xylabs/sdk-react 4.0.2 → 4.0.3
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/eslint.config.mjs +21 -5
- package/package.json +36 -45
- package/xy.config.ts +1 -1
package/eslint.config.mjs
CHANGED
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
// eslint.config.mjs
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { typescriptConfig,
|
|
4
|
+
unicornConfig,
|
|
5
|
+
workspacesConfig,
|
|
6
|
+
rulesConfig,
|
|
7
|
+
importConfig } from '@xylabs/eslint-config-flat'
|
|
8
|
+
import { reactConfig } from '@xylabs/eslint-config-react-flat'
|
|
4
9
|
|
|
5
10
|
export default [
|
|
6
11
|
{
|
|
7
|
-
ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', 'storybook-static', '.
|
|
12
|
+
ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'node_modules/**', 'public', '.storybook', 'storybook-static', 'eslint.config.mjs'],
|
|
8
13
|
},
|
|
9
|
-
|
|
14
|
+
reactConfig,
|
|
15
|
+
unicornConfig,
|
|
16
|
+
workspacesConfig,
|
|
17
|
+
rulesConfig,
|
|
18
|
+
importConfig,
|
|
10
19
|
{
|
|
11
20
|
rules: {
|
|
12
|
-
'@
|
|
13
|
-
'@eslint-react/no-array-index-key': ['off'],
|
|
21
|
+
'@eslint-react/no-array-index-key': ['off']
|
|
14
22
|
},
|
|
15
23
|
},
|
|
24
|
+
{
|
|
25
|
+
...typescriptConfig,
|
|
26
|
+
rules: {
|
|
27
|
+
...typescriptConfig.rules,
|
|
28
|
+
'@typescript-eslint/no-misused-promises': ['off'],
|
|
29
|
+
'@typescript-eslint/consistent-type-imports': ['warn']
|
|
30
|
+
},
|
|
31
|
+
}
|
|
16
32
|
]
|
package/package.json
CHANGED
|
@@ -7,47 +7,44 @@
|
|
|
7
7
|
},
|
|
8
8
|
"bugs": {
|
|
9
9
|
"email": "support@xylabs.com",
|
|
10
|
-
"url": "https://github.com/xylabs/sdk-react/issues"
|
|
10
|
+
"url": "git+https://github.com/xylabs/sdk-react/issues"
|
|
11
11
|
},
|
|
12
12
|
"workspaces": [
|
|
13
13
|
"packages/*"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@xylabs/pixel": "^2.0.1",
|
|
17
|
-
"@xylabs/react-accordion": "^4.0.
|
|
18
|
-
"@xylabs/react-animation": "^4.0.
|
|
19
|
-
"@xylabs/react-appbar": "^4.0.
|
|
20
|
-
"@xylabs/react-async-effect": "^4.0.
|
|
21
|
-
"@xylabs/react-button": "^4.0.
|
|
22
|
-
"@xylabs/react-common": "^4.0.
|
|
23
|
-
"@xylabs/react-cookie-consent": "^4.0.
|
|
24
|
-
"@xylabs/react-crypto": "^4.0.
|
|
25
|
-
"@xylabs/react-dialogs": "^4.0.
|
|
26
|
-
"@xylabs/react-experiments": "^4.0.
|
|
27
|
-
"@xylabs/react-flexbox": "^4.0.
|
|
28
|
-
"@xylabs/react-identicon": "^4.0.
|
|
29
|
-
"@xylabs/react-invertible-theme": "^4.0.
|
|
30
|
-
"@xylabs/react-link": "^4.0.
|
|
31
|
-
"@xylabs/react-number-status": "^4.0.
|
|
32
|
-
"@xylabs/react-pixel": "^4.0.
|
|
33
|
-
"@xylabs/react-pixel-debugger": "^4.0.
|
|
34
|
-
"@xylabs/react-promise": "^4.0.
|
|
35
|
-
"@xylabs/react-quick-tip-button": "^4.0.
|
|
36
|
-
"@xylabs/react-render-spin-check": "^4.0.
|
|
37
|
-
"@xylabs/react-rich-result": "^4.0.
|
|
38
|
-
"@xylabs/react-scroll-to-top": "^4.0.
|
|
39
|
-
"@xylabs/react-shared": "^4.0.
|
|
17
|
+
"@xylabs/react-accordion": "^4.0.3",
|
|
18
|
+
"@xylabs/react-animation": "^4.0.3",
|
|
19
|
+
"@xylabs/react-appbar": "^4.0.3",
|
|
20
|
+
"@xylabs/react-async-effect": "^4.0.3",
|
|
21
|
+
"@xylabs/react-button": "^4.0.3",
|
|
22
|
+
"@xylabs/react-common": "^4.0.3",
|
|
23
|
+
"@xylabs/react-cookie-consent": "^4.0.3",
|
|
24
|
+
"@xylabs/react-crypto": "^4.0.3",
|
|
25
|
+
"@xylabs/react-dialogs": "^4.0.3",
|
|
26
|
+
"@xylabs/react-experiments": "^4.0.3",
|
|
27
|
+
"@xylabs/react-flexbox": "^4.0.3",
|
|
28
|
+
"@xylabs/react-identicon": "^4.0.3",
|
|
29
|
+
"@xylabs/react-invertible-theme": "^4.0.3",
|
|
30
|
+
"@xylabs/react-link": "^4.0.3",
|
|
31
|
+
"@xylabs/react-number-status": "^4.0.3",
|
|
32
|
+
"@xylabs/react-pixel": "^4.0.3",
|
|
33
|
+
"@xylabs/react-pixel-debugger": "^4.0.3",
|
|
34
|
+
"@xylabs/react-promise": "^4.0.3",
|
|
35
|
+
"@xylabs/react-quick-tip-button": "^4.0.3",
|
|
36
|
+
"@xylabs/react-render-spin-check": "^4.0.3",
|
|
37
|
+
"@xylabs/react-rich-result": "^4.0.3",
|
|
38
|
+
"@xylabs/react-scroll-to-top": "^4.0.3",
|
|
39
|
+
"@xylabs/react-shared": "^4.0.3"
|
|
40
40
|
},
|
|
41
41
|
"description": "Common React library for all XY Labs projects that use React",
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@babel/core": "^7.25.2",
|
|
44
|
-
"@babel/preset-env": "^7.25.3",
|
|
45
|
-
"@babel/preset-react": "^7.24.7",
|
|
46
|
-
"@babel/preset-typescript": "^7.24.7",
|
|
47
43
|
"@chromatic-com/storybook": "^1.6.1",
|
|
48
44
|
"@emotion/react": "^11.13.0",
|
|
49
45
|
"@emotion/styled": "^11.13.0",
|
|
50
46
|
"@eslint-react/eslint-plugin": "^1.10.1",
|
|
47
|
+
"@mui/icons-material": "^5.16.7",
|
|
51
48
|
"@mui/material": "^5.16.7",
|
|
52
49
|
"@storybook/addon-actions": "^8.2.9",
|
|
53
50
|
"@storybook/addon-docs": "^8.2.9",
|
|
@@ -64,24 +61,19 @@
|
|
|
64
61
|
"@storybook/react-vite": "^8.2.9",
|
|
65
62
|
"@storybook/test": "^8.2.9",
|
|
66
63
|
"@storybook/theming": "^8.2.9",
|
|
67
|
-
"@stylistic/eslint-plugin": "^2.6.
|
|
64
|
+
"@stylistic/eslint-plugin": "^2.6.4",
|
|
68
65
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
69
|
-
"@
|
|
70
|
-
"@xylabs/
|
|
71
|
-
"@xylabs/
|
|
72
|
-
"@xylabs/
|
|
73
|
-
"@
|
|
66
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
67
|
+
"@xylabs/eslint-config-flat": "^4.0.0-rc.20",
|
|
68
|
+
"@xylabs/eslint-config-react-flat": "^4.0.0-rc.20",
|
|
69
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
|
|
70
|
+
"@xylabs/tsconfig": "^4.0.0-rc.20",
|
|
71
|
+
"@xylabs/tsconfig-react": "^4.0.0-rc.20",
|
|
72
|
+
"@xyo-network/react-theme": "^3.0.1",
|
|
74
73
|
"axios": "^1.7.4",
|
|
75
|
-
"babel-loader": "^9.1.3",
|
|
76
74
|
"buffer": "^6.0.3",
|
|
77
75
|
"eslint": "^9.9.0",
|
|
78
76
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
79
|
-
"eslint-plugin-import": "^2.29.1",
|
|
80
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
81
|
-
"eslint-plugin-react": "^7.35.0",
|
|
82
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
83
|
-
"eslint-plugin-sonarjs": "^1.0.4",
|
|
84
|
-
"eslint-plugin-workspaces": "^0.10.1",
|
|
85
77
|
"jest": "^29.7.0",
|
|
86
78
|
"react": "^18.3.1",
|
|
87
79
|
"react-dom": "^18.3.1",
|
|
@@ -89,10 +81,9 @@
|
|
|
89
81
|
"rimraf": "^6.0.1",
|
|
90
82
|
"storybook": "^8.2.9",
|
|
91
83
|
"storybook-dark-mode": "^4.0.2",
|
|
92
|
-
"ts-loader": "^9.5.1",
|
|
93
84
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
94
85
|
"typescript": "^5.5.4",
|
|
95
|
-
"vite": "^5.4.
|
|
86
|
+
"vite": "^5.4.1"
|
|
96
87
|
},
|
|
97
88
|
"peerDependencies": {
|
|
98
89
|
"@mui/icons-material": "^5",
|
|
@@ -123,7 +114,7 @@
|
|
|
123
114
|
},
|
|
124
115
|
"repository": {
|
|
125
116
|
"type": "git",
|
|
126
|
-
"url": "https://github.com/xylabs/sdk-react.git"
|
|
117
|
+
"url": "git+https://github.com/xylabs/sdk-react.git"
|
|
127
118
|
},
|
|
128
119
|
"scripts": {
|
|
129
120
|
"build-storybook": "storybook build",
|
|
@@ -132,7 +123,7 @@
|
|
|
132
123
|
"storybook": "storybook dev -p 6006"
|
|
133
124
|
},
|
|
134
125
|
"sideEffects": false,
|
|
135
|
-
"version": "4.0.
|
|
126
|
+
"version": "4.0.3",
|
|
136
127
|
"packageManager": "yarn@4.4.0",
|
|
137
128
|
"volta": {
|
|
138
129
|
"node": "22.3.0",
|
package/xy.config.ts
CHANGED