@breadstone-infrastructure/utilities 0.0.65 → 0.0.67

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 (3) hide show
  1. package/CHANGELOG.md +403 -0
  2. package/README.md +139 -0
  3. package/package.json +2 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,403 @@
1
+ ## 0.0.66 (2025-06-25)
2
+
3
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
4
+
5
+ ## 0.0.65 (2025-06-25)
6
+
7
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
8
+
9
+ ## 0.0.64 (2025-06-25)
10
+
11
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
12
+
13
+ ## 0.0.63 (2025-06-24)
14
+
15
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
16
+
17
+ ## 0.0.62 (2025-06-24)
18
+
19
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
20
+
21
+ ## 0.0.61 (2025-06-24)
22
+
23
+ ### 🚀 Features
24
+
25
+ - Add formatter property to Jumbotron components and update related files ([9ae59c7ff9](https://github.com/RueDeRennes/mosaik/commit/9ae59c7ff9))
26
+
27
+ ## 0.0.60 (2025-06-23)
28
+
29
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
30
+
31
+ ## 0.0.59 (2025-06-23)
32
+
33
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
34
+
35
+ ## 0.0.58 (2025-06-23)
36
+
37
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
38
+
39
+ ## 0.0.57 (2025-06-23)
40
+
41
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
42
+
43
+ ## 0.0.56 (2025-06-23)
44
+
45
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
46
+
47
+ ## 0.0.55 (2025-06-23)
48
+
49
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
50
+
51
+ ## 0.0.54 (2025-06-23)
52
+
53
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
54
+
55
+ ## 0.0.53 (2025-06-23)
56
+
57
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
58
+
59
+ ## 0.0.52 (2025-06-23)
60
+
61
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
62
+
63
+ ## 0.0.51 (2025-06-23)
64
+
65
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
66
+
67
+ ## 0.0.50 (2025-06-23)
68
+
69
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
70
+
71
+ ## 0.0.49 (2025-06-22)
72
+
73
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
74
+
75
+ ## 0.0.48 (2025-06-22)
76
+
77
+ ### 🚀 Features
78
+
79
+ - Introduce Indicator component across multiple frameworks ([7ef850c39d](https://github.com/RueDeRennes/mosaik/commit/7ef850c39d))
80
+
81
+ ## 0.0.47 (2025-06-22)
82
+
83
+ ### 🩹 Fixes
84
+
85
+ - update release version to 0.0.47 in package.json ([5a277d2d1d](https://github.com/RueDeRennes/mosaik/commit/5a277d2d1d))
86
+ - correct spelling of 'HTML' in keywords and add new article on `part` attributes ([cd5b688a5c](https://github.com/RueDeRennes/mosaik/commit/cd5b688a5c))
87
+ - correct quotation marks in attribute selector examples for consistency ([078a6c9289](https://github.com/RueDeRennes/mosaik/commit/078a6c9289))
88
+ - correct quotation marks in markdown article and improve blockquote rendering in MarkdownRenderer ([09442e4509](https://github.com/RueDeRennes/mosaik/commit/09442e4509))
89
+
90
+ ## 0.0.46 (2025-06-20)
91
+
92
+ ### 🚀 Features
93
+
94
+ - implement animation directive and provider with presets ([09550b6633](https://github.com/RueDeRennes/mosaik/commit/09550b6633))
95
+
96
+ ## 0.0.45 (2025-06-20)
97
+
98
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
99
+
100
+ ## 0.0.44 (2025-06-20)
101
+
102
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
103
+
104
+ ## 0.0.43 (2025-06-20)
105
+
106
+ ### 🚀 Features
107
+
108
+ - Add Svelte support with SvelteCodeGenerator and update build scripts ([955cb75cb6](https://github.com/RueDeRennes/mosaik/commit/955cb75cb6))
109
+ - Add new Svelte components for menu, segment, tab, table, tree, wizard, and shell ([e6de8f0553](https://github.com/RueDeRennes/mosaik/commit/e6de8f0553))
110
+
111
+ ## 0.0.42 (2025-06-20)
112
+
113
+ ### 🩹 Fixes
114
+
115
+ - update release script to version 0.0.41 ([88efd1b9ca](https://github.com/RueDeRennes/mosaik/commit/88efd1b9ca))
116
+
117
+ ## 0.0.41 (2025-06-19)
118
+
119
+ ### 🚀 Features
120
+
121
+ - add comprehensive article on using const vs enums in TypeScript with Angular templates ([8db46644e3](https://github.com/RueDeRennes/mosaik/commit/8db46644e3))
122
+
123
+ ### 🩹 Fixes
124
+
125
+ - update const vs enum article to use string literals for WorkType values ([3eb355434e](https://github.com/RueDeRennes/mosaik/commit/3eb355434e))
126
+ - correct quotation marks in best practices section of const vs enum article ([df4187ec19](https://github.com/RueDeRennes/mosaik/commit/df4187ec19))
127
+ - update backdrop image URLs in const vs enum article ([e05a779a0a](https://github.com/RueDeRennes/mosaik/commit/e05a779a0a))
128
+
129
+ ## 0.0.40 (2025-06-18)
130
+
131
+ ### 🚀 Features
132
+
133
+ - add localizator-core dependency and update build dependencies in project configuration ([077a2cd1d9](https://github.com/RueDeRennes/mosaik/commit/077a2cd1d9))
134
+ - enhance file system operations with path validation and update localizator plugin ([be66acdaa0](https://github.com/RueDeRennes/mosaik/commit/be66acdaa0))
135
+
136
+ ## 0.0.39 (2025-06-17)
137
+
138
+ ### 🩹 Fixes
139
+
140
+ - update release version to 0.0.38 in package.json and improve description formatting in Meta.g.json ([edbd04421c](https://github.com/RueDeRennes/mosaik/commit/edbd04421c))
141
+
142
+ ## 0.0.38 (2025-06-17)
143
+
144
+ ### 🚀 Features
145
+
146
+ - add comprehensive guide on the power of regions in TypeScript for improved code organization ([564b600288](https://github.com/RueDeRennes/mosaik/commit/564b600288))
147
+
148
+ ### 🩹 Fixes
149
+
150
+ - correct formatting of region comments and quote attribution for clarity ([952d90f14b](https://github.com/RueDeRennes/mosaik/commit/952d90f14b))
151
+ - update provideTheme function to simplify overrides and adjust merge function ([0359c488be](https://github.com/RueDeRennes/mosaik/commit/0359c488be))
152
+
153
+ ## 0.0.37 (2025-06-17)
154
+
155
+ ### 🩹 Fixes
156
+
157
+ - update provideTheme to useValue for theme and mode signals ([5a7b509869](https://github.com/RueDeRennes/mosaik/commit/5a7b509869))
158
+
159
+ ## 0.0.35 (2025-06-17)
160
+
161
+ ### 🚀 Features
162
+
163
+ - add theme provider for angular ([04568d1528](https://github.com/RueDeRennes/mosaik/commit/04568d1528))
164
+
165
+ ## 0.0.34 (2025-06-17)
166
+
167
+ ### 🩹 Fixes
168
+
169
+ - update release script to version 0.0.33 ([0954fadfa3](https://github.com/RueDeRennes/mosaik/commit/0954fadfa3))
170
+
171
+ ## 0.0.33 (2025-06-16)
172
+
173
+ ### 🚀 Features
174
+
175
+ - add 'Code' and 'TypeScript' keywords to various documentation files for improved discoverability ([7ac3c152dd](https://github.com/RueDeRennes/mosaik/commit/7ac3c152dd))
176
+ - add "The Dependency Forest" article on dependency management challenges in Angular ([d129b84490](https://github.com/RueDeRennes/mosaik/commit/d129b84490))
177
+ - add translation command and integrate translation functionality in BlogBaseElement ([7e166a6bea](https://github.com/RueDeRennes/mosaik/commit/7e166a6bea))
178
+ - enhance blog and translation features with interview type and language flags ([9aff64d29b](https://github.com/RueDeRennes/mosaik/commit/9aff64d29b))
179
+ - update interview content and add StickyController metadata in JSON ([c39d970be6](https://github.com/RueDeRennes/mosaik/commit/c39d970be6))
180
+ - add YouTube video rendering support in MarkdownRenderer ([723610d3c8](https://github.com/RueDeRennes/mosaik/commit/723610d3c8))
181
+ - Add new translation for "Open with" in code section ([e1b84033bc](https://github.com/RueDeRennes/mosaik/commit/e1b84033bc))
182
+ - create Playground components for testing Markdown features ([738f61002f](https://github.com/RueDeRennes/mosaik/commit/738f61002f))
183
+ - add PinchController for gesture recognition and enhance DiagramElement with centering functionality ([c3feb9a789](https://github.com/RueDeRennes/mosaik/commit/c3feb9a789))
184
+ - **docs:** Update documentation with new sections, descriptions, and examples for clarity and usability ([c32ff5f976](https://github.com/RueDeRennes/mosaik/commit/c32ff5f976))
185
+ - **docs:** Enhance MVP pattern documentation with detailed explanations and examples ([e3c97f1368](https://github.com/RueDeRennes/mosaik/commit/e3c97f1368))
186
+ - Implement sticky positioning directive and controller, enhance scrolling functionality in Scroller class ([148f07916e](https://github.com/RueDeRennes/mosaik/commit/148f07916e))
187
+ - Enhance MVP documentation and examples across multiple frameworks ([cfabea14a3](https://github.com/RueDeRennes/mosaik/commit/cfabea14a3))
188
+ - add backdrop images and enhance ArticlesView with documentation grouping ([af72ff74cd](https://github.com/RueDeRennes/mosaik/commit/af72ff74cd))
189
+ - add images and enhance Markdown documentation with improved layout and structure ([1eaac2125f](https://github.com/RueDeRennes/mosaik/commit/1eaac2125f))
190
+ - enhance Markdown components with improved styling and layout variables ([780d383b31](https://github.com/RueDeRennes/mosaik/commit/780d383b31))
191
+ - **markdowner:** enhance Markdown processing with new extension structure and build integration ([0c08852146](https://github.com/RueDeRennes/mosaik/commit/0c08852146))
192
+ - Enhance Markdown processing with new features and improvements ([534983c407](https://github.com/RueDeRennes/mosaik/commit/534983c407))
193
+ - refactor text overflow handling and enhance Markdown component styles ([62bb601fc7](https://github.com/RueDeRennes/mosaik/commit/62bb601fc7))
194
+ - update metadata structure in documentation and improve avatar and chip components ([007bd05bea](https://github.com/RueDeRennes/mosaik/commit/007bd05bea))
195
+ - update markdown files to use structured keywords and add author information ([d0df1b883f](https://github.com/RueDeRennes/mosaik/commit/d0df1b883f))
196
+
197
+ ### 🩹 Fixes
198
+
199
+ - update markdowner-core dependency to use workspace reference for consistency ([518dffba42](https://github.com/RueDeRennes/mosaik/commit/518dffba42))
200
+ - change progress/ring/bar number properties to cssLength for simpler data binding ([d15e88f0c9](https://github.com/RueDeRennes/mosaik/commit/d15e88f0c9))
201
+ - update checkbox styles by removing unnecessary padding and border properties feat: add YouTube video embed and quote to interview markdown fix: adjust marker color in markdown styles for better visibility ([1284a2bcff](https://github.com/RueDeRennes/mosaik/commit/1284a2bcff))
202
+ - correct quotes in interview markdown and enhance closing statements ([8d0e7134ba](https://github.com/RueDeRennes/mosaik/commit/8d0e7134ba))
203
+ - correct formatting and update YouTube link in interview markdown ([2b430a99bc](https://github.com/RueDeRennes/mosaik/commit/2b430a99bc))
204
+
205
+ ## 0.0.32 (2025-06-05)
206
+
207
+ ### 🚀 Features
208
+
209
+ - **docs): enhance keyword metadata across documentation files for improved searchability and context feat(Markdown): update MarkdownElement and MarkdownRenderer for better handling of text and code blocks fix(DocsService): refine getDocsTree method for improved documentation hierarchy and sorting fix(staticContent:** add meta information to static content registration for enhanced metadata handling ([789875e05d](https://github.com/RueDeRennes/mosaik/commit/789875e05d))
210
+ - **build:** add vite-plugins build step to deployment script; enhance MarkdownElement and DocsService for better handling of documentation and Markdown sources ([619a32e38b](https://github.com/RueDeRennes/mosaik/commit/619a32e38b))
211
+ - **router:** enhance routing components with role attributes and update templates for better accessibility; refactor RouterController and RouterLinkDirective for improved functionality ([63b32829f1](https://github.com/RueDeRennes/mosaik/commit/63b32829f1))
212
+ - **router:** add RouterLinkDirective for dynamic link generation ([ab2e98ed50](https://github.com/RueDeRennes/mosaik/commit/ab2e98ed50))
213
+ - enhance package service and controller to support history retrieval with optional limit; update translations and styles for package explorer ([71efae2557](https://github.com/RueDeRennes/mosaik/commit/71efae2557))
214
+ - implement ShieldElement with template, style, and props; enhance package metadata and history models ([de73abbc76](https://github.com/RueDeRennes/mosaik/commit/de73abbc76))
215
+ - enhance package service and models with metadata and history retrieval ([05c98c197d](https://github.com/RueDeRennes/mosaik/commit/05c98c197d))
216
+ - add package manager installation step in CI workflow ([d8453719df](https://github.com/RueDeRennes/mosaik/commit/d8453719df))
217
+ - add eslint config build step to the dev deployment workflow ([c831986474](https://github.com/RueDeRennes/mosaik/commit/c831986474))
218
+
219
+ ### 🩹 Fixes
220
+
221
+ - **docs:** update route in command-pattern-vue.md for correct path; remove outdated mvp.requirements.md file; add comprehensive requirements documentation ([12dd351358](https://github.com/RueDeRennes/mosaik/commit/12dd351358))
222
+ - **build:** reorder build steps in deployment script for clarity and consistency ([4e746f0b36](https://github.com/RueDeRennes/mosaik/commit/4e746f0b36))
223
+ - update build commands in CI workflows to use 'yarn nx run' syntax ([a38e725929](https://github.com/RueDeRennes/mosaik/commit/a38e725929))
224
+ - update description of mosaik-api in README.md for clarity ([478b4c5177](https://github.com/RueDeRennes/mosaik/commit/478b4c5177))
225
+ - remove verbose flag from mosaik app build command ([f8f2b53714](https://github.com/RueDeRennes/mosaik/commit/f8f2b53714))
226
+
227
+ ## 0.0.31 (2025-05-28)
228
+
229
+ ### 🚀 Features
230
+
231
+ - add component selector to various sample elements for better integration ([3eb465fed5](https://github.com/RueDeRennes/mosaik/commit/3eb465fed5))
232
+ - Enhance sandbox functionality and UI improvements ([c45d7ca09b](https://github.com/RueDeRennes/mosaik/commit/c45d7ca09b))
233
+ - Implement ProjectionController for managing projected content in portals ([1bc46717b5](https://github.com/RueDeRennes/mosaik/commit/1bc46717b5))
234
+ - add TableFooter component and related styles ([85d9e96af5](https://github.com/RueDeRennes/mosaik/commit/85d9e96af5))
235
+ - Refactor CheckBoxGroupSample and TextBoxSample components for improved property formatting ([b0fcc7502e](https://github.com/RueDeRennes/mosaik/commit/b0fcc7502e))
236
+
237
+ ### 🩹 Fixes
238
+
239
+ - add missing newline at end of package.json ([713cb1f983](https://github.com/RueDeRennes/mosaik/commit/713cb1f983))
240
+
241
+ ## 0.0.30 (2025-05-20)
242
+
243
+ ### 🩹 Fixes
244
+
245
+ - simplify condition checks and remove unnecessary styles in various components ([41e6b5d8a9](https://github.com/RueDeRennes/mosaik/commit/41e6b5d8a9))
246
+
247
+ ## 0.0.29 (2025-05-20)
248
+
249
+ ### 🩹 Fixes
250
+
251
+ - update release script to version 0.0.28 ([baaef44d1d](https://github.com/RueDeRennes/mosaik/commit/baaef44d1d))
252
+
253
+ ## 0.0.28 (2025-05-20)
254
+
255
+ ### 🩹 Fixes
256
+
257
+ - add missing newline at end of package.json ([39f2f1c578](https://github.com/RueDeRennes/mosaik/commit/39f2f1c578))
258
+
259
+ ## 0.0.27 (2025-05-20)
260
+
261
+ ### 🚀 Features
262
+
263
+ - add default values for boolean attributes across various components ([899d593ba5](https://github.com/RueDeRennes/mosaik/commit/899d593ba5))
264
+ - update release script to version 0.0.26 ([11e2fdbc4f](https://github.com/RueDeRennes/mosaik/commit/11e2fdbc4f))
265
+
266
+ ### 🩹 Fixes
267
+
268
+ - update TabStrip and TreeItem styles to handle disabled state correctly ([ecb60798db](https://github.com/RueDeRennes/mosaik/commit/ecb60798db))
269
+
270
+ ## 0.0.26 (2025-05-19)
271
+
272
+ ### 🚀 Features
273
+
274
+ - update release script to version 0.0.25 ([930ba60eb4](https://github.com/RueDeRennes/mosaik/commit/930ba60eb4))
275
+
276
+ ## 0.0.25 (2025-05-19)
277
+
278
+ ### 🚀 Features
279
+
280
+ - update version to 0.0.24 and remove prefix/suffix styles from various components ([d061c7f8cd](https://github.com/RueDeRennes/mosaik/commit/d061c7f8cd))
281
+
282
+ ## 0.0.24 (2025-05-19)
283
+
284
+ ### 🚀 Features
285
+
286
+ - update appearance of input components and add textAlign property ([5f7321b7a8](https://github.com/RueDeRennes/mosaik/commit/5f7321b7a8))
287
+
288
+ ## 0.0.23 (2025-05-19)
289
+
290
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
291
+
292
+ ## 0.0.22 (2025-05-18)
293
+
294
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
295
+
296
+ ## 0.0.21 (2025-05-18)
297
+
298
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
299
+
300
+ ## 0.0.20 (2025-05-18)
301
+
302
+ ### 🩹 Fixes
303
+
304
+ - update release version to 0.0.19 in package.json ([acccb56f76](https://github.com/RueDeRennes/mosaik/commit/acccb56f76))
305
+
306
+ ## 0.0.19 (2025-05-18)
307
+
308
+ ### 🩹 Fixes
309
+
310
+ - add missing newline at end of package.json ([43ce0e6a3b](https://github.com/RueDeRennes/mosaik/commit/43ce0e6a3b))
311
+
312
+ ## 0.0.18 (2025-05-18)
313
+
314
+ ### 🩹 Fixes
315
+
316
+ - correct spelling of 'getScrollableElement' and remove unused method ([72e17ecc7a](https://github.com/RueDeRennes/mosaik/commit/72e17ecc7a))
317
+
318
+ ## 0.0.17 (2025-05-18)
319
+
320
+ ### 🚀 Features
321
+
322
+ - add Invalidable behavior and validity check to components ([893bb30b3b](https://github.com/RueDeRennes/mosaik/commit/893bb30b3b))
323
+
324
+ ## 0.0.16 (2025-05-17)
325
+
326
+ ### 🩹 Fixes
327
+
328
+ - correct spelling of 'success' in logSummary parameter documentation chore: update release script version to 0.0.16 chore: add 'keyhandle' to cspell words ([1a9d5e8732](https://github.com/RueDeRennes/mosaik/commit/1a9d5e8732))
329
+
330
+ ## 0.0.15 (2025-05-16)
331
+
332
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
333
+
334
+ ## 0.0.14 (2025-05-16)
335
+
336
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
337
+
338
+ ## 0.0.13 (2025-05-16)
339
+
340
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
341
+
342
+ ## 0.0.12-beta.13 (2025-05-16)
343
+
344
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
345
+
346
+ ## 0.0.12-beta.12 (2025-05-16)
347
+
348
+ This was a version bump only for utilities to align it with other projects, there were no code changes.
349
+
350
+ ## 0.0.12-beta.11 (2025-05-13)
351
+
352
+ ### 🚀 Features
353
+
354
+ - **eslint:** add TypeScript ESLint configuration with comprehensive ruleset ([4d7a0d88b7](https://github.com/RueDeRennes/mosaik/commit/4d7a0d88b7))
355
+ - Add Insetable behavior and update BoxElement styles ([ca740ab5f2](https://github.com/RueDeRennes/mosaik/commit/ca740ab5f2))
356
+ - add exports field to package.json and implement transformExports function ([99f3fbe3f1](https://github.com/RueDeRennes/mosaik/commit/99f3fbe3f1))
357
+
358
+ ### 🩹 Fixes
359
+
360
+ - correct spelling errors in README and update release version in package.json ([922364afec](https://github.com/RueDeRennes/mosaik/commit/922364afec))
361
+ - different themes and styles ([917e55212d](https://github.com/RueDeRennes/mosaik/commit/917e55212d))
362
+ - add missing words to cSpell configuration ([933dd56139](https://github.com/RueDeRennes/mosaik/commit/933dd56139))
363
+ - correct spelling errors and improve property names in interfaces and components ([e7edf69f3e](https://github.com/RueDeRennes/mosaik/commit/e7edf69f3e))
364
+
365
+ ## 0.0.12-beta.9 (2025-05-07)
366
+
367
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
368
+
369
+ ## 0.0.12-beta.8 (2025-05-07)
370
+
371
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
372
+
373
+ ## 0.0.12-beta.7 (2025-05-07)
374
+
375
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
376
+
377
+ ## 0.0.12-beta.6 (2025-05-07)
378
+
379
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
380
+
381
+ ## 0.0.12-beta.5 (2025-05-07)
382
+
383
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
384
+
385
+ ## 0.0.12-beta.3 (2025-05-07)
386
+
387
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
388
+
389
+ ## 0.0.12-beta.1 (2025-05-07)
390
+
391
+ This was a version bump only for infra-utilities to align it with other projects, there were no code changes.
392
+
393
+ ## 0.0.12-beta.0 (2025-05-07)
394
+
395
+ ### 🚀 Features
396
+
397
+ - enhance project configurations with inputs and outputs for build targets ([6f80d15bda](https://github.com/RueDeRennes/mosaik/commit/6f80d15bda))
398
+
399
+ ## 0.0.2-beta.0 (2025-05-06)
400
+
401
+ ### 🚀 Features
402
+
403
+ - enhance project configurations with inputs and outputs for build targets ([6f80d15bda](https://github.com/RueDeRennes/mosaik/commit/6f80d15bda))
package/README.md ADDED
@@ -0,0 +1,139 @@
1
+ # @breadstone-infrastructure/utilities
2
+
3
+ **Common utility classes and functions for Breadstone projects.**
4
+ This package provides a rich set of utilities for CLI programs, file system operations, logging, dependency injection, and more.
5
+ It is designed for use in Node.js/TypeScript monorepos and is part of the Breadstone Nx workspace.
6
+
7
+ ---
8
+
9
+ ## Features
10
+
11
+ - **CLI Framework**: Build robust CLI tools with argument parsing, command registration, and configuration.
12
+ - **File System Utilities**: High-level APIs for files, directories, globs, JSON, RESX, templates, and more.
13
+ - **Logging**: Flexible logger with colorized output, log levels, appenders, and advanced formatting.
14
+ - **Dependency Injection**: Lightweight DI container for modular, testable code.
15
+ - **System Utilities**: Helpers for strings, arrays, numbers, guards, formatting, and more.
16
+ - **TypeScript-first**: Fully typed, modern codebase.
17
+ - **Nx Workspace**: Built for scalable, maintainable monorepo development.
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ ```sh
24
+ yarn add @breadstone-infrastructure/utilities
25
+ # or
26
+ npm install @breadstone-infrastructure/utilities
27
+ ```
28
+
29
+ ---
30
+
31
+ ## Usage
32
+
33
+ Import and use utilities in your TypeScript/Node.js projects:
34
+
35
+ ```ts
36
+ import { Program, Logger, File, Directory, Path, ConsoleLogger } from '@breadstone-infrastructure/utilities';
37
+
38
+ // CLI Example
39
+ class MyCli extends Program {
40
+ // ...
41
+ }
42
+
43
+ // Logging Example
44
+ Logger.configure({ isDebug: true });
45
+ Logger.instance().logInfo('Hello, world!');
46
+
47
+ // File System Example
48
+ const files = File.glob('src/**/*.ts');
49
+ const content = File.readAllText(files[0]);
50
+ ```
51
+
52
+ ---
53
+
54
+ ## API Overview
55
+
56
+ ### CLI
57
+
58
+ - `Program` – Abstract base for CLI programs.
59
+ - `ProgramBuilder` – Fluent builder for CLI programs.
60
+ - `ProgramCommandBase` – Base class for CLI commands.
61
+ - Argument and command interfaces for strong typing.
62
+
63
+ ### File System
64
+
65
+ - `File`, `Directory`, `Path` – High-level file and directory operations.
66
+ - `Json`, `Resx`, `Template` – Parse and generate JSON, RESX, and template files.
67
+ - `FileSystem`, `FileCache` – Abstracted file system and caching (vNext).
68
+ - `TemporaryFile`, `TemporaryDirectory` – Easy temp file/dir management.
69
+
70
+ ### Logging
71
+
72
+ - `Logger` – Configurable logger with log levels, color, and appenders.
73
+ - `ConsoleLogger` – Simple console logger (vNext).
74
+ - `LoggerUtils` – Helpers for logging trees, summaries, etc.
75
+ - `logSeparator`, `logTree`, `logTag`, `logSummary`, `logPair`, `logTask`, `logBanner` – Advanced log formatting.
76
+
77
+ ### Dependency Injection
78
+
79
+ - `Container` – DI container for registering and resolving dependencies.
80
+ - `inject` – Helper for dependency injection.
81
+
82
+ ### System Utilities
83
+
84
+ - `StringExtensions`, `ArrayExtensions`, `AssignExtensions`, `Boolean`, `Formatter`, `Guard`, etc.
85
+
86
+ ---
87
+
88
+ ## Example: CLI Program
89
+
90
+ ```ts
91
+ import { Program, ProgramCommandBase } from '@breadstone-infrastructure/utilities';
92
+
93
+ class HelloCommand extends ProgramCommandBase {
94
+ get name() { return 'hello'; }
95
+ get args() { return []; }
96
+ async execute() {
97
+ console.log('Hello from CLI!');
98
+ return { canceled: false, result: undefined };
99
+ }
100
+ }
101
+
102
+ class MyCli extends Program {
103
+ constructor() {
104
+ super({ description: 'My CLI' });
105
+ this.commands.register('hello', HelloCommand);
106
+ }
107
+ }
108
+
109
+ new MyCli().init().then(cli => cli.run());
110
+ ```
111
+
112
+ ---
113
+
114
+ ## Nx Workspace
115
+
116
+ This package is part of the Breadstone Nx monorepo.
117
+ Use Nx for building, testing, and managing dependencies:
118
+
119
+ ```sh
120
+ npx nx run utilities:build
121
+ npx nx run utilities:test
122
+ ```
123
+
124
+ ---
125
+
126
+ ## Development
127
+
128
+ - Written in TypeScript.
129
+ - Linting: `yarn lint`
130
+ - Testing: `yarn test`
131
+ - Build: `yarn build`
132
+
133
+ ---
134
+
135
+ ## License
136
+
137
+ MIT © Breadstone
138
+
139
+ ---
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@breadstone-infrastructure/utilities",
3
3
  "description": "Common utility classes and functions",
4
- "version": "0.0.65",
4
+ "version": "0.0.67",
5
5
  "license": "MIT",
6
6
  "author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
7
7
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "argparse": "^2.0.1",
17
17
  "dir-glob": "^3.0.1",
18
- "es-toolkit": "^1.39.4",
18
+ "es-toolkit": "^1.39.5",
19
19
  "fast-glob": "^3.3.3",
20
20
  "fs-extra": "^11.3.0",
21
21
  "jsonc-parser": "^3.3.1",