@simplysm/core-node 13.0.100 → 14.0.4

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 (44) hide show
  1. package/README.md +93 -79
  2. package/dist/features/fs-watcher.d.ts +21 -21
  3. package/dist/features/fs-watcher.d.ts.map +1 -1
  4. package/dist/features/fs-watcher.js +176 -114
  5. package/dist/features/fs-watcher.js.map +1 -6
  6. package/dist/index.js +6 -7
  7. package/dist/index.js.map +1 -6
  8. package/dist/utils/fs.d.ts +96 -96
  9. package/dist/utils/fs.d.ts.map +1 -1
  10. package/dist/utils/fs.js +437 -272
  11. package/dist/utils/fs.js.map +1 -6
  12. package/dist/utils/path.d.ts +22 -22
  13. package/dist/utils/path.js +103 -45
  14. package/dist/utils/path.js.map +1 -6
  15. package/dist/worker/create-worker.d.ts +3 -3
  16. package/dist/worker/create-worker.js +106 -81
  17. package/dist/worker/create-worker.js.map +1 -6
  18. package/dist/worker/types.d.ts +14 -14
  19. package/dist/worker/types.js +4 -1
  20. package/dist/worker/types.js.map +1 -6
  21. package/dist/worker/worker.d.ts +5 -5
  22. package/dist/worker/worker.js +168 -132
  23. package/dist/worker/worker.js.map +1 -6
  24. package/docs/fs-watcher.md +107 -0
  25. package/docs/fsx.md +287 -0
  26. package/docs/pathx.md +115 -0
  27. package/docs/worker.md +117 -62
  28. package/lib/worker-dev-proxy.js +15 -0
  29. package/package.json +9 -6
  30. package/src/features/fs-watcher.ts +53 -42
  31. package/src/index.ts +3 -3
  32. package/src/utils/fs.ts +111 -120
  33. package/src/utils/path.ts +26 -26
  34. package/src/worker/create-worker.ts +10 -10
  35. package/src/worker/types.ts +14 -14
  36. package/src/worker/worker.ts +29 -29
  37. package/docs/features.md +0 -91
  38. package/docs/fs.md +0 -309
  39. package/docs/path.md +0 -120
  40. package/tests/utils/fs-watcher.spec.ts +0 -286
  41. package/tests/utils/fs.spec.ts +0 -705
  42. package/tests/utils/path.spec.ts +0 -179
  43. package/tests/worker/fixtures/test-worker.ts +0 -35
  44. package/tests/worker/sd-worker.spec.ts +0 -174
package/dist/index.js CHANGED
@@ -1,11 +1,10 @@
1
- import * as fsx from "./utils/fs.js";
2
- import * as pathx from "./utils/path.js";
1
+ // 유틸리티
2
+ export * as fsx from "./utils/fs.js";
3
+ export * as pathx from "./utils/path.js";
4
+ // 기능
3
5
  export * from "./features/fs-watcher.js";
6
+ // 워커
4
7
  export * from "./worker/types.js";
5
8
  export * from "./worker/worker.js";
6
9
  export * from "./worker/create-worker.js";
7
- export {
8
- fsx,
9
- pathx
10
- };
11
- //# sourceMappingURL=index.js.map
10
+ //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/index.ts"],
4
- "mappings": "AACA,YAAY,SAAS;AACrB,YAAY,WAAW;AAGvB,cAAc;AAGd,cAAc;AACd,cAAc;AACd,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["..\\src\\index.ts"],"names":[],"mappings":"AAAA,OAAO;AACP,OAAO,KAAK,GAAG,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,KAAK;AACL,cAAc,uBAAuB,CAAC;AAEtC,KAAK;AACL,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
@@ -2,196 +2,196 @@ import fs from "fs";
2
2
  import { type GlobOptions } from "glob";
3
3
  import "@simplysm/core-common";
4
4
  /**
5
- * Checks if a file or directory exists (synchronous).
6
- * @param targetPath - Path to check
5
+ * 파일 또는 디렉토리가 존재하는지 확인한다 (동기).
6
+ * @param targetPath - 확인할 경로
7
7
  */
8
8
  export declare function existsSync(targetPath: string): boolean;
