@liner-fe/icon 0.2.31 → 0.2.33
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/lib/index.d.ts +474 -0
- package/lib/index.js +2993 -7043
- package/package.json +6 -4
- package/.DS_Store +0 -0
- package/.gitignore +0 -5
- package/.ultra.cache.json +0 -16
- package/CHANGELOG.md +0 -552
- package/config/tsup/tsup.config.ts +0 -15
- package/scripts/forward-ref-pure.ts +0 -51
- package/tsconfig.build.json +0 -25
package/package.json
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liner-fe/icon",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"
|
|
10
|
+
"lib"
|
|
11
11
|
],
|
|
12
12
|
"main": "./lib/index.js",
|
|
13
13
|
"types": "./lib/index.d.ts",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"
|
|
15
|
+
"react": "^18.2.0",
|
|
16
|
+
"@liner-fe/design-token-primitive": "^0.2.32"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"tsup": "^8.5.0",
|
|
19
|
-
"tsx": "^4.20.5"
|
|
20
|
+
"tsx": "^4.20.5",
|
|
21
|
+
"@types/react": "^18.2.0"
|
|
20
22
|
},
|
|
21
23
|
"scripts": {
|
|
22
24
|
"build": "pnpm tsup --config ./config/tsup/tsup.config.ts && pnpm forward-ref-pure",
|
package/.DS_Store
DELETED
|
Binary file
|
package/.ultra.cache.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"files": {
|
|
3
|
-
".DS_Store": "1753165768516.9148",
|
|
4
|
-
"assets": "1761199177109.4077",
|
|
5
|
-
"index.tsx": "1761204176901.8408",
|
|
6
|
-
"lib": "1761204180830.4072",
|
|
7
|
-
"node_modules": "1761203842194.2466",
|
|
8
|
-
".gitignore": "58c55a7d67f2161e09b2a19f2db26d588e658d09",
|
|
9
|
-
"CHANGELOG.md": "f1635371a46a2f8b3850c21de6dbbfcbdd874e0d",
|
|
10
|
-
"config/tsup/tsup.config.ts": "a111f817402b20feb12ff8d65c63331b197f8b9e",
|
|
11
|
-
"package.json": "4a5de365905b3547f2f963129e9b7ddb46df826f.1761203974869.0503",
|
|
12
|
-
"scripts/forward-ref-pure.ts": "e12956db676ca6e224935cde7f9beab88c2b39f4",
|
|
13
|
-
"tsconfig.build.json": "af00f0eed6650fb83dad99d4631b56052be48626"
|
|
14
|
-
},
|
|
15
|
-
"deps": { "@liner-fe/design-token-primitive": 1761204018903.5198 }
|
|
16
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,552 +0,0 @@
|
|
|
1
|
-
# @liner-fe/icon
|
|
2
|
-
|
|
3
|
-
## 0.1.30
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- e0d3092: Update Icon
|
|
8
|
-
|
|
9
|
-
## 0.1.29
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- b64afdb: Update Icon
|
|
14
|
-
|
|
15
|
-
## 0.1.28
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- b82ba21: Update Icon
|
|
20
|
-
|
|
21
|
-
## 0.1.27
|
|
22
|
-
|
|
23
|
-
### Patch Changes
|
|
24
|
-
|
|
25
|
-
- e2d8cd6: icon update
|
|
26
|
-
|
|
27
|
-
## 0.1.26
|
|
28
|
-
|
|
29
|
-
### Patch Changes
|
|
30
|
-
|
|
31
|
-
- 9dd1d60: Update Icon
|
|
32
|
-
|
|
33
|
-
## 0.1.25
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- 87c8e05: Update Icon
|
|
38
|
-
|
|
39
|
-
## 0.1.24
|
|
40
|
-
|
|
41
|
-
### Patch Changes
|
|
42
|
-
|
|
43
|
-
- 6decbb8: Update Icon
|
|
44
|
-
|
|
45
|
-
## 0.1.23
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- e900172: Update Icon
|
|
50
|
-
|
|
51
|
-
## 0.1.22
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- c945868: Update Icon
|
|
56
|
-
- e7c90b7: icon cjs 지원 삭제
|
|
57
|
-
|
|
58
|
-
## 0.1.21
|
|
59
|
-
|
|
60
|
-
### Patch Changes
|
|
61
|
-
|
|
62
|
-
- c3f595b: icon cjs 대응
|
|
63
|
-
|
|
64
|
-
## 0.1.20
|
|
65
|
-
|
|
66
|
-
### Patch Changes
|
|
67
|
-
|
|
68
|
-
- 8c51d93: icon tree shaking 지원
|
|
69
|
-
|
|
70
|
-
## 0.1.19
|
|
71
|
-
|
|
72
|
-
### Patch Changes
|
|
73
|
-
|
|
74
|
-
- f7fa240: esbuild-node-externals 삭제
|
|
75
|
-
|
|
76
|
-
## 0.1.18
|
|
77
|
-
|
|
78
|
-
### Patch Changes
|
|
79
|
-
|
|
80
|
-
- 396af24: fix: prism, icon sideEffect false
|
|
81
|
-
- Updated dependencies [6bdb555]
|
|
82
|
-
- @liner-fe/design-token-primitive@0.1.31
|
|
83
|
-
|
|
84
|
-
## 0.1.17
|
|
85
|
-
|
|
86
|
-
### Patch Changes
|
|
87
|
-
|
|
88
|
-
- e5cfc5c: ESM으로 전부 마이그레이션
|
|
89
|
-
|
|
90
|
-
## 0.1.16
|
|
91
|
-
|
|
92
|
-
### Patch Changes
|
|
93
|
-
|
|
94
|
-
- 8ee79d8: fix: icon dual package
|
|
95
|
-
|
|
96
|
-
## 0.1.15
|
|
97
|
-
|
|
98
|
-
### Patch Changes
|
|
99
|
-
|
|
100
|
-
- 68c8d33: refactor: outExtension 고정
|
|
101
|
-
|
|
102
|
-
## 0.1.14
|
|
103
|
-
|
|
104
|
-
### Patch Changes
|
|
105
|
-
|
|
106
|
-
- 7e2efc5: type module
|
|
107
|
-
|
|
108
|
-
## 0.1.13
|
|
109
|
-
|
|
110
|
-
### Patch Changes
|
|
111
|
-
|
|
112
|
-
- 01eeceb: icon export extension 수정
|
|
113
|
-
|
|
114
|
-
## 0.1.12
|
|
115
|
-
|
|
116
|
-
### Patch Changes
|
|
117
|
-
|
|
118
|
-
- 526d907: fix: fe-icon tree shaking 지원을 위해 esm으로 빌드 방식 변경
|
|
119
|
-
|
|
120
|
-
## 0.1.11
|
|
121
|
-
|
|
122
|
-
### Patch Changes
|
|
123
|
-
|
|
124
|
-
- da4db9a: fix: sideEffect 옵션 off
|
|
125
|
-
|
|
126
|
-
## 0.1.10
|
|
127
|
-
|
|
128
|
-
### Patch Changes
|
|
129
|
-
|
|
130
|
-
- f6e5fc9: 트리쉐이킹 되지 않아서 단체 export에서 개별 export로 변경
|
|
131
|
-
|
|
132
|
-
## 0.1.9
|
|
133
|
-
|
|
134
|
-
### Patch Changes
|
|
135
|
-
|
|
136
|
-
- a7c0c2c: fix: iconMap 제거해서 트리쉐이킹 지원 여부 확인
|
|
137
|
-
|
|
138
|
-
## 0.1.8
|
|
139
|
-
|
|
140
|
-
### Patch Changes
|
|
141
|
-
|
|
142
|
-
- 35a0717: 트리쉐이킹 안되는 @liner-fe/icon 모듈 삭제
|
|
143
|
-
|
|
144
|
-
## 0.1.7
|
|
145
|
-
|
|
146
|
-
### Patch Changes
|
|
147
|
-
|
|
148
|
-
- 2ab48db: icon 버그 수정
|
|
149
|
-
|
|
150
|
-
## 0.1.6
|
|
151
|
-
|
|
152
|
-
### Patch Changes
|
|
153
|
-
|
|
154
|
-
- adb29c8: Update Icon
|
|
155
|
-
|
|
156
|
-
## 0.1.5
|
|
157
|
-
|
|
158
|
-
### Patch Changes
|
|
159
|
-
|
|
160
|
-
- 1281d5b: refactor: icon type 재활용
|
|
161
|
-
|
|
162
|
-
## 0.1.4
|
|
163
|
-
|
|
164
|
-
### Patch Changes
|
|
165
|
-
|
|
166
|
-
- 70f13c5: fill type only true에서 boolean으로 변경
|
|
167
|
-
|
|
168
|
-
## 0.1.3
|
|
169
|
-
|
|
170
|
-
### Patch Changes
|
|
171
|
-
|
|
172
|
-
- 953c980: Update Icon
|
|
173
|
-
- 1261f42: icon export 수정
|
|
174
|
-
|
|
175
|
-
## 0.1.2
|
|
176
|
-
|
|
177
|
-
### Patch Changes
|
|
178
|
-
|
|
179
|
-
- 72a7ec7: icon name type에서 제거
|
|
180
|
-
|
|
181
|
-
## 0.1.1
|
|
182
|
-
|
|
183
|
-
### Patch Changes
|
|
184
|
-
|
|
185
|
-
- 4d5c15b: icon size 관련 업데이트
|
|
186
|
-
- Updated dependencies [4d5c15b]
|
|
187
|
-
- @liner-fe/design-token-primitive@0.1.30
|
|
188
|
-
|
|
189
|
-
## 0.1.0
|
|
190
|
-
|
|
191
|
-
### Minor Changes
|
|
192
|
-
|
|
193
|
-
- 7af61e3: icon tree shaking 지원
|
|
194
|
-
|
|
195
|
-
## 0.0.55
|
|
196
|
-
|
|
197
|
-
### Patch Changes
|
|
198
|
-
|
|
199
|
-
- 93ceeaf: icon update
|
|
200
|
-
|
|
201
|
-
## 0.0.54
|
|
202
|
-
|
|
203
|
-
### Patch Changes
|
|
204
|
-
|
|
205
|
-
- 8c118b8: fix: fillType 기본값 inverse label primary로
|
|
206
|
-
|
|
207
|
-
## 0.0.53
|
|
208
|
-
|
|
209
|
-
### Patch Changes
|
|
210
|
-
|
|
211
|
-
- e2ea20c: fillType 안넘어올경우 white로
|
|
212
|
-
|
|
213
|
-
## 0.0.52
|
|
214
|
-
|
|
215
|
-
### Patch Changes
|
|
216
|
-
|
|
217
|
-
- 6f88404: @liner-fe/prism icon 의존성 모두 삭제
|
|
218
|
-
|
|
219
|
-
## 0.0.51
|
|
220
|
-
|
|
221
|
-
### Patch Changes
|
|
222
|
-
|
|
223
|
-
- 1c7b1ef: @liner-fe/icon props 추가
|
|
224
|
-
|
|
225
|
-
## 0.0.50
|
|
226
|
-
|
|
227
|
-
### Patch Changes
|
|
228
|
-
|
|
229
|
-
- 4a3d20f: icon error boundary에서 없으면 로깅하게 변경
|
|
230
|
-
|
|
231
|
-
## 0.0.49
|
|
232
|
-
|
|
233
|
-
### Patch Changes
|
|
234
|
-
|
|
235
|
-
- 369b5e4: refactor: icon에 에러 바운더리 적용
|
|
236
|
-
|
|
237
|
-
## 0.0.48
|
|
238
|
-
|
|
239
|
-
### Patch Changes
|
|
240
|
-
|
|
241
|
-
- 705930f: @liner-fe/icon cjs -> tsx
|
|
242
|
-
|
|
243
|
-
## 0.0.47
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- 8549dc3: fix: icon key 타입 추론 안되는 이슈
|
|
248
|
-
|
|
249
|
-
## 0.0.46
|
|
250
|
-
|
|
251
|
-
### Patch Changes
|
|
252
|
-
|
|
253
|
-
- 4165e30: @liner-fe/icon fillType 인자 추가
|
|
254
|
-
|
|
255
|
-
## 0.0.45
|
|
256
|
-
|
|
257
|
-
### Patch Changes
|
|
258
|
-
|
|
259
|
-
- b67b85b: icon version bump
|
|
260
|
-
|
|
261
|
-
## 0.0.44
|
|
262
|
-
|
|
263
|
-
### Patch Changes
|
|
264
|
-
|
|
265
|
-
- 47b1649: icon version bump
|
|
266
|
-
|
|
267
|
-
## 0.0.43
|
|
268
|
-
|
|
269
|
-
### Patch Changes
|
|
270
|
-
|
|
271
|
-
- a289220: icon import 에러 해결
|
|
272
|
-
|
|
273
|
-
## 0.0.42
|
|
274
|
-
|
|
275
|
-
### Patch Changes
|
|
276
|
-
|
|
277
|
-
- 27547ca: fix: icon import 에러
|
|
278
|
-
|
|
279
|
-
## 0.0.41
|
|
280
|
-
|
|
281
|
-
### Patch Changes
|
|
282
|
-
|
|
283
|
-
- 127bdad: @liner-fe/icon prism 참조 삭제
|
|
284
|
-
- Updated dependencies [127bdad]
|
|
285
|
-
- @liner-fe/design-token-primitive@0.1.29
|
|
286
|
-
|
|
287
|
-
## 0.0.40
|
|
288
|
-
|
|
289
|
-
### Patch Changes
|
|
290
|
-
|
|
291
|
-
- Updated dependencies [ab86e07]
|
|
292
|
-
- @liner-fe/prism@2.6.29
|
|
293
|
-
|
|
294
|
-
## 0.0.39
|
|
295
|
-
|
|
296
|
-
### Patch Changes
|
|
297
|
-
|
|
298
|
-
- Updated dependencies [14b40c2]
|
|
299
|
-
- @liner-fe/prism@2.6.28
|
|
300
|
-
|
|
301
|
-
## 0.0.38
|
|
302
|
-
|
|
303
|
-
### Patch Changes
|
|
304
|
-
|
|
305
|
-
- b958b78: icon color 안먹는 이슈 해결
|
|
306
|
-
- Updated dependencies [b958b78]
|
|
307
|
-
- @liner-fe/prism@2.6.27
|
|
308
|
-
|
|
309
|
-
## 0.0.37
|
|
310
|
-
|
|
311
|
-
### Patch Changes
|
|
312
|
-
|
|
313
|
-
- 3bc2a98: icon button, button Icon @liner-fe/icon 참조하게 변경
|
|
314
|
-
- Updated dependencies [3bc2a98]
|
|
315
|
-
- @liner-fe/prism@2.6.26
|
|
316
|
-
|
|
317
|
-
## 0.0.36
|
|
318
|
-
|
|
319
|
-
### Patch Changes
|
|
320
|
-
|
|
321
|
-
- Updated dependencies [203ae35]
|
|
322
|
-
- @liner-fe/prism@2.6.25
|
|
323
|
-
|
|
324
|
-
## 0.0.35
|
|
325
|
-
|
|
326
|
-
### Patch Changes
|
|
327
|
-
|
|
328
|
-
- @liner-fe/prism@2.6.24
|
|
329
|
-
|
|
330
|
-
## 0.0.34
|
|
331
|
-
|
|
332
|
-
### Patch Changes
|
|
333
|
-
|
|
334
|
-
- Updated dependencies [2abd6f5]
|
|
335
|
-
- @liner-fe/prism@2.6.23
|
|
336
|
-
|
|
337
|
-
## 0.0.33
|
|
338
|
-
|
|
339
|
-
### Patch Changes
|
|
340
|
-
|
|
341
|
-
- Updated dependencies [0f1b1b8]
|
|
342
|
-
- @liner-fe/prism@2.6.22
|
|
343
|
-
|
|
344
|
-
## 0.0.32
|
|
345
|
-
|
|
346
|
-
### Patch Changes
|
|
347
|
-
|
|
348
|
-
- Updated dependencies [9261dd2]
|
|
349
|
-
- @liner-fe/prism@2.6.21
|
|
350
|
-
|
|
351
|
-
## 0.0.31
|
|
352
|
-
|
|
353
|
-
### Patch Changes
|
|
354
|
-
|
|
355
|
-
- Updated dependencies [08c146a]
|
|
356
|
-
- Updated dependencies [8f731f4]
|
|
357
|
-
- @liner-fe/prism@2.6.20
|
|
358
|
-
|
|
359
|
-
## 0.0.30
|
|
360
|
-
|
|
361
|
-
### Patch Changes
|
|
362
|
-
|
|
363
|
-
- Updated dependencies [210a121]
|
|
364
|
-
- @liner-fe/prism@2.6.19
|
|
365
|
-
|
|
366
|
-
## 0.0.29
|
|
367
|
-
|
|
368
|
-
### Patch Changes
|
|
369
|
-
|
|
370
|
-
- Updated dependencies [63a1f87]
|
|
371
|
-
- @liner-fe/prism@2.6.18
|
|
372
|
-
|
|
373
|
-
## 0.0.28
|
|
374
|
-
|
|
375
|
-
### Patch Changes
|
|
376
|
-
|
|
377
|
-
- Updated dependencies [c748e04]
|
|
378
|
-
- @liner-fe/prism@2.6.17
|
|
379
|
-
|
|
380
|
-
## 0.0.27
|
|
381
|
-
|
|
382
|
-
### Patch Changes
|
|
383
|
-
|
|
384
|
-
- 1f33746: icon className props 추가
|
|
385
|
-
- Updated dependencies [14419b6]
|
|
386
|
-
- @liner-fe/prism@2.6.16
|
|
387
|
-
|
|
388
|
-
## 0.0.26
|
|
389
|
-
|
|
390
|
-
### Patch Changes
|
|
391
|
-
|
|
392
|
-
- Updated dependencies [0c5088c]
|
|
393
|
-
- @liner-fe/prism@2.6.15
|
|
394
|
-
|
|
395
|
-
## 0.0.25
|
|
396
|
-
|
|
397
|
-
### Patch Changes
|
|
398
|
-
|
|
399
|
-
- Updated dependencies [808da37]
|
|
400
|
-
- @liner-fe/prism@2.6.14
|
|
401
|
-
|
|
402
|
-
## 0.0.24
|
|
403
|
-
|
|
404
|
-
### Patch Changes
|
|
405
|
-
|
|
406
|
-
- Updated dependencies [37f3287]
|
|
407
|
-
- @liner-fe/prism@2.6.13
|
|
408
|
-
|
|
409
|
-
## 0.0.23
|
|
410
|
-
|
|
411
|
-
### Patch Changes
|
|
412
|
-
|
|
413
|
-
- Updated dependencies [3647202]
|
|
414
|
-
- @liner-fe/prism@2.6.12
|
|
415
|
-
|
|
416
|
-
## 0.0.22
|
|
417
|
-
|
|
418
|
-
### Patch Changes
|
|
419
|
-
|
|
420
|
-
- 6f7012e: icon 호환되지 않는 props 삭제
|
|
421
|
-
|
|
422
|
-
## 0.0.21
|
|
423
|
-
|
|
424
|
-
### Patch Changes
|
|
425
|
-
|
|
426
|
-
- Updated dependencies [842a341]
|
|
427
|
-
- @liner-fe/prism@2.6.11
|
|
428
|
-
|
|
429
|
-
## 0.0.20
|
|
430
|
-
|
|
431
|
-
### Patch Changes
|
|
432
|
-
|
|
433
|
-
- a8ec733: 아이콘 추가
|
|
434
|
-
|
|
435
|
-
## 0.0.19
|
|
436
|
-
|
|
437
|
-
### Patch Changes
|
|
438
|
-
|
|
439
|
-
- Updated dependencies [7257c62]
|
|
440
|
-
- @liner-fe/prism@2.6.10
|
|
441
|
-
|
|
442
|
-
## 0.0.18
|
|
443
|
-
|
|
444
|
-
### Patch Changes
|
|
445
|
-
|
|
446
|
-
- Updated dependencies [5bab263]
|
|
447
|
-
- @liner-fe/prism@2.6.9
|
|
448
|
-
|
|
449
|
-
## 0.0.17
|
|
450
|
-
|
|
451
|
-
### Patch Changes
|
|
452
|
-
|
|
453
|
-
- Updated dependencies [f08c3ba]
|
|
454
|
-
- @liner-fe/prism@2.6.8
|
|
455
|
-
|
|
456
|
-
## 0.0.16
|
|
457
|
-
|
|
458
|
-
### Patch Changes
|
|
459
|
-
|
|
460
|
-
- Updated dependencies [1955cde]
|
|
461
|
-
- @liner-fe/prism@2.6.7
|
|
462
|
-
|
|
463
|
-
## 0.0.15
|
|
464
|
-
|
|
465
|
-
### Patch Changes
|
|
466
|
-
|
|
467
|
-
- Updated dependencies [f2c8846]
|
|
468
|
-
- @liner-fe/prism@2.6.6
|
|
469
|
-
|
|
470
|
-
## 0.0.14
|
|
471
|
-
|
|
472
|
-
### Patch Changes
|
|
473
|
-
|
|
474
|
-
- Updated dependencies [372ee42]
|
|
475
|
-
- @liner-fe/prism@2.6.5
|
|
476
|
-
|
|
477
|
-
## 0.0.13
|
|
478
|
-
|
|
479
|
-
### Patch Changes
|
|
480
|
-
|
|
481
|
-
- b264535: [refactor] Icon 컴포넌트 forwardRef 지원하도록 수정
|
|
482
|
-
|
|
483
|
-
## 0.0.12
|
|
484
|
-
|
|
485
|
-
### Patch Changes
|
|
486
|
-
|
|
487
|
-
- Updated dependencies [1b3d4ea]
|
|
488
|
-
- Updated dependencies [c2db8f0]
|
|
489
|
-
- @liner-fe/prism@2.6.4
|
|
490
|
-
|
|
491
|
-
## 0.0.11
|
|
492
|
-
|
|
493
|
-
### Patch Changes
|
|
494
|
-
|
|
495
|
-
- 9e742a7: icon forwardRef 추가
|
|
496
|
-
|
|
497
|
-
## 0.0.10
|
|
498
|
-
|
|
499
|
-
### Patch Changes
|
|
500
|
-
|
|
501
|
-
- @liner-fe/prism@2.6.3
|
|
502
|
-
|
|
503
|
-
## 0.0.9
|
|
504
|
-
|
|
505
|
-
### Patch Changes
|
|
506
|
-
|
|
507
|
-
- Updated dependencies [f9da481]
|
|
508
|
-
- @liner-fe/prism@2.6.2
|
|
509
|
-
|
|
510
|
-
## 0.0.8
|
|
511
|
-
|
|
512
|
-
### Patch Changes
|
|
513
|
-
|
|
514
|
-
- Updated dependencies [9d9186e]
|
|
515
|
-
- @liner-fe/prism@2.6.1
|
|
516
|
-
|
|
517
|
-
## 0.0.7
|
|
518
|
-
|
|
519
|
-
### Patch Changes
|
|
520
|
-
|
|
521
|
-
- Updated dependencies [00ab44f]
|
|
522
|
-
- @liner-fe/prism@2.6.0
|
|
523
|
-
|
|
524
|
-
## 0.0.6
|
|
525
|
-
|
|
526
|
-
### Patch Changes
|
|
527
|
-
|
|
528
|
-
- 7dd4b4a: Update Icon
|
|
529
|
-
|
|
530
|
-
## 0.0.5
|
|
531
|
-
|
|
532
|
-
### Patch Changes
|
|
533
|
-
|
|
534
|
-
- 1016802: fix: props
|
|
535
|
-
|
|
536
|
-
## 0.0.4
|
|
537
|
-
|
|
538
|
-
### Patch Changes
|
|
539
|
-
|
|
540
|
-
- 06013e4: fix: icon 컬러 변경 안되는 이슈
|
|
541
|
-
|
|
542
|
-
## 0.0.3
|
|
543
|
-
|
|
544
|
-
### Patch Changes
|
|
545
|
-
|
|
546
|
-
- 7c833dd: icon update
|
|
547
|
-
|
|
548
|
-
## 0.0.2
|
|
549
|
-
|
|
550
|
-
### Patch Changes
|
|
551
|
-
|
|
552
|
-
- 89d90a1: icon 패키지 배포
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsup';
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: ['index.tsx'],
|
|
5
|
-
outDir: 'lib',
|
|
6
|
-
format: 'esm',
|
|
7
|
-
clean: true,
|
|
8
|
-
tsconfig: './tsconfig.build.json',
|
|
9
|
-
platform: 'neutral',
|
|
10
|
-
dts: true,
|
|
11
|
-
treeshake: true,
|
|
12
|
-
// @liner-fe/templates의 Storybook이 동작하지 않는 이슈가 있어서 비활성화
|
|
13
|
-
// 멀티 레포 환경에서는 되는데 왜 안되는지 모르겠음
|
|
14
|
-
skipNodeModulesBundle: process.env.CI === 'true',
|
|
15
|
-
});
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import fs from 'fs';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import { fileURLToPath } from 'url';
|
|
4
|
-
|
|
5
|
-
// TypeScript/JavaScript 파일에서 forwardRef 앞에 /* @__PURE__ */ 주석을 추가하는 함수
|
|
6
|
-
function addPureAnnotationToForwardRef(filePath: string): void {
|
|
7
|
-
const content = fs.readFileSync(filePath, 'utf-8');
|
|
8
|
-
|
|
9
|
-
// forwardRef 앞에 이미 /* @__PURE__ */ 주석이 있는지 확인하고, 없으면 추가
|
|
10
|
-
const forwardRefPattern = /(?<!\/\*\s*@__PURE__\s*\*\/\s*)forwardRef/g;
|
|
11
|
-
|
|
12
|
-
if (forwardRefPattern.test(content)) {
|
|
13
|
-
const updatedContent = content.replace(
|
|
14
|
-
/(?<!\/\*\s*@__PURE__\s*\*\/\s*)forwardRef/g,
|
|
15
|
-
'/* @__PURE__ */ forwardRef',
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
if (updatedContent !== content) {
|
|
19
|
-
fs.writeFileSync(filePath, updatedContent);
|
|
20
|
-
console.log(`✅ Updated: ${filePath}`);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// 메인 실행 함수
|
|
26
|
-
function main(): void {
|
|
27
|
-
try {
|
|
28
|
-
// 특정 파일 경로
|
|
29
|
-
const targetFile = './lib/index.js';
|
|
30
|
-
|
|
31
|
-
if (!fs.existsSync(targetFile)) {
|
|
32
|
-
console.error(`❌ File not found: ${targetFile}`);
|
|
33
|
-
process.exit(1);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
console.log(`🔍 Processing file: ${targetFile}`);
|
|
37
|
-
|
|
38
|
-
addPureAnnotationToForwardRef(targetFile);
|
|
39
|
-
|
|
40
|
-
console.log('✨ Processing completed!');
|
|
41
|
-
} catch (error) {
|
|
42
|
-
console.error('❌ Error:', error);
|
|
43
|
-
process.exit(1);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// ES 모듈에서 스크립트 직접 실행 체크
|
|
48
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
49
|
-
if (process.argv[1] === __filename) {
|
|
50
|
-
main();
|
|
51
|
-
}
|
package/tsconfig.build.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../tsconfig.base.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "ESNext",
|
|
5
|
-
"emitDeclarationOnly": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"allowJs": true,
|
|
8
|
-
"incremental": false,
|
|
9
|
-
"jsx": "react-jsx",
|
|
10
|
-
"rootDir": ".",
|
|
11
|
-
"outDir": "lib",
|
|
12
|
-
"module": "ESNext",
|
|
13
|
-
"esModuleInterop": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"declaration": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"noImplicitAny": true,
|
|
18
|
-
"moduleResolution": "Bundler",
|
|
19
|
-
"paths": {
|
|
20
|
-
"@/*": ["./src/*"]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"include": ["**/*.ts", "**/*.tsx"],
|
|
24
|
-
"exclude": ["node_modules", "lib"]
|
|
25
|
-
}
|