dinocollab-core 1.0.21 → 1.0.22

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 +0 -41
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,47 +18,6 @@ pnpm add @mui/material@5.17.1 @mui/icons-material@5.17.1 clipboard-copy@4.0.1 re
18
18
  pnpm add @types/jest@27.0.1 -D
19
19
  ```
20
20
 
21
- ## 📦 Cài đặt
22
-
23
- DinoForm được đóng gói dưới dạng module nội bộ, bạn có thể import và sử dụng trực tiếp như sau:
24
-
25
- ```ts
26
- import DinoForm from 'dino-core/DinoForm'
27
- ```
28
-
29
- 📌 Thiết lập alias trong `tsconfig.json` để gọn hơn:
30
-
31
- ```json
32
- {
33
- "paths": {
34
- "@dino-core/*": ["<path to>/dino/*"]
35
- }
36
- }
37
- ```
38
-
39
- 📌 Thiết lập cấu hình build:
40
-
41
- Tùy chọn 1: `config-overrides.js`
42
-
43
- ```js
44
- addWebpackAlias({
45
- 'dino-core': path.resolve(__dirname, '<path to>/dino-core/react18')
46
- })
47
- ```
48
-
49
- Tùy chọn 2: `webpack.config.js`
50
-
51
- ```js
52
- {
53
- resolve: {
54
- extensions: ['.tsx', '.ts', '.js', '.mjs'],
55
- alias: {
56
- 'dino-core': path.resolve(__dirname, '<path to>/dino-core/react18'),
57
- }
58
- }
59
- }
60
- ```
61
-
62
21
  ## 📦 Build npm - dinocollab-core
63
22
 
64
23
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinocollab-core",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",