@haloduck/util 1.0.0 → 2.0.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.
Files changed (2) hide show
  1. package/README.md +11 -9
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -28,15 +28,17 @@ npm install @haloduck/util
28
28
  ### 기본 설정
29
29
 
30
30
  ```typescript
31
- import { NgModule } from '@angular/core';
32
- import { UtilModule } from '@haloduck/util';
33
-
34
- @NgModule({
35
- imports: [
36
- UtilModule
37
- ]
38
- })
39
- export class AppModule { }
31
+ export const appConfig: ApplicationConfig = {
32
+ providers: [
33
+ // ...
34
+ provideHaloduckUtilIconSet({
35
+ default: '/app/images/default-file-preview.svg',
36
+ stl: '/app/images/default-stl-preview.svg',
37
+ pdf: '/app/images/default-pdf-preview.svg',
38
+ }),
39
+ // ...
40
+ ],
41
+ };
40
42
  ```
41
43
 
42
44
  ### 파일 다운로드
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "@haloduck/util",
3
- "version": "1.0.0",
4
- "description": "HaloDuck Util Library - Angular 기반 유틸리티 함수 및 서비스 라이브러리",
5
- "keywords": ["angular", "haloduck", "util", "utility", "typescript", "forms", "file"],
3
+ "version": "2.0.0",
4
+ "description": "HaloDuck Util Library - Angular",
5
+ "keywords": [
6
+ "angular",
7
+ "haloduck",
8
+ "util",
9
+ "utility",
10
+ "typescript",
11
+ "forms",
12
+ "file"
13
+ ],
6
14
  "author": "HaloDuck",
7
15
  "license": "MIT",
8
16
  "repository": {