@xylabs/sdk-react 6.1.9 → 6.1.11

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.
Files changed (2) hide show
  1. package/knip.config.ts +28 -0
  2. package/package.json +28 -49
package/knip.config.ts ADDED
@@ -0,0 +1,28 @@
1
+ import type { KnipConfig } from 'knip'
2
+
3
+ const ignoreDependencies = [
4
+ '@xylabs/ts-scripts-yarn3',
5
+ ]
6
+
7
+ const rootIgnoreDependencies = [
8
+ ...ignoreDependencies,
9
+ '@typescript-eslint/eslint-plugin',
10
+ '@typescript-eslint/parser',
11
+ 'eslint',
12
+ 'eslint-import-resolver-typescript',
13
+ ]
14
+
15
+ const entry = ['src/index.ts*', 'src/index-*.ts*', '*.ts', '*.mjs', 'scripts/**/*.*', 'bin/*', 'src/**/*.stories.ts*', 'src/**/*.spec.ts']
16
+ const project = ['src/**/*.ts*', '*.ts*']
17
+
18
+ const config: KnipConfig = {
19
+ ignoreDependencies: rootIgnoreDependencies,
20
+ workspaces: {
21
+ '.': { entry: [...entry, 'src/**/*.ts', './storybook/**/*.ts', 'vite.config.ts'], project },
22
+ 'packages/*': { entry, project },
23
+ 'packages/**/packages/*': { entry, project },
24
+ 'packages/**/packages/**/packages/*': { entry, project },
25
+ },
26
+ }
27
+
28
+ export default config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/sdk-react",
3
- "version": "6.1.9",
3
+ "version": "6.1.11",
4
4
  "description": "Common React library for all XY Labs projects that use React",
5
5
  "keywords": [
6
6
  "utility",
@@ -55,56 +55,43 @@
55
55
  ]
56
56
  },
57
57
  "dependencies": {
58
- "@xylabs/react-accordion": "^6.1.9",
59
- "@xylabs/react-animation": "^6.1.9",
60
- "@xylabs/react-appbar": "^6.1.9",
61
- "@xylabs/react-async-effect": "^6.1.9",
62
- "@xylabs/react-button": "^6.1.9",
63
- "@xylabs/react-common": "^6.1.9",
64
- "@xylabs/react-cookie-consent": "^6.1.9",
65
- "@xylabs/react-crypto": "^6.1.9",
66
- "@xylabs/react-dialogs": "^6.1.9",
67
- "@xylabs/react-experiments": "^6.1.9",
68
- "@xylabs/react-flexbox": "^6.1.9",
69
- "@xylabs/react-hooks": "^6.1.9",
70
- "@xylabs/react-identicon": "^6.1.9",
71
- "@xylabs/react-invertible-theme": "^6.1.9",
72
- "@xylabs/react-link": "^6.1.9",
73
- "@xylabs/react-mixpanel": "^6.1.9",
74
- "@xylabs/react-number-status": "^6.1.9",
75
- "@xylabs/react-pixel": "^6.1.9",
76
- "@xylabs/react-pixel-debugger": "^6.1.9",
77
- "@xylabs/react-promise": "^6.1.9",
78
- "@xylabs/react-quick-tip-button": "^6.1.9",
79
- "@xylabs/react-render-spin-check": "^6.1.9",
80
- "@xylabs/react-rich-result": "^6.1.9",
81
- "@xylabs/react-scroll-to-top": "^6.1.9",
82
- "@xylabs/react-shared": "^6.1.9",
83
- "@xylabs/react-theme": "^6.1.9"
58
+ "@xylabs/react-accordion": "^6.1.11",
59
+ "@xylabs/react-animation": "^6.1.11",
60
+ "@xylabs/react-appbar": "^6.1.11",
61
+ "@xylabs/react-async-effect": "^6.1.11",
62
+ "@xylabs/react-button": "^6.1.11",
63
+ "@xylabs/react-common": "^6.1.11",
64
+ "@xylabs/react-cookie-consent": "^6.1.11",
65
+ "@xylabs/react-crypto": "^6.1.11",
66
+ "@xylabs/react-dialogs": "^6.1.11",
67
+ "@xylabs/react-experiments": "^6.1.11",
68
+ "@xylabs/react-flexbox": "^6.1.11",
69
+ "@xylabs/react-hooks": "^6.1.11",
70
+ "@xylabs/react-identicon": "^6.1.11",
71
+ "@xylabs/react-invertible-theme": "^6.1.11",
72
+ "@xylabs/react-link": "^6.1.11",
73
+ "@xylabs/react-mixpanel": "^6.1.11",
74
+ "@xylabs/react-number-status": "^6.1.11",
75
+ "@xylabs/react-pixel": "^6.1.11",
76
+ "@xylabs/react-pixel-debugger": "^6.1.11",
77
+ "@xylabs/react-promise": "^6.1.11",
78
+ "@xylabs/react-quick-tip-button": "^6.1.11",
79
+ "@xylabs/react-render-spin-check": "^6.1.11",
80
+ "@xylabs/react-rich-result": "^6.1.11",
81
+ "@xylabs/react-scroll-to-top": "^6.1.11",
82
+ "@xylabs/react-shared": "^6.1.11",
83
+ "@xylabs/react-theme": "^6.1.11"
84
84
  },