9
9
  /**
10
- * Checks if a file or directory exists (asynchronous).
11
- * @param targetPath - Path to check
10
+ * 파일 또는 디렉토리가 존재하는지 확인한다 (비동기).
11
+ * @param targetPath - 확인할 경로
12
12
  */
13
13
  export declare function exists(targetPath: string): Promise<boolean>;
14
14
  /**
15
- * Creates a directory (recursive).
16
- * @param targetPath - Directory path to create
15
+ * 디렉토리를 생성한다 (재귀적).
16
+ * @param targetPath - 생성할 디렉토리 경로
17
17
  */
18
18
  export declare function mkdirSync(targetPath: string): void;
19
19
  /**
20
- * Creates a directory (recursive, asynchronous).
21
- * @param targetPath - Directory path to create
20
+ * 디렉토리를 생성한다 (재귀적, 비동기).
21
+ * @param targetPath - 생성할 디렉토리 경로
22
22
  */
23
23
  export declare function mkdir(targetPath: string): Promise<void>;
24
24
  /**
25
- * Deletes a file or directory.
26
- * @param targetPath - Path to delete
27
- * @remarks The synchronous version fails immediately without retries. Use rm for cases with potential transient errors like file locks.
25
+ * 파일 또는 디렉토리를 삭제한다.
26
+ * @param targetPath - 삭제할 경로
27
+ * @remarks 동기 버전은 재시도 없이 즉시 실패한다. 파일 잠금 일시적 오류가 발생할 있는 경우 rm을 사용하라.
28
28
  */
29
29
  export declare function rmSync(targetPath: string): void;
30
30
  /**
31
- * Deletes a file or directory (asynchronous).
32
- * @param targetPath - Path to delete
33
- * @remarks The asynchronous version retries up to 6 times (500ms interval) for transient errors like file locks.
31
+ * 파일 또는 디렉토리를 삭제한다 (비동기).
32
+ * @param targetPath - 삭제할 경로
33
+ * @remarks 비동기 버전은 파일 잠금 일시적 오류에 대해 최대 6회(500ms 간격) 재시도한다.
34
34
  */
35
35
  export declare function rm(targetPath: string): Promise<void>;
36
36
  /**
37
- * Copies a file or directory.
37
+ * 파일 또는 디렉토리를 복사한다.
38
38
  *
39
- * If sourcePath does not exist, no action is performed and the function returns.
39
+ * sourcePath 존재하지 않으면 아무 작업도 수행하지 않고 반환한다.
40
40
  *
41
- * @param sourcePath Path of the source to copy
42
- * @param targetPath Destination path for the copy
43
- * @param filter A filter function that determines whether to copy.
44
- * The **absolute path** of each file/directory is passed.
45
- * Returns true to copy, false to exclude.
46
- * **Note**: The top-level sourcePath is not subject to filtering;
47
- * the filter function is applied recursively to all children (direct and indirect).
48
- * Returning false for a directory skips that directory and all its contents.
41
+ * @param sourcePath 복사할 원본 경로
42
+ * @param targetPath 복사 대상 경로
43
+ * @param filter 복사 여부를 결정하는 필터 함수.
44
+ * 파일/디렉토리의 **절대 경로**가 전달된다.
45
+ * true 반환하면 복사, false 반환하면 제외한다.
46
+ * **주의**: 최상위 sourcePath 필터링 대상이 아니며,
47
+ * 필터 함수는 모든 하위 항목(직접 간접)에 재귀적으로 적용된다.
48
+ * 디렉토리에 대해 false 반환하면 해당 디렉토리와 모든 내용을 건너뛴다.
49
49
  */
50
50
  export declare function copySync(sourcePath: string, targetPath: string, filter?: (absolutePath: string) => boolean): void;
