@iyulab/enterprise 0.2.2 → 0.3.0
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/README.md +4 -11
- package/dist/index.d.ts +0 -6
- package/dist/index.js +1 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @iyulab/enterprise
|
|
2
2
|
|
|
3
|
-
iyulab 프레임워크의 엔터프라이즈 통합 패키지.
|
|
3
|
+
iyulab 프레임워크의 엔터프라이즈 통합 패키지. 폼 레이아웃 컴포넌트·API 설정·도메인 헬퍼를 제공합니다.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -22,18 +22,11 @@ npm install @iyulab/enterprise
|
|
|
22
22
|
| `ProgressHelper` | class | 진행률 계산 |
|
|
23
23
|
| `UrgencyHelper` | class | 긴급도 계산 |
|
|
24
24
|
|
|
25
|
-
### 2.
|
|
25
|
+
### 2. 심볼 출처 (v0.3.0부터 하위 패키지 재노출 제거됨)
|
|
26
26
|
|
|
27
|
-
`@iyulab/enterprise`는
|
|
27
|
+
`@iyulab/enterprise`는 **자기 고유 export만** 제공합니다(위 표). `@iyulab/components`(컴포넌트), `@iyulab/data-components`(데이터 그리드/시트), `@iyulab/modern-app`(앱 프레임워크, 라우팅)은 각 패키지에서 **직접 import**하세요.
|
|
28
28
|
|
|
29
|
-
- `@iyulab/
|
|
30
|
-
- `@iyulab/data-components` (데이터 그리드/시트)
|
|
31
|
-
- `@iyulab/modern-app` (앱 프레임워크)
|
|
32
|
-
|
|
33
|
-
> ⚠️ **재노출은 편의용이며 SoT가 아닙니다.** 프레임워크(`app`)·컴포넌트를 쓸 때는 **각 하위 패키지에서 직접 import**하는 것을 권장합니다. enterprise를 통한 간접 소비와 직접 소비를 섞으면 심볼 출처가 갈라져 혼란과(중복 설치 시) 이중 인스턴스 위험이 생길 수 있습니다.
|
|
34
|
-
> - 컴포넌트 → `@iyulab/components`
|
|
35
|
-
> - 프레임워크(`app`, 라우팅) → `@iyulab/modern-app`
|
|
36
|
-
> - 폼 레이아웃/API 설정/도메인 헬퍼 → `@iyulab/enterprise`
|
|
29
|
+
> v0.2.x까지는 위 3개 패키지를 `export *`로 재노출했으나, 심볼 출처 혼란과 exact-pin(v0.2.2 이전) 조합 시 이중 인스턴스 위험 때문에 v0.3.0에서 제거했습니다. 재노출에 의존하던 코드는 `@iyulab/enterprise`가 아닌 각 하위 패키지에서 직접 import하도록 수정해야 합니다.
|
|
37
30
|
|
|
38
31
|
## Usage
|
|
39
32
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,5 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export { FormSection } from './FormSection';
|
|
6
6
|
export { FormRow } from './FormRow';
|
|
7
|
-
/** Package version */
|
|
8
|
-
export declare const VERSION = "0.2.1";
|
|
9
|
-
export * from '@iyulab/components';
|
|
10
|
-
export * from '@iyulab/data-components';
|
|
11
|
-
export * from '@iyulab/modern-app';
|
|
12
|
-
export type { DialogOptions } from '@iyulab/components';
|
|
13
7
|
export * from './helpers';
|
|
14
8
|
export * from './ApiConfig';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
export * from "@iyulab/components";
|
|
3
|
-
export * from "@iyulab/data-components";
|
|
4
|
-
export * from "@iyulab/modern-app";
|
|
5
2
|
//#region src/FormSection.tsx
|
|
6
3
|
function FormSection({ title, children }) {
|
|
7
4
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -516,8 +513,4 @@ var ApiConfig = class {
|
|
|
516
513
|
}
|
|
517
514
|
};
|
|
518
515
|
//#endregion
|
|
519
|
-
|
|
520
|
-
/** Package version */
|
|
521
|
-
var VERSION = "0.2.1";
|
|
522
|
-
//#endregion
|
|
523
|
-
export { ApiConfig, CurrencyHelper, DateHelper, FormRow, FormSection, ProgressHelper, UrgencyHelper, VERSION };
|
|
516
|
+
export { ApiConfig, CurrencyHelper, DateHelper, FormRow, FormSection, ProgressHelper, UrgencyHelper };
|