@techdocs/cli 0.0.0-nightly-20251227024407 → 0.0.0-nightly-20251229025532

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/CHANGELOG.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20251227024407
3
+ ## 0.0.0-nightly-20251229025532
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20251227024407
8
+ - @backstage/backend-defaults@0.0.0-nightly-20251229025532
9
9
  - @backstage/catalog-model@1.7.6
10
10
  - @backstage/cli-common@0.1.16
11
11
  - @backstage/config@1.3.6
@@ -131,6 +131,113 @@
131
131
  },
132
132
  "packageName": "@backstage/plugin-permission-common"
133
133
  },
134
+ {
135
+ "path": "../core-components/config.d.ts",
136
+ "value": {
137
+ "type": "object",
138
+ "properties": {
139
+ "auth": {
140
+ "type": "object",
141
+ "properties": {
142
+ "autologout": {
143
+ "description": "Autologout feature configuration",
144
+ "type": "object",
145
+ "properties": {
146
+ "enabled": {
147
+ "description": "Enable or disable the autologout feature",
148
+ "visibility": "frontend",
149
+ "type": "boolean"
150
+ },
151
+ "idleTimeoutMinutes": {
152
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
153
+ "visibility": "frontend",
154
+ "type": "number"
155
+ },
156
+ "promptBeforeIdleSeconds": {
157
+ "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
158
+ "visibility": "frontend",
159
+ "type": "number"
160
+ },
161
+ "useWorkerTimers": {
162
+ "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
163
+ "visibility": "frontend",
164
+ "type": "boolean"
165
+ },
166
+ "logoutIfDisconnected": {
167
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
168
+ "visibility": "frontend",
169
+ "type": "boolean"
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ },
176
+ "$schema": "http://json-schema.org/draft-07/schema#"
177
+ },
178
+ "packageName": "@backstage/core-components"
179
+ },
180
+ {
181
+ "path": "../../plugins/techdocs/config.d.ts",
182
+ "value": {
183
+ "type": "object",
184
+ "properties": {
185
+ "techdocs": {
186
+ "description": "Configuration options for the techdocs plugin",
187
+ "type": "object",
188
+ "properties": {
189
+ "builder": {
190
+ "description": "Documentation building process depends on the builder attr",
191
+ "visibility": "frontend",
192
+ "enum": [
193
+ "external",
194
+ "local"
195
+ ],
196
+ "type": "string"
197
+ },
198
+ "legacyUseCaseSensitiveTripletPaths": {
199
+ "description": "Allows fallback to case-sensitive triplets in case of migration issues.",
200
+ "visibility": "frontend",
201
+ "type": "boolean"
202
+ },
203
+ "sanitizer": {
204
+ "type": "object",
205
+ "properties": {
206
+ "allowedIframeHosts": {
207
+ "description": "Allows iframe tag only for listed hosts\nExample:\n allowedIframeHosts: [\"example.com\"]\n this will allow all iframes with the host `example.com` in the src attribute",
208
+ "visibility": "frontend",
209
+ "type": "array",
210
+ "items": {
211
+ "type": "string"
212
+ }
213
+ },
214
+ "allowedCustomElementTagNameRegExp": {
215
+ "description": "Allows listed custom element tag name regex\nExample:\n allowedCustomElementTagNameRegExp: '^backstage-'\n this will allow all custom elements with tag name matching `^backstage-` like <backstage-custom-element /> etc.",
216
+ "visibility": "frontend",
217
+ "type": "string"
218
+ },
219
+ "allowedCustomElementAttributeNameRegExp": {
220
+ "description": "Allows listed custom element attribute name regex\nExample:\n allowedCustomElementAttributeNameRegExp: 'attribute1|attribute2'\n this will allow all custom element attributes matching `attribute1` or `attribute2` like <backstage-custom-element attribute1=\"yes\" attribute2/>",
221
+ "visibility": "frontend",
222
+ "type": "string"
223
+ },
224
+ "additionalAllowedURIProtocols": {
225
+ "description": "Allows listed protocols in attributes with URI values\nExample:\n additionalAllowedURIProtocols: ['vscode']\n this will allow all attributes with URI values to have `vscode` protocol like `vscode://some/path` in addition to the default protocols\n matched by DOMPurify's IS_ALLOWED_URI RegExp:",
226
+ "visibility": "frontend",
227
+ "type": "array",
228
+ "items": {
229
+ "type": "string"
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ }
236
+ },
237
+ "$schema": "http://json-schema.org/draft-07/schema#"
238
+ },
239
+ "packageName": "@backstage/plugin-techdocs"
240
+ },
134
241
  {
135
242
  "path": "../core-app-api/config.d.ts",
136
243
  "value": {
@@ -358,113 +465,6 @@
358
465
  },
359
466
  "packageName": "@backstage/core-app-api"
360
467
  },
361
- {
362
- "path": "../core-components/config.d.ts",
363
- "value": {
364
- "type": "object",
365
- "properties": {
366
- "auth": {
367
- "type": "object",
368
- "properties": {
369
- "autologout": {
370
- "description": "Autologout feature configuration",
371
- "type": "object",
372
- "properties": {
373
- "enabled": {
374
- "description": "Enable or disable the autologout feature",
375
- "visibility": "frontend",
376
- "type": "boolean"
377
- },
378
- "idleTimeoutMinutes": {
379
- "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
380
- "visibility": "frontend",
381
- "type": "number"
382
- },
383
- "promptBeforeIdleSeconds": {
384
- "description": "Number of seconds before the idle timeout where the user will be asked if it's still active.\nA dialog will be shown.\nDefault is 10 seconds.\nSet to 0 seconds to disable the prompt.",
385
- "visibility": "frontend",
386
- "type": "number"
387
- },
388
- "useWorkerTimers": {
389
- "description": "Enable/disable the usage of worker thread timers instead of main thread timers.\nDefault is true.\nIf you experience some browser incompatibility, you may try to set this to false.",
390
- "visibility": "frontend",
391
- "type": "boolean"
392
- },
393
- "logoutIfDisconnected": {
394
- "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
395
- "visibility": "frontend",
396
- "type": "boolean"
397
- }
398
- }
399
- }
400
- }
401
- }
402
- },
403
- "$schema": "http://json-schema.org/draft-07/schema#"
404
- },
405
- "packageName": "@backstage/core-components"
406
- },
407
- {
408
- "path": "../../plugins/techdocs/config.d.ts",
409
- "value": {
410
- "type": "object",
411
- "properties": {
412
- "techdocs": {
413
- "description": "Configuration options for the techdocs plugin",
414
- "type": "object",
415
- "properties": {
416
- "builder": {
417
- "description": "Documentation building process depends on the builder attr",
418
- "visibility": "frontend",
419
- "enum": [
420
- "external",
421
- "local"
422
- ],
423
- "type": "string"
424
- },
425
- "legacyUseCaseSensitiveTripletPaths": {
426
- "description": "Allows fallback to case-sensitive triplets in case of migration issues.",
427
- "visibility": "frontend",
428
- "type": "boolean"
429
- },
430
- "sanitizer": {
431
- "type": "object",
432
- "properties": {
433
- "allowedIframeHosts": {
434
- "description": "Allows iframe tag only for listed hosts\nExample:\n allowedIframeHosts: [\"example.com\"]\n this will allow all iframes with the host `example.com` in the src attribute",
435
- "visibility": "frontend",
436
- "type": "array",
437
- "items": {
438
- "type": "string"
439
- }
440
- },
441
- "allowedCustomElementTagNameRegExp": {
442
- "description": "Allows listed custom element tag name regex\nExample:\n allowedCustomElementTagNameRegExp: '^backstage-'\n this will allow all custom elements with tag name matching `^backstage-` like <backstage-custom-element /> etc.",
443
- "visibility": "frontend",
444
- "type": "string"
445
- },
446
- "allowedCustomElementAttributeNameRegExp": {
447
- "description": "Allows listed custom element attribute name regex\nExample:\n allowedCustomElementAttributeNameRegExp: 'attribute1|attribute2'\n this will allow all custom element attributes matching `attribute1` or `attribute2` like <backstage-custom-element attribute1=\"yes\" attribute2/>",
448
- "visibility": "frontend",
449
- "type": "string"
450
- },
451
- "additionalAllowedURIProtocols": {
452
- "description": "Allows listed protocols in attributes with URI values\nExample:\n additionalAllowedURIProtocols: ['vscode']\n this will allow all attributes with URI values to have `vscode` protocol like `vscode://some/path` in addition to the default protocols\n matched by DOMPurify's IS_ALLOWED_URI RegExp:",
453
- "visibility": "frontend",
454
- "type": "array",
455
- "items": {
456
- "type": "string"
457
- }
458
- }
459
- }
460
- }
461
- }
462
- }
463
- },
464
- "$schema": "http://json-schema.org/draft-07/schema#"
465
- },
466
- "packageName": "@backstage/plugin-techdocs"
467
- },
468
468
  {
469
469
  "path": "../integration/config.d.ts",
470
470
  "value": {
@@ -1291,6 +1291,52 @@
1291
1291
  },
1292
1292
  "packageName": "@backstage/backend-plugin-api"
1293
1293
  },
1294
+ {
1295
+ "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1296
+ "value": {
1297
+ "type": "object",
1298
+ "properties": {
1299
+ "auth": {
1300
+ "description": "Configuration options for the auth plugin",
1301
+ "type": "object",
1302
+ "properties": {
1303
+ "providers": {
1304
+ "type": "object",
1305
+ "properties": {
1306
+ "guest": {
1307
+ "type": "object",
1308
+ "properties": {
1309
+ "userEntityRef": {
1310
+ "description": "The entity reference to use for the guest user.",
1311
+ "default": "user:development/guest",
1312
+ "type": "string"
1313
+ },
1314
+ "ownershipEntityRefs": {
1315
+ "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1316
+ "default": "[userEntityRef]",
1317
+ "type": "array",
1318
+ "items": {
1319
+ "type": "string"
1320
+ }
1321
+ },
1322
+ "dangerouslyAllowOutsideDevelopment": {
1323
+ "description": "Allow users to sign in with the guest provider outside of their development environments.",
1324
+ "type": "boolean"
1325
+ }
1326
+ }
1327
+ }
1328
+ }
1329
+ }
1330
+ },
1331
+ "required": [
1332
+ "providers"
1333
+ ]
1334
+ }
1335
+ },
1336
+ "$schema": "http://json-schema.org/draft-07/schema#"
1337
+ },
1338
+ "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1339
+ },
1294
1340
  {
1295
1341
  "path": "../../plugins/auth-backend/config.d.ts",
1296
1342
  "value": {
@@ -1447,50 +1493,103 @@
1447
1493
  "packageName": "@backstage/plugin-auth-backend"
1448
1494
  },
1449
1495
  {
1450
- "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1496
+ "path": "../backend-app-api/config.d.ts",
1451
1497
  "value": {
1452
1498
  "type": "object",
1453
1499
  "properties": {
1454
- "auth": {
1455
- "description": "Configuration options for the auth plugin",
1500
+ "backend": {
1456
1501
  "type": "object",
1457
1502
  "properties": {
1458
- "providers": {
1459
- "type": "object",
1460
- "properties": {
1461
- "guest": {
1503
+ "packages": {
1504
+ "description": "Used by the feature discovery service",
1505
+ "anyOf": [
1506
+ {
1462
1507
  "type": "object",
1463
1508
  "properties": {
1464
- "userEntityRef": {
1465
- "description": "The entity reference to use for the guest user.",
1466
- "default": "user:development/guest",
1467
- "type": "string"
1509
+ "include": {
1510
+ "type": "array",
1511
+ "items": {
1512
+ "type": "string"
1513
+ }
1468
1514
  },
1469
- "ownershipEntityRefs": {
1470
- "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1471
- "default": "[userEntityRef]",
1515
+ "exclude": {
1472
1516
  "type": "array",
1473
1517
  "items": {
1474
1518
  "type": "string"
1475
1519
  }
1520
+ }
1521
+ }
1522
+ },
1523
+ {
1524
+ "const": "all",
1525
+ "type": "string"
1526
+ }
1527
+ ]
1528
+ },
1529
+ "startup": {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "default": {
1533
+ "type": "object",
1534
+ "properties": {
1535
+ "onPluginBootFailure": {
1536
+ "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin.\nThis defaults to 'abort', which means `onPluginBootFailure: continue` must be specified\nfor backend startup to continue on plugin boot failure. This can also be set to\n'continue', which flips the logic for individual plugins so that they must be set to\n`onPluginBootFailure: abort` to be required.",
1537
+ "enum": [
1538
+ "abort",
1539
+ "continue"
1540
+ ],
1541
+ "type": "string"
1476
1542
  },
1477
- "dangerouslyAllowOutsideDevelopment": {
1478
- "description": "Allow users to sign in with the guest provider outside of their development environments.",
1479
- "type": "boolean"
1543
+ "onPluginModuleBootFailure": {
1544
+ "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module.\nThis defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified\nfor backend startup to continue on plugin module boot failure. This can also be set to\n'continue', which flips the logic for individual plugin modules so that they must be set to\n`onPluginModuleBootFailure: abort` to be required.",
1545
+ "enum": [
1546
+ "abort",
1547
+ "continue"
1548
+ ],
1549
+ "type": "string"
1550
+ }
1551
+ }
1552
+ },
1553
+ "plugins": {
1554
+ "type": "object",
1555
+ "additionalProperties": {
1556
+ "type": "object",
1557
+ "properties": {
1558
+ "onPluginBootFailure": {
1559
+ "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nfails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin failures for plugins\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
1560
+ "enum": [
1561
+ "abort",
1562
+ "continue"
1563
+ ],
1564
+ "type": "string"
1565
+ },
1566
+ "modules": {
1567
+ "type": "object",
1568
+ "additionalProperties": {
1569
+ "type": "object",
1570
+ "properties": {
1571
+ "onPluginModuleBootFailure": {
1572
+ "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nmodule fails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
1573
+ "enum": [
1574
+ "abort",
1575
+ "continue"
1576
+ ],
1577
+ "type": "string"
1578
+ }
1579
+ }
1580
+ }
1581
+ }
1480
1582
  }
1481
1583
  }
1482
1584
  }
1483
1585
  }
1484
1586
  }
1485
- },
1486
- "required": [
1487
- "providers"
1488
- ]
1587
+ }
1489
1588
  }
1490
1589
  },
1491
1590
  "$schema": "http://json-schema.org/draft-07/schema#"
1492
1591
  },
1493
- "packageName": "@backstage/plugin-auth-backend-module-guest-provider"
1592
+ "packageName": "@backstage/backend-app-api"
1494
1593
  },
1495
1594
  {
1496
1595
  "path": "../backend-defaults/config.d.ts",
@@ -3063,105 +3162,6 @@
3063
3162
  },
3064
3163
  "packageName": "@backstage/backend-defaults"
3065
3164
  },
3066
- {
3067
- "path": "../backend-app-api/config.d.ts",
3068
- "value": {
3069
- "type": "object",
3070
- "properties": {
3071
- "backend": {
3072
- "type": "object",
3073
- "properties": {
3074
- "packages": {
3075
- "description": "Used by the feature discovery service",
3076
- "anyOf": [
3077
- {
3078
- "type": "object",
3079
- "properties": {
3080
- "include": {
3081
- "type": "array",
3082
- "items": {
3083
- "type": "string"
3084
- }
3085
- },
3086
- "exclude": {
3087
- "type": "array",
3088
- "items": {
3089
- "type": "string"
3090
- }
3091
- }
3092
- }
3093
- },
3094
- {
3095
- "const": "all",
3096
- "type": "string"
3097
- }
3098
- ]
3099
- },
3100
- "startup": {
3101
- "type": "object",
3102
- "properties": {
3103
- "default": {
3104
- "type": "object",
3105
- "properties": {
3106
- "onPluginBootFailure": {
3107
- "description": "The default value for `onPluginBootFailure` if not specified for a particular plugin.\nThis defaults to 'abort', which means `onPluginBootFailure: continue` must be specified\nfor backend startup to continue on plugin boot failure. This can also be set to\n'continue', which flips the logic for individual plugins so that they must be set to\n`onPluginBootFailure: abort` to be required.",
3108
- "enum": [
3109
- "abort",
3110
- "continue"
3111
- ],
3112
- "type": "string"
3113
- },
3114
- "onPluginModuleBootFailure": {
3115
- "description": "The default value for `onPluginModuleBootFailure` if not specified for a particular plugin module.\nThis defaults to 'abort', which means `onPluginModuleBootFailure: continue` must be specified\nfor backend startup to continue on plugin module boot failure. This can also be set to\n'continue', which flips the logic for individual plugin modules so that they must be set to\n`onPluginModuleBootFailure: abort` to be required.",
3116
- "enum": [
3117
- "abort",
3118
- "continue"
3119
- ],
3120
- "type": "string"
3121
- }
3122
- }
3123
- },
3124
- "plugins": {
3125
- "type": "object",
3126
- "additionalProperties": {
3127
- "type": "object",
3128
- "properties": {
3129
- "onPluginBootFailure": {
3130
- "description": "Used to control backend startup behavior when this plugin fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nfails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin failures for plugins\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
3131
- "enum": [
3132
- "abort",
3133
- "continue"
3134
- ],
3135
- "type": "string"
3136
- },
3137
- "modules": {
3138
- "type": "object",
3139
- "additionalProperties": {
3140
- "type": "object",
3141
- "properties": {
3142
- "onPluginModuleBootFailure": {
3143
- "description": "Used to control backend startup behavior when this plugin module fails to boot up. Setting\nthis to `continue` allows the backend to continue starting up, even if this plugin\nmodule fails. This can enable leaving a crashing plugin installed, but still permit backend\nstartup, which may help troubleshoot data-dependent issues. Plugin module failures for plugin modules\nset to `abort` are fatal (this is the default unless overridden by the `default`\nsetting).",
3144
- "enum": [
3145
- "abort",
3146
- "continue"
3147
- ],
3148
- "type": "string"
3149
- }
3150
- }
3151
- }
3152
- }
3153
- }
3154
- }
3155
- }
3156
- }
3157
- }
3158
- }
3159
- }
3160
- },
3161
- "$schema": "http://json-schema.org/draft-07/schema#"
3162
- },
3163
- "packageName": "@backstage/backend-app-api"
3164
- },
3165
3165
  {
3166
3166
  "path": "../../plugins/events-node/config.d.ts",
3167
3167
  "value": {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.0.0-nightly-20251227024407";
3
+ var version = "0.0.0-nightly-20251229025532";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=package.json.cjs.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techdocs/cli",
3
- "version": "0.0.0-nightly-20251227024407",
3
+ "version": "0.0.0-nightly-20251229025532",
4
4
  "description": "Utility CLI for managing TechDocs sites in Backstage.",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -44,7 +44,7 @@
44
44
  "watch": "./src"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-defaults": "0.0.0-nightly-20251227024407",
47
+ "@backstage/backend-defaults": "0.0.0-nightly-20251229025532",
48
48
  "@backstage/catalog-model": "1.7.6",
49
49
  "@backstage/cli-common": "0.1.16",
50
50
  "@backstage/config": "1.3.6",
@@ -58,7 +58,7 @@
58
58
  "winston": "^3.2.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@backstage/cli": "0.0.0-nightly-20251227024407",
61
+ "@backstage/cli": "0.0.0-nightly-20251229025532",
62
62
  "@types/commander": "^2.12.2",
63
63
  "@types/fs-extra": "^11.0.0",
64
64
  "@types/http-proxy": "^1.17.4",