51
51
  /**
52
- * Copies a file or directory (asynchronous).
52
+ * 파일 또는 디렉토리를 복사한다 (비동기).
53
53
  *
54
- * If sourcePath does not exist, no action is performed and the function returns.
54
+ * sourcePath 존재하지 않으면 아무 작업도 수행하지 않고 반환한다.
55
55
  *
56
- * @param sourcePath Path of the source to copy
57
- * @param targetPath Destination path for the copy
58
- * @param filter A filter function that determines whether to copy.
59
- * The **absolute path** of each file/directory is passed.
60
- * Returns true to copy, false to exclude.
61
- * **Note**: The top-level sourcePath is not subject to filtering;
62
- * the filter function is applied recursively to all children (direct and indirect).
63
- * Returning false for a directory skips that directory and all its contents.
56
+ * @param sourcePath 복사할 원본 경로
57
+ * @param targetPath 복사 대상 경로
58
+ * @param filter 복사 여부를 결정하는 필터 함수.
59
+ * 파일/디렉토리의 **절대 경로**가 전달된다.
60
+ * true 반환하면 복사, false 반환하면 제외한다.
61
+ * **주의**: 최상위 sourcePath 필터링 대상이 아니며,
62
+ * 필터 함수는 모든 하위 항목(직접 간접)에 재귀적으로 적용된다.
63
+ * 디렉토리에 대해 false 반환하면 해당 디렉토리와 모든 내용을 건너뛴다.
64
64
  */
65
65
  export declare function copy(sourcePath: string, targetPath: string, filter?: (absolutePath: string) => boolean): Promise<void>;
66
66
  /**
67
- * Reads a file as a UTF-8 string.
68
- * @param targetPath - Path of the file to read
67
+ * 파일을 UTF-8 문자열로 읽는다.
68
+ * @param targetPath - 읽을 파일 경로
69
69
  */
70
70
  export declare function readSync(targetPath: string): string;
71
71
  /**
72
- * Reads a file as a UTF-8 string (asynchronous).
73
- * @param targetPath - Path of the file to read
72
+ * 파일을 UTF-8 문자열로 읽는다 (비동기).
73
+ * @param targetPath - 읽을 파일 경로
74
74
  */
75
75
  export declare function read(targetPath: string): Promise<string>;
76
76
  /**
77
- * Reads a file as a Buffer.
78
- * @param targetPath - Path of the file to read
77
+ * 파일을 Buffer로 읽는다.
78
+ * @param targetPath - 읽을 파일 경로
79
79
  */
80
80
  export declare function readBufferSync(targetPath: string): Buffer;
81
81
  /**
82
- * Reads a file as a Buffer (asynchronous).
83
- * @param targetPath - Path of the file to read
82
+ * 파일을 Buffer로 읽는다 (비동기).
83
+ * @param targetPath - 읽을 파일 경로
84
84
  */
85
85
  export declare function readBuffer(targetPath: string): Promise<Buffer>;
86
86
  /**
87
- * Reads a JSON file (using JsonConvert).
88
- * @param targetPath - Path of the JSON file to read
87
+ * JSON 파일을 읽는다 (JsonConvert 사용).
88
+ * @param targetPath - 읽을 JSON 파일 경로
89
89
  */
90
90
  export declare function readJsonSync<TData = unknown>(targetPath: string): TData;
91
91
  /**
92
- * Reads a JSON file (using JsonConvert, asynchronous).
93
- * @param targetPath - Path of the JSON file to read
92
+ * JSON 파일을 읽는다 (JsonConvert 사용, 비동기).
93
+ * @param targetPath - 읽을 JSON 파일 경로
94
94
  */
95
95
  export declare function readJson<TData = unknown>(targetPath: string): Promise<TData>;
96
96
  /**
97
- * Writes data to a file (auto-creates parent directories).
98
- * @param targetPath - Path of the file to write
99
- * @param data - Data to write (string or binary)
97
+ * 파일에 데이터를 쓴다 (상위 디렉토리 자동 생성).
98
+ * @param targetPath - 파일 경로
99
+ * @param data - 데이터 (문자열 또는 바이너리)
100
100
  */
101
101
  export declare function writeSync(targetPath: string, data: string | Uint8Array): void;
102
102
  /**
103
- * Writes data to a file (auto-creates parent directories, asynchronous).
104
- * @param targetPath - Path of the file to write
105
- * @param data - Data to write (string or binary)
103
+ * 파일에 데이터를 쓴다 (상위 디렉토리 자동 생성, 비동기).
104
+ * @param targetPath - 파일 경로
105
+ * @param data - 데이터 (문자열 또는 바이너리)
106
106
  */
107
107
  export declare function write(targetPath: string, data: string | Uint8Array): Promise<void>;
