@lark-apaas/client-toolkit-lite 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +10 -8
package/README.md CHANGED
@@ -22,7 +22,7 @@ npm install react react-dom react-router-dom @tanstack/react-query
22
22
 
23
23
  ```tsx
24
24
  // main.tsx
25
- import '@lark-apaas/client-toolkit-lite/styles';
25
+ import '@lark-apaas/client-toolkit-lite/styles.css';
26
26
  import { createRoot } from 'react-dom/client';
27
27
  import App from './App';
28
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/client-toolkit-lite",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Lightweight client toolkit for Express/Vite tech stack - hooks, utils, and UI components without SDK integrations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,7 +30,9 @@
30
30
  "require": "./dist/index.cjs"
31
31
  },
32
32
  "./styles": "./dist/css/index.css",
33
- "./styles/*": "./dist/css/*"
33
+ "./styles.css": "./dist/css/index.css",
34
+ "./styles/*": "./dist/css/*",
35
+ "./styles/*.css": "./dist/css/*"
34
36
  },
35
37
  "scripts": {
36
38
  "build": "tsup",
@@ -56,17 +58,17 @@
56
58
  "devDependencies": {
57
59
  "@types/lodash": "^4.17.0",
58
60
  "@types/node": "^20.0.0",
59
- "@types/react": "^19.0.0",
60
- "@types/react-dom": "^19.0.0",
61
- "react": "^19.0.0",
62
- "react-dom": "^19.0.0",
61
+ "@types/react": "^18.0.0",
62
+ "@types/react-dom": "^18.0.0",
63
+ "react": "^18.0.0 || ^19.0.0",
64
+ "react-dom": "^18.0.0 || ^19.0.0",
63
65
  "tsup": "^8.0.0",
64
66
  "typescript": "^5.0.0"
65
67
  },
66
68
  "peerDependencies": {
67
69
  "@tanstack/react-query": "^5.0.0",
68
- "react": "^19.0.0",
69
- "react-dom": "^19.0.0",
70
+ "react": "^18.0.0 || ^19.0.0",
71
+ "react-dom": "^18.0.0 || ^19.0.0",
70
72
  "react-router-dom": "^6.0.0 || ^7.0.0"
71
73
  }
72
74
  }