@xyhp915/slack-base-ui 0.0.11 → 0.0.13
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 +5 -11
- package/vite.libs.config.ts +4 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "libs/index.js",
|
|
4
4
|
"module": "libs/index.js",
|
|
5
5
|
"types": "libs/index.d.ts",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.13",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
@@ -20,18 +20,15 @@
|
|
|
20
20
|
"preview": "vite preview"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@base-ui/react": "^1.1.0",
|
|
23
24
|
"clsx": "^2.1.1",
|
|
25
|
+
"lucide-react": "^0.563.0",
|
|
26
|
+
"react": "^19.2.0",
|
|
27
|
+
"react-dom": "^19.2.0",
|
|
24
28
|
"react-router-dom": "^7.13.0",
|
|
25
29
|
"tailwind-merge": "^3.4.0"
|
|
26
30
|
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"@base-ui/react": "^1.4.0",
|
|
29
|
-
"lucide-react": "^0.563.0",
|
|
30
|
-
"react": "^19.0.0",
|
|
31
|
-
"react-dom": "^19.0.0"
|
|
32
|
-
},
|
|
33
31
|
"devDependencies": {
|
|
34
|
-
"@base-ui/react": "^1.4.0",
|
|
35
32
|
"@eslint/js": "^9.39.1",
|
|
36
33
|
"@tailwindcss/vite": "^4.1.18",
|
|
37
34
|
"@types/node": "^24.10.1",
|
|
@@ -42,9 +39,6 @@
|
|
|
42
39
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
43
40
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
44
41
|
"globals": "^16.5.0",
|
|
45
|
-
"lucide-react": "^0.563.0",
|
|
46
|
-
"react": "^19.2.0",
|
|
47
|
-
"react-dom": "^19.2.0",
|
|
48
42
|
"tailwindcss": "^4.1.18",
|
|
49
43
|
"typescript": "~5.9.3",
|
|
50
44
|
"typescript-eslint": "^8.46.4",
|
package/vite.libs.config.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @ts-ignore
|
|
1
2
|
import { defineConfig } from 'vite'
|
|
2
3
|
// @ts-ignore
|
|
3
4
|
import react from '@vitejs/plugin-react'
|
|
@@ -22,14 +23,15 @@ export default defineConfig({
|
|
|
22
23
|
fileName: () => 'index.js',
|
|
23
24
|
},
|
|
24
25
|
rollupOptions: {
|
|
25
|
-
//
|
|
26
|
+
// Keep React/Base UI/icon libraries external so the published ESM bundle
|
|
27
|
+
// doesn't inline CommonJS shims that call `require(...)` in the browser.
|
|
26
28
|
external: (id) =>
|
|
27
29
|
/^react(?:\/.*)?$/.test(id) ||
|
|
28
30
|
/^react-dom(?:\/.*)?$/.test(id) ||
|
|
29
31
|
/^@base-ui\/react(?:\/.*)?$/.test(id) ||
|
|
30
32
|
/^lucide-react(?:\/.*)?$/.test(id),
|
|
31
33
|
output: {
|
|
32
|
-
//
|
|
34
|
+
// Format is ESM, so globals aren't required.
|
|
33
35
|
exports: 'named',
|
|
34
36
|
},
|
|
35
37
|
},
|