108
108
  /**
109
- * Writes data to a JSON file (using JsonConvert).
110
- * @param targetPath - Path of the JSON file to write
111
- * @param data - Data to write
112
- * @param options - JSON serialization options
109
+ * JSON 파일에 데이터를 쓴다 (JsonConvert 사용).
110
+ * @param targetPath - JSON 파일 경로
111
+ * @param data - 데이터
112
+ * @param options - JSON 직렬화 옵션
113
113
  */
114
114
  export declare function writeJsonSync(targetPath: string, data: unknown, options?: {
115
115
  replacer?: (this: unknown, key: string | undefined, value: unknown) => unknown;
116
116
  space?: string | number;
117
117
  }): void;
118
118
  /**
119
- * Writes data to a JSON file (using JsonConvert, asynchronous).
120
- * @param targetPath - Path of the JSON file to write
121
- * @param data - Data to write
122
- * @param options - JSON serialization options
119
+ * JSON 파일에 데이터를 쓴다 (JsonConvert 사용, 비동기).
120
+ * @param targetPath - JSON 파일 경로
121
+ * @param data - 데이터
122
+ * @param options - JSON 직렬화 옵션
123
123
  */
124
124
  export declare function writeJson(targetPath: string, data: unknown, options?: {
125
125
  replacer?: (this: unknown, key: string | undefined, value: unknown) => unknown;
126
126
  space?: string | number;
127
127
  }): Promise<void>;
128
128
  /**
129
- * Reads the contents of a directory.
130
- * @param targetPath - Path of the directory to read
129
+ * 디렉토리의 내용을 읽는다.
130
+ * @param targetPath - 읽을 디렉토리 경로
131
131
  */
132
132
  export declare function readdirSync(targetPath: string): string[];
133
133
  /**
134
- * Reads the contents of a directory (asynchronous).
135
- * @param targetPath - Path of the directory to read
134
+ * 디렉토리의 내용을 읽는다 (비동기).
135
+ * @param targetPath - 읽을 디렉토리 경로
136
136
  */
137
137
  export declare function readdir(targetPath: string): Promise<string[]>;
138
138
  /**
139
- * Gets file/directory information (follows symbolic links).
140
- * @param targetPath - Path to query information for
139
+ * 파일/디렉토리 정보를 가져온다 (심볼릭 링크를 따라감).
140
+ * @param targetPath - 정보를 조회할 경로
141
141
  */
142
142
  export declare function statSync(targetPath: string): fs.Stats;
143
143
  /**
144
- * Gets file/directory information (follows symbolic links, asynchronous).
145
- * @param targetPath - Path to query information for
144
+ * 파일/디렉토리 정보를 가져온다 (심볼릭 링크를 따라감, 비동기).
145
+ * @param targetPath - 정보를 조회할 경로
146
146
  */
147
147
  export declare function stat(targetPath: string): Promise<fs.Stats>;
148
148
  /**
149
- * Gets file/directory information (does not follow symbolic links).
150
- * @param targetPath - Path to query information for
149
+ * 파일/디렉토리 정보를 가져온다 (심볼릭 링크를 따라가지 않음).
150
+ * @param targetPath - 정보를 조회할 경로
151
151
  */
152
152
  export declare function lstatSync(targetPath: string): fs.Stats;
153
153
  /**
154
- * Gets file/directory information (does not follow symbolic links, asynchronous).
155
- * @param targetPath - Path to query information for
154
+ * 파일/디렉토리 정보를 가져온다 (심볼릭 링크를 따라가지 않음, 비동기).
155
+ * @param targetPath - 정보를 조회할 경로
156
156
  */
157
157
  export declare function lstat(targetPath: string): Promise<fs.Stats>;
158
158
  /**
159
- * Searches for files using a glob pattern.
160
- * @param pattern - Glob pattern (e.g., "**\/*.ts")
161
- * @param options - glob options
162
- * @returns Array of absolute paths for matched files
159
+ * Glob 패턴을 사용하여 파일을 검색한다.
160
+ * @param pattern - Glob 패턴 (예: "**\/*.ts")
161
+ * @param options - glob 옵션
162
+ * @returns 매칭된 파일의 절대 경로 배열
163
163
  */
164
164
  export declare function globSync(pattern: string, options?: GlobOptions): string[];
