fabrique 2.0.15 → 2.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fabrique",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "type": "module",
5
5
  "description": "CLI to build a library",
6
6
  "keywords": [],
@@ -18,9 +18,7 @@
18
18
  "=== FB: TEST ===": "",
19
19
  "fb:test": "vitest run",
20
20
  "fb:test:coverage": "vitest run --coverage",
21
- "fb:bench": "vitest bench",
22
- "=== FB: DOC ===": "",
23
- "fb:typedoc": "typedoc --options typedoc.json --tsconfig tsconfig.json"
21
+ "fb:bench": "vitest bench"
24
22
  },
25
23
  "description": "{{description}}",
26
24
  "keywords": [],
@@ -1,17 +0,0 @@
1
- {
2
- "name": "Documentation",
3
- "entryPoints": ["src/**/*.ts"],
4
- "readme": "README.md",
5
- "exclude": ["src/**/*.{test,bench,protected,private}.ts", "src/**/*.{protected,private}/**/*.ts"],
6
- "compilerOptions": {
7
- "skipLibCheck": true
8
- },
9
- "sort": ["static-first", "source-order"],
10
- "customCss": "typedoc.theme.css",
11
- "outputs": [
12
- {
13
- "name": "html",
14
- "path": "./docs"
15
- }
16
- ]
17
- }
@@ -1,444 +0,0 @@
1
- /* VARIABLES */
2
-
3
- :root {
4
- --font-family: Helvetica, Arial, sans-serif;
5
- }
6
-
7
- :root[data-theme='light'] {
8
- --color-background: #fafafa;
9
- --color-background-secondary: #f1f1f1;
10
-
11
- --color-text: #4d4d4d;
12
-
13
- --code-color: #2c9121;
14
-
15
- /* CUSTOM */
16
-
17
- --page-title-color: #7e94cb;
18
-
19
- --navigation-text-color: #2f2f2f;
20
-
21
- --signature-background-color: #e7e7e7;
22
-
23
- --description-color: #444;
24
- --description-background-color: #e7e7e7;
25
-
26
- --implements-background-color: #ebebeb;
27
-
28
- --defined-in-background-color: #ebebeb;
29
-
30
- --member-group-title-color: #4e869d;
31
- --member-definition-background: #e7e7e7;
32
- --member-definition-title-color: #c18f31;
33
-
34
- --member-definition-block-separator-color: #cdcdcd;
35
-
36
- --member-definition-parameters-title-color: #6399b1;
37
- --member-definition-returns-title-color: #6399b1;
38
- --member-definition-throws-title-color: #e36767;
39
-
40
- /* path to a file */
41
- --color-text-aside: #309eb1;
42
- }
43
-
44
- :root[data-theme='dark'] {
45
- --color-background: #252525;
46
- --color-background-secondary: #333333;
47
-
48
- --color-text: #ddd;
49
-
50
- --code-color: #9cf368;
51
-
52
- /* CUSTOM */
53
-
54
- --page-title-color: #88a2e3;
55
-
56
- --navigation-text-color: #c1c1c1;
57
-
58
- --signature-background-color: #252525;
59
-
60
- --description-color: #fff;
61
- --description-background-color: #494949;
62
-
63
- --implements-background-color: #1a1a1a;
64
-
65
- --defined-in-background-color: #1a1a1a;
66
-
67
- --member-group-title-color: #2aafe5;
68
- --member-definition-background: #252525;
69
- --member-definition-title-color: #efc443;
70
-
71
- --member-definition-block-separator-color: #858585;
72
-
73
- --member-definition-parameters-title-color: #77adc5;
74
- --member-definition-returns-title-color: #77adc5;
75
- --member-definition-throws-title-color: #e36767;
76
-
77
- /* path to a file */
78
- --color-text-aside: #b7ecf5;
79
- }
80
-
81
- @media (prefers-color-scheme: light) {
82
- :root[data-theme='os'] {
83
- --color-background: #fafafa;
84
- --color-background-secondary: #f1f1f1;
85
-
86
- --color-text: #4d4d4d;
87
-
88
- --code-color: #2c9121;
89
-
90
- /* CUSTOM */
91
-
92
- --page-title-color: #7e94cb;
93
-
94
- --navigation-text-color: #2f2f2f;
95
-
96
- --signature-background-color: #e7e7e7;
97
-
98
- --description-color: #444;
99
- --description-background-color: #e7e7e7;
100
-
101
- --implements-background-color: #ebebeb;
102
-
103
- --defined-in-background-color: #ebebeb;
104
-
105
- --member-group-title-color: #4e869d;
106
- --member-definition-background: #e7e7e7;
107
- --member-definition-title-color: #c18f31;
108
-
109
- --member-definition-block-separator-color: #cdcdcd;
110
-
111
- --member-definition-parameters-title-color: #6399b1;
112
- --member-definition-returns-title-color: #6399b1;
113
- --member-definition-throws-title-color: #e36767;
114
-
115
- /* path to a file */
116
- --color-text-aside: #309eb1;
117
- }
118
- }
119
-
120
- @media (prefers-color-scheme: dark) {
121
- :root[data-theme='os'] {
122
- --color-background: #252525;
123
- --color-background-secondary: #333333;
124
-
125
- --color-text: #ddd;
126
-
127
- --code-color: #9cf368;
128
-
129
- /* CUSTOM */
130
-
131
- --page-title-color: #88a2e3;
132
-
133
- --navigation-text-color: #c1c1c1;
134
-
135
- --signature-background-color: #252525;
136
-
137
- --description-color: #fff;
138
- --description-background-color: #494949;
139
-
140
- --implements-background-color: #1a1a1a;
141
-
142
- --defined-in-background-color: #1a1a1a;
143
-
144
- --member-group-title-color: #2aafe5;
145
- --member-definition-background: #252525;
146
- --member-definition-title-color: #efc443;
147
-
148
- --member-definition-block-separator-color: #858585;
149
-
150
- --member-definition-parameters-title-color: #77adc5;
151
- --member-definition-returns-title-color: #77adc5;
152
- --member-definition-throws-title-color: #e36767;
153
-
154
- /* path to a file */
155
- --color-text-aside: #b7ecf5;
156
- }
157
- }
158
-
159
- /* STYLE */
160
-
161
- body {
162
- font-family: var(--font-family);
163
- }
164
-
165
- .tsd-typography {
166
- display: flex;
167
- flex-direction: column;
168
- gap: 16px;
169
-
170
- & > * {
171
- margin: 0;
172
- }
173
- }
174
-
175
- .container-main {
176
- margin: 0;
177
- padding: 32px;
178
- }
179
-
180
- @media (max-width: 1199px) {
181
- .container-main {
182
- padding: 24px;
183
- }
184
- }
185
-
186
- @media (max-width: 769px) {
187
- .container-main {
188
- padding: 16px;
189
- }
190
- }
191
-
192
- .col-content {
193
- display: flex;
194
- flex-direction: column;
195
- gap: 24px;
196
- padding: 20px;
197
- border-radius: 8px;
198
- background-color: var(--color-background-secondary);
199
-
200
- & > * {
201
- margin: 0;
202
- }
203
-
204
- & > .tsd-page-title {
205
- & > h1 {
206
- margin: 24px 0 0 0;
207
- color: var(--page-title-color);
208
- }
209
- }
210
-
211
- & > .tsd-signature {
212
- padding: 16px;
213
- border: none;
214
- background-color: var(--signature-background-color);
215
- border-radius: 8px;
216
- }
217
-
218
- & > .tsd-comment {
219
- padding: 16px;
220
- border-radius: 8px;
221
- color: var(--description-color);
222
- background-color: var(--description-background-color);
223
- }
224
-
225
- & > .tsd-comment + .tsd-panel {
226
- display: flex;
227
- flex-direction: column;
228
- gap: 16px;
229
-
230
- padding: 16px;
231
- border-radius: 8px;
232
- background-color: var(--implements-background-color);
233
-
234
- & > * {
235
- margin: 0;
236
- }
237
- }
238
-
239
- & > .tsd-sources {
240
- padding: 16px;
241
- border-radius: 8px;
242
- background-color: var(--defined-in-background-color);
243
-
244
- & > ul {
245
- margin: 0;
246
- }
247
- }
248
-
249
- & > .tsd-index-group {
250
- display: none;
251
- }
252
-
253
- & > .tsd-member-group {
254
- /*margin: 30px 0;*/
255
-
256
- display: flex;
257
- flex-direction: column;
258
- gap: 24px;
259
-
260
- & > .tsd-accordion-summary {
261
- margin: 0;
262
- color: var(--member-group-title-color);
263
-
264
- & > h2 {
265
- font-size: 24px;
266
- }
267
-
268
- & > svg {
269
- stroke: var(--member-group-title-color);
270
- }
271
- }
272
-
273
- & > section {
274
- display: flex;
275
- flex-direction: column;
276
- gap: 24px;
277
-
278
- & > .tsd-panel {
279
- &.tsd-member {
280
- display: flex;
281
- flex-direction: column;
282
- gap: 16px;
283
-
284
- padding: 16px;
285
- margin: 0;
286
- border-radius: 8px;
287
- background: var(--member-definition-background);
288
-
289
- & > h3.tsd-anchor-link {
290
- margin: 0;
291
- padding: 0;
292
-
293
- color: var(--member-definition-title-color);
294
-
295
- & > code.tsd-tag {
296
- display: inline;
297
- font-size: inherit;
298
- border-radius: 0;
299
- border: none;
300
- background: none;
301
- color: var(--code-color);
302
- font-style: italic;
303
- margin-right: 0.25em;
304
- }
305
- }
306
-
307
- & > ul.tsd-signatures {
308
- display: flex;
309
- flex-direction: column;
310
- gap: 8px;
311
- margin: 0;
312
-
313
- & > li {
314
- display: flex;
315
- flex-direction: column;
316
- gap: 16px;
317
-
318
- & > .tsd-signature {
319
- padding: 16px;
320
- border-top: 1px solid var(--member-definition-block-separator-color);
321
- border-bottom: 1px solid var(--member-definition-block-separator-color);
322
- }
323
-
324
- & > .tsd-description {
325
- display: flex;
326
- flex-direction: column;
327
- gap: 16px;
328
-
329
- & > * {
330
- margin: 0;
331
- }
332
-
333
- & > .tsd-panel,
334
- & > .tsd-parameters {
335
- display: flex;
336
- flex-direction: column;
337
- gap: 12px;
338
-
339
- & > h4 {
340
- margin: 0;
341
- color: var(--member-definition-parameters-title-color);
342
- }
343
- }
344
-
345
- & > .tsd-parameters {
346
- code.tsd-tag {
347
- margin-right: 0.25em;
348
- font-style: italic;
349
- }
350
- }
351
-
352
- & > .tsd-returns-title {
353
- color: var(--member-definition-returns-title-color);
354
- }
355
-
356
- & > .tsd-comment {
357
- & > .tsd-tag-throws {
358
- & > h4 {
359
- margin: 0;
360
- color: var(--member-definition-throws-title-color);
361
- }
362
- }
363
- }
364
-
365
- & > .tsd-sources {
366
- border-top: 1px solid var(--member-definition-block-separator-color);
367
- padding-top: 16px;
368
-
369
- & > ul {
370
- margin: 0;
371
- }
372
- }
373
- }
374
- }
375
- }
376
- }
377
- }
378
- }
379
-
380
- &:not(:open) {
381
- /*margin: 24px 0;*/
382
- gap: 0;
383
-
384
- & > section {
385
- display: none;
386
- }
387
- }
388
- }
389
- }
390
-
391
- nav.tsd-navigation {
392
- & > a {
393
- display: none;
394
- }
395
-
396
- .tsd-small-nested-navigation {
397
- margin: 0;
398
-
399
- & > li {
400
- & > details {
401
- margin: 0;
402
- }
403
- }
404
- }
405
-
406
- .tsd-kind-icon ~ span {
407
- color: var(--navigation-text-color);
408
- }
409
-
410
- .tsd-accordion-details {
411
- padding-left: 16px;
412
- }
413
-
414
- li > a {
415
- padding-left: 24px;
416
- }
417
-
418
- .tsd-accordion-details {
419
- & > .tsd-nested-navigation {
420
- margin: 0;
421
-
422
- & > li {
423
- & > details {
424
- margin: 0;
425
- }
426
- }
427
- }
428
- }
429
- }
430
-
431
- code {
432
- display: inline;
433
- font-family: var(--font-family);
434
- font-size: inherit;
435
- padding: 0;
436
- margin: 0;
437
- background-color: transparent;
438
- border: none;
439
- color: var(--code-color);
440
- }
441
-
442
- footer {
443
- display: none;
444
- }