@xyhp915/slack-base-ui 0.0.13 → 0.1.1
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/libs/index.js +18197 -1980
- package/package.json +2 -10
- package/vite.libs.config.ts +3 -8
package/package.json
CHANGED
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyhp915/slack-base-ui",
|
|
3
3
|
"main": "libs/index.js",
|
|
4
|
-
"module": "libs/index.js",
|
|
5
4
|
"types": "libs/index.d.ts",
|
|
6
|
-
"version": "0.
|
|
5
|
+
"version": "0.1.1",
|
|
7
6
|
"type": "module",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./libs/index.d.ts",
|
|
11
|
-
"import": "./libs/index.js",
|
|
12
|
-
"default": "./libs/index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
7
|
"scripts": {
|
|
16
8
|
"dev": "vite",
|
|
17
9
|
"build": "tsc -b && vite build",
|
|
@@ -42,6 +34,6 @@
|
|
|
42
34
|
"tailwindcss": "^4.1.18",
|
|
43
35
|
"typescript": "~5.9.3",
|
|
44
36
|
"typescript-eslint": "^8.46.4",
|
|
45
|
-
"vite": "
|
|
37
|
+
"vite": "7.3.2"
|
|
46
38
|
}
|
|
47
39
|
}
|
package/vite.libs.config.ts
CHANGED
|
@@ -23,15 +23,10 @@ export default defineConfig({
|
|
|
23
23
|
fileName: () => 'index.js',
|
|
24
24
|
},
|
|
25
25
|
rollupOptions: {
|
|
26
|
-
//
|
|
27
|
-
|
|
28
|
-
external: (id) =>
|
|
29
|
-
/^react(?:\/.*)?$/.test(id) ||
|
|
30
|
-
/^react-dom(?:\/.*)?$/.test(id) ||
|
|
31
|
-
/^@base-ui\/react(?:\/.*)?$/.test(id) ||
|
|
32
|
-
/^lucide-react(?:\/.*)?$/.test(id),
|
|
26
|
+
// Don't bundle peer deps; consumers provide these.
|
|
27
|
+
external: ['react', 'react-dom', 'react-dom/client', 'react/jsx-runtime'],
|
|
33
28
|
output: {
|
|
34
|
-
// Format is ESM, so globals aren't required.
|
|
29
|
+
// Keep React as external. (Format is ESM, so globals aren't required.)
|
|
35
30
|
exports: 'named',
|
|
36
31
|
},
|
|
37
32
|
},
|