@k3-universe/react-kit 0.0.6 → 0.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k3-universe/react-kit",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -18,6 +18,11 @@
18
18
  "default": "./dist/index.js"
19
19
  }
20
20
  },
21
+ "peerDependencies": {
22
+ "react": "^18.0.0 || ^19.0.0",
23
+ "react-dom": "^18.0.0 || ^19.0.0",
24
+ "@tanstack/react-router": "^1.131.27"
25
+ },
21
26
  "dependencies": {
22
27
  "@hookform/resolvers": "^5.2.1",
23
28
  "@radix-ui/react-accordion": "^1.2.12",
@@ -47,7 +52,6 @@
47
52
  "@radix-ui/react-toggle": "^1.1.10",
48
53
  "@radix-ui/react-toggle-group": "^1.1.11",
49
54
  "@radix-ui/react-tooltip": "^1.2.8",
50
- "@tanstack/react-router": "^1.131.27",
51
55
  "@tanstack/react-table": "^8.21.3",
52
56
  "class-variance-authority": "^0.7.1",
53
57
  "clsx": "^2.1.1",
package/vite.config.ts CHANGED
@@ -50,6 +50,7 @@ export default defineConfig(() => {
50
50
  build: {
51
51
  outDir: './dist',
52
52
  emptyOutDir: true,
53
+ minify: false,
53
54
  lib: {
54
55
  entry: 'src/index.ts',
55
56
  formats: ['es'] as LibraryFormats[],
@@ -62,7 +63,7 @@ export default defineConfig(() => {
62
63
  // Use Rollup multi-entry: library index + each theme CSS
63
64
  rollupOptions: {
64
65
  // External packages that should not be bundled into your library.
65
- external: ['react', 'react-dom', 'react/jsx-runtime'],
66
+ external: ['react', 'react-dom', 'react/jsx-runtime', '@tanstack/react-router'],
66
67
  input,
67
68
  output: {
68
69
  // Preserve entry-relative paths; our CSS entries are named 'kit/themes/<name>'