165
165
  /**
166
- * Searches for files using a glob pattern (asynchronous).
167
- * @param pattern - Glob pattern (e.g., "**\/*.ts")
168
- * @param options - glob options
169
- * @returns Array of absolute paths for matched files
166
+ * Glob 패턴을 사용하여 파일을 검색한다 (비동기).
167
+ * @param pattern - Glob 패턴 (예: "**\/*.ts")
168
+ * @param options - glob 옵션
169
+ * @returns 매칭된 파일의 절대 경로 배열
170
170
  */
171
171
  export declare function glob(pattern: string, options?: GlobOptions): Promise<string[]>;
172
172
  /**
173
- * Recursively searches and deletes empty directories under a specified directory.
174
- * If all child directories are deleted and a parent becomes empty, it will also be deleted.
173
+ * 지정된 디렉토리 하위의 디렉토리를 재귀적으로 검색하여 삭제한다.
174
+ * 모든 하위 디렉토리가 삭제되어 상위 디렉토리가 비게 되면, 해당 디렉토리도 삭제된다.
175
175
  */
176
176
  export declare function clearEmptyDirectory(dirPath: string): Promise<void>;
177
177
  /**
178
- * Searches for files matching a glob pattern by traversing parent directories from a start path towards the root.
179
- * Collects all file paths matching the childGlob pattern in each directory.
180
- * @param childGlob - Glob pattern to search for in each directory
181
- * @param fromPath - Path to start searching from
182
- * @param rootPath - Path to stop searching at (if not specified, searches to filesystem root).
183
- * **Note**: fromPath must be a child path of rootPath.
184
- * Otherwise, searches to the filesystem root.
178
+ * 시작 경로에서 루트 방향으로 부모 디렉토리를 순회하며 glob 패턴에 매칭되는 파일을 검색한다.
179
+ * 디렉토리에서 childGlob 패턴에 매칭되는 모든 파일 경로를 수집한다.
180
+ * @param childGlob - 디렉토리에서 검색할 glob 패턴
181
+ * @param fromPath - 검색을 시작할 경로
182
+ * @param rootPath - 검색을 중단할 경로 (지정하지 않으면 파일 시스템 루트까지 검색).
183
+ * **주의**: fromPath rootPath의 하위 경로여야 한다.
184
+ * 그렇지 않으면 파일 시스템 루트까지 검색한다.
185
185
  */
186
186
  export declare function findAllParentChildPathsSync(childGlob: string, fromPath: string, rootPath?: string): string[];
187
187
  /**
188
- * Searches for files matching a glob pattern by traversing parent directories from a start path towards the root (asynchronous).
189
- * Collects all file paths matching the childGlob pattern in each directory.
190
- * @param childGlob - Glob pattern to search for in each directory
191
- * @param fromPath - Path to start searching from
192
- * @param rootPath - Path to stop searching at (if not specified, searches to filesystem root).
193
- * **Note**: fromPath must be a child path of rootPath.
194
- * Otherwise, searches to the filesystem root.
188
+ * 시작 경로에서 루트 방향으로 부모 디렉토리를 순회하며 glob 패턴에 매칭되는 파일을 검색한다 (비동기).
189
+ * 디렉토리에서 childGlob 패턴에 매칭되는 모든 파일 경로를 수집한다.
190
+ * @param childGlob - 디렉토리에서 검색할 glob 패턴
191
+ * @param fromPath - 검색을 시작할 경로
192
+ * @param rootPath - 검색을 중단할 경로 (지정하지 않으면 파일 시스템 루트까지 검색).
193
+ * **주의**: fromPath rootPath의 하위 경로여야 한다.
194
+ * 그렇지 않으면 파일 시스템 루트까지 검색한다.
195
195
  */
196
196
  export declare function findAllParentChildPaths(childGlob: string, fromPath: string, rootPath?: string): Promise<string[]>;
197
197
  //# sourceMappingURL=fs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["..\\..\\src\\utils\\fs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAmB,KAAK,WAAW,EAA2B,MAAM,MAAM,CAAC;AAElF,OAAO,uBAAuB,CAAC;AAI/B;;;GAGG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAEtD;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOjE;AAMD;;;GAGG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAMlD;AAED;;;GAGG;AACH,wBAAsB,KAAK,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAM7D;AAMD;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAM/C;AAED;;;;GAIG;AACH,wBAAsB,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAW1D;AA6BD;;;;;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