85
85
  "devDependencies": {
86
- "@chromatic-com/storybook": "^3.2.6",
87
86
  "@emotion/react": "^11.14.0",
88
87
  "@emotion/styled": "^11.14.0",
89
- "@eslint-react/eslint-plugin": "^1.40.3",
90
88
  "@mui/icons-material": "^7.0.1",
91
89
  "@mui/material": "^7.0.1",
92
- "@storybook/addon-actions": "^8.6.12",
93
- "@storybook/addon-docs": "^8.6.12",
94
90
  "@storybook/addon-essentials": "^8.6.12",
95
- "@storybook/addon-interactions": "^8.6.12",
96
91
  "@storybook/addon-links": "^8.6.12",
97
- "@storybook/addon-mdx-gfm": "^8.6.12",
98
- "@storybook/addon-onboarding": "^8.6.12",
99
- "@storybook/addon-webpack5-compiler-swc": "^3.0.0",
100
- "@storybook/blocks": "^8.6.12",
101
- "@storybook/components": "^8.6.12",
102
- "@storybook/core-events": "^8.6.12",
103
92
  "@storybook/react": "^8.6.12",
104
93
  "@storybook/react-vite": "^8.6.12",
105
94
  "@storybook/test": "^8.6.12",
106
- "@storybook/theming": "^8.6.12",
107
- "@stylistic/eslint-plugin": "^4.2.0",
108
95
  "@types/node": "^22.14.0",
109
96
  "@types/react": "^19.1.0",
110
97
  "@typescript-eslint/eslint-plugin": "^8.29.0",
@@ -112,23 +99,15 @@
112
99
  "@xylabs/eslint-config-flat": "^6.2.1",
113
100
  "@xylabs/eslint-config-react-flat": "^6.2.1",
114
101
  "@xylabs/ts-scripts-yarn3": "^6.2.1",
115
- "@xylabs/tsconfig": "^6.2.1",
116
102
  "@xylabs/tsconfig-react": "^6.2.1",
117
- "@xyo-network/react-theme": "^5.1.1",
118
- "axios": "^1.8.4",
119
- "buffer": "^6.0.3",
120
103
  "eslint": "^9.24.0",
121
104
  "eslint-import-resolver-typescript": "^4.3.1",
122
105
  "knip": "^5.46.5",
123
106
  "react": "^19.1.0",
124
107
  "react-dom": "^19.1.0",
125
- "remark-gfm": "^4.0.1",
126
- "rimraf": "^6.0.1",
127
108
  "storybook": "^8.6.12",
128
- "tsconfig-paths-webpack-plugin": "^4.2.0",
129
109
  "typescript": "^5.8.2",
130
- "vite": "^6.2.5",
131
- "vitest": "^3.1.1"
110
+ "vite": "^6.2.5"
132
111
  },
133
112
  "peerDependencies": {
134
113
  "@mui/icons-material": ">=6 <7",