create-mendix-widget-gleam 3.0.0 → 3.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.
package/package.json
CHANGED
|
@@ -49,9 +49,15 @@ glendix = ">= 3.0.0 and < 4.0.0"
|
|
|
49
49
|
Peer dependency (위젯 프로젝트 `package.json`):
|
|
50
50
|
|
|
51
51
|
```json
|
|
52
|
-
{
|
|
52
|
+
{
|
|
53
|
+
"dependencies": { "big.js": "^6.0.0" },
|
|
54
|
+
"overrides": { "@types/react": "19.0.0", "@types/react-dom": "19.0.0" },
|
|
55
|
+
"resolutions": { "@types/react": "19.0.0", "@types/react-dom": "19.0.0" }
|
|
56
|
+
}
|
|
53
57
|
```
|
|
54
58
|
|
|
59
|
+
> `react`/`react-dom`은 `dependencies`에 넣지 않는다. `pluggable-widgets-tools`가 자동 제공하며, 직접 선언하면 마이그레이션 충돌이 발생한다.
|
|
60
|
+
|
|
55
61
|
```bash
|
|
56
62
|
gleam run -m glendix/install # 의존성 설치 + 바인딩 생성
|
|
57
63
|
gleam build # 컴파일 확인
|
package/template/package.json
CHANGED
|
@@ -24,16 +24,14 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"classnames": "^2.5.1",
|
|
27
|
-
"react": "^19.0.0",
|
|
28
|
-
"react-dom": "^19.0.0",
|
|
29
27
|
"big.js": "^6.0.0"
|
|
30
28
|
},
|
|
31
29
|
"resolutions": {
|
|
32
|
-
"react": "
|
|
33
|
-
"react-dom": "
|
|
30
|
+
"@types/react": "19.0.0",
|
|
31
|
+
"@types/react-dom": "19.0.0"
|
|
34
32
|
},
|
|
35
33
|
"overrides": {
|
|
36
|
-
"react": "
|
|
37
|
-
"react-dom": "
|
|
34
|
+
"@types/react": "19.0.0",
|
|
35
|
+
"@types/react-dom": "19.0.0"
|
|
38
36
|
}
|
|
39
37
|
}
|