@techdocs/cli 0.0.0-nightly-20250711024638 → 0.0.0-nightly-20250713025213

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,14 +1,14 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20250711024638
3
+ ## 0.0.0-nightly-20250713025213
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/config@0.0.0-nightly-20250711024638
9
- - @backstage/catalog-model@0.0.0-nightly-20250711024638
10
- - @backstage/backend-defaults@0.0.0-nightly-20250711024638
11
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20250711024638
8
+ - @backstage/config@0.0.0-nightly-20250713025213
9
+ - @backstage/catalog-model@0.0.0-nightly-20250713025213
10
+ - @backstage/backend-defaults@0.0.0-nightly-20250713025213
11
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20250713025213
12
12
  - @backstage/cli-common@0.1.15
13
13
 
14
14
  ## 1.9.5-next.1
@@ -132,50 +132,231 @@
132
132
  "packageName": "@backstage/plugin-permission-common"
133
133
  },
134
134
  {
135
- "path": "../core-components/config.d.ts",
135
+ "path": "../core-app-api/config.d.ts",
136
136
  "value": {
137
137
  "type": "object",
138
138
  "properties": {
139
- "auth": {
139
+ "app": {
140
+ "description": "Generic frontend configuration.",
140
141
  "type": "object",
141
142
  "properties": {
142
- "autologout": {
143
- "description": "Autologout feature configuration",
143
+ "baseUrl": {
144
+ "description": "The public absolute root URL that the frontend.",
145
+ "visibility": "frontend",
146
+ "type": "string"
147
+ },
148
+ "title": {
149
+ "description": "The title of the app, as shown in the Backstage web interface.",
150
+ "visibility": "frontend",
151
+ "type": "string"
152
+ },
153
+ "support": {
154
+ "description": "Information about support of this Backstage instance and how to contact the integrator team.",
144
155
  "type": "object",
145
156
  "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)",
157
+ "url": {
158
+ "description": "The primary support url.",
153
159
  "visibility": "frontend",
154
- "type": "number"
160
+ "type": "string"
155
161
  },
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"
162
+ "items": {
163
+ "description": "A list of categorized support item groupings.",
164
+ "type": "array",
165
+ "items": {
166
+ "type": "object",
167
+ "properties": {
168
+ "title": {
169
+ "description": "The title of the support item grouping.",
170
+ "visibility": "frontend",
171
+ "type": "string"
172
+ },
173
+ "icon": {
174
+ "description": "An optional icon for the support item grouping.",
175
+ "visibility": "frontend",
176
+ "type": "string"
177
+ },
178
+ "links": {
179
+ "description": "A list of support links for the Backstage instance inside this grouping.",
180
+ "type": "array",
181
+ "items": {
182
+ "type": "object",
183
+ "properties": {
184
+ "url": {
185
+ "visibility": "frontend",
186
+ "type": "string"
187
+ },
188
+ "title": {
189
+ "visibility": "frontend",
190
+ "type": "string"
191
+ }
192
+ },
193
+ "required": [
194
+ "url"
195
+ ]
196
+ }
197
+ }
198
+ },
199
+ "required": [
200
+ "links",
201
+ "title"
202
+ ]
203
+ }
204
+ }
205
+ },
206
+ "required": [
207
+ "items",
208
+ "url"
209
+ ]
210
+ },
211
+ "routes": {
212
+ "type": "object",
213
+ "properties": {
214
+ "bindings": {
215
+ "description": "Maps external route references to regular route references. Both the\nkey and the value is expected to be on the form `<pluginId>.<routeId>`.\nIf the value is `false`, the route will be disabled even if it has a\ndefault mapping.",
216
+ "deepVisibility": "frontend",
217
+ "type": "object",
218
+ "additionalProperties": {
219
+ "anyOf": [
220
+ {
221
+ "const": false,
222
+ "type": "boolean"
223
+ },
224
+ {
225
+ "type": "string"
226
+ }
227
+ ]
228
+ }
229
+ }
230
+ }
231
+ }
232
+ },
233
+ "required": [
234
+ "baseUrl"
235
+ ]
236
+ },
237
+ "backend": {
238
+ "description": "Generic backend configuration.",
239
+ "type": "object",
240
+ "properties": {
241
+ "baseUrl": {
242
+ "description": "The public absolute root URL that the backend is reachable at, from the browser's perspective.",
243
+ "visibility": "frontend",
244
+ "type": "string"
245
+ }
246
+ },
247
+ "required": [
248
+ "baseUrl"
249
+ ]
250
+ },
251
+ "organization": {
252
+ "description": "Configuration that provides information about the organization that the app is for.",
253
+ "type": "object",
254
+ "properties": {
255
+ "name": {
256
+ "description": "The name of the organization that the app belongs to.",
257
+ "visibility": "frontend",
258
+ "type": "string"
259
+ }
260
+ }
261
+ },
262
+ "homepage": {
263
+ "description": "This config was used by the HomepageTimer but has been replaced by the HeaderWorldClock in the home plugin",
264
+ "deprecated": "in favor of the HeaderWorldClock which is found in the home plugin",
265
+ "type": "object",
266
+ "properties": {
267
+ "clocks": {
268
+ "type": "array",
269
+ "items": {
270
+ "type": "object",
271
+ "properties": {
272
+ "label": {
273
+ "visibility": "frontend",
274
+ "type": "string"
275
+ },
276
+ "timezone": {
277
+ "visibility": "frontend",
278
+ "type": "string"
279
+ }
160
280
  },
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"
281
+ "required": [
282
+ "label",
283
+ "timezone"
284
+ ]
285
+ }
286
+ }
287
+ }
288
+ },
289
+ "auth": {
290
+ "description": "Configuration that provides information on available configured authentication providers.",
291
+ "type": "object",
292
+ "properties": {
293
+ "environment": {
294
+ "description": "The 'environment' attribute added as an optional parameter to have configurable environment value for `auth.providers`.\ndefault value: 'development'\noptional values: 'development' | 'production'",
295
+ "visibility": "frontend",
296
+ "type": "string"
297
+ }
298
+ }
299
+ },
300
+ "enableExperimentalRedirectFlow": {
301
+ "description": "Enable redirect authentication flow type, instead of a popup for authentication.",
302
+ "visibility": "frontend",
303
+ "type": "boolean"
304
+ },
305
+ "discovery": {
306
+ "description": "Discovery options.",
307
+ "visibility": "frontend",
308
+ "type": "object",
309
+ "properties": {
310
+ "endpoints": {
311
+ "description": "Endpoints\n\nA list of target baseUrls and the associated plugins.",
312
+ "visibility": "frontend",
313
+ "type": "array",
314
+ "items": {
315
+ "type": "object",
316
+ "properties": {
317
+ "target": {
318
+ "description": "The target baseUrl to use for the plugin\n\nCan be either a string or an object with internal and external keys. (Internal is used for the backend, external for the frontend)\nTargets with `{{pluginId}}` or `{{ pluginId }} in the url will be replaced with the pluginId.",
319
+ "visibility": "frontend",
320
+ "anyOf": [
321
+ {
322
+ "type": "object",
323
+ "properties": {
324
+ "external": {
325
+ "visibility": "frontend",
326
+ "type": "string"
327
+ }
328
+ }
329
+ },
330
+ {
331
+ "type": "string"
332
+ }
333
+ ]
334
+ },
335
+ "plugins": {
336
+ "description": "Array of plugins which use the target baseUrl.",
337
+ "visibility": "frontend",
338
+ "type": "array",
339
+ "items": {
340
+ "type": "string"
341
+ }
342
+ }
165
343
  },
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
- }
344
+ "required": [
345
+ "plugins",
346
+ "target"
347
+ ]
171
348
  }
172
349
  }
173
350
  }
174
351
  }
175
352
  },
353
+ "required": [
354
+ "app",
355
+ "backend"
356
+ ],
176
357
  "$schema": "http://json-schema.org/draft-07/schema#"
177
358
  },
178
- "packageName": "@backstage/core-components"
359
+ "packageName": "@backstage/core-app-api"
179
360
  },
180
361
  {
181
362
  "path": "../../plugins/techdocs/config.d.ts",
@@ -234,32 +415,78 @@
234
415
  "packageName": "@backstage/plugin-techdocs"
235
416
  },
236
417
  {
237
- "path": "../integration/config.d.ts",
418
+ "path": "../core-components/config.d.ts",
238
419
  "value": {
239
420
  "type": "object",
240
421
  "properties": {
241
- "integrations": {
242
- "description": "Configuration for integrations towards various external repository provider systems",
243
- "visibility": "frontend",
422
+ "auth": {
244
423
  "type": "object",
245
424
  "properties": {
246
- "azure": {
247
- "description": "Integration configuration for Azure",
248
- "type": "array",
249
- "items": {
250
- "type": "object",
251
- "properties": {
252
- "host": {
253
- "description": "The hostname of the given Azure instance",
254
- "visibility": "frontend",
255
- "type": "string"
256
- },
257
- "token": {
258
- "description": "Token used to authenticate requests.",
259
- "visibility": "secret",
260
- "deprecated": "Use `credentials` instead.",
261
- "type": "string"
262
- },
425
+ "autologout": {
426
+ "description": "Autologout feature configuration",
427
+ "type": "object",
428
+ "properties": {
429
+ "enabled": {
430
+ "description": "Enable or disable the autologout feature",
431
+ "visibility": "frontend",
432
+ "type": "boolean"
433
+ },
434
+ "idleTimeoutMinutes": {
435
+ "description": "Number of minutes after which the inactive user is logged out automatically.\nDefault is 60 minutes (1 hour)",
436
+ "visibility": "frontend",
437
+ "type": "number"
438
+ },
439
+ "promptBeforeIdleSeconds": {
440
+ "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.",
441
+ "visibility": "frontend",
442
+ "type": "number"
443
+ },
444
+ "useWorkerTimers": {
445
+ "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.",
446
+ "visibility": "frontend",
447
+ "type": "boolean"
448
+ },
449
+ "logoutIfDisconnected": {
450
+ "description": "Enable/disable the automatic logout also on users that are logged in but with no Backstage tabs open.\nDefault is true.",
451
+ "visibility": "frontend",
452
+ "type": "boolean"
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+ },
459
+ "$schema": "http://json-schema.org/draft-07/schema#"
460
+ },
461
+ "packageName": "@backstage/core-components"
462
+ },
463
+ {
464
+ "path": "../integration/config.d.ts",
465
+ "value": {
466
+ "type": "object",
467
+ "properties": {
468
+ "integrations": {
469
+ "description": "Configuration for integrations towards various external repository provider systems",
470
+ "visibility": "frontend",
471
+ "type": "object",
472
+ "properties": {
473
+ "azure": {
474
+ "description": "Integration configuration for Azure",
475
+ "type": "array",
476
+ "items": {
477
+ "type": "object",
478
+ "properties": {
479
+ "host": {
480
+ "description": "The hostname of the given Azure instance",
481
+ "visibility": "frontend",
482
+ "type": "string"
483
+ },
484
+ "token": {
485
+ "description": "Token used to authenticate requests.",
486
+ "visibility": "secret",
487
+ "deprecated": "Use `credentials` instead.",
488
+ "type": "string"
489
+ },
263
490
  "credential": {
264
491
  "description": "The credential to use for requests.\n\nIf no credential is specified anonymous access is used.",
265
492
  "deepVisibility": "secret",
@@ -727,6 +954,37 @@
727
954
  },
728
955
  "packageName": "@backstage/integration"
729
956
  },
957
+ {
958
+ "path": "../../plugins/catalog/config.d.ts",
959
+ "value": {
960
+ "type": "object",
961
+ "properties": {
962
+ "catalog": {
963
+ "type": "object",
964
+ "properties": {
965
+ "experimentalPagination": {
966
+ "deepVisibility": "frontend",
967
+ "anyOf": [
968
+ {
969
+ "type": "object",
970
+ "properties": {
971
+ "limit": {
972
+ "type": "number"
973
+ }
974
+ }
975
+ },
976
+ {
977
+ "type": "boolean"
978
+ }
979
+ ]
980
+ }
981
+ }
982
+ }
983
+ },
984
+ "$schema": "http://json-schema.org/draft-07/schema#"
985
+ },
986
+ "packageName": "@backstage/plugin-catalog"
987
+ },
730
988
  {
731
989
  "path": "../frontend-app-api/config.d.ts",
732
990
  "value": {
@@ -903,264 +1161,6 @@
903
1161
  },
904
1162
  "packageName": "@backstage/frontend-app-api"
905
1163
  },
906
- {
907
- "path": "../core-app-api/config.d.ts",
908
- "value": {
909
- "type": "object",
910
- "properties": {
911
- "app": {
912
- "description": "Generic frontend configuration.",
913
- "type": "object",
914
- "properties": {
915
- "baseUrl": {
916
- "description": "The public absolute root URL that the frontend.",
917
- "visibility": "frontend",
918
- "type": "string"
919
- },
920
- "title": {
921
- "description": "The title of the app, as shown in the Backstage web interface.",
922
- "visibility": "frontend",
923
- "type": "string"
924
- },
925
- "support": {
926
- "description": "Information about support of this Backstage instance and how to contact the integrator team.",
927
- "type": "object",
928
- "properties": {
929
- "url": {
930
- "description": "The primary support url.",
931
- "visibility": "frontend",
932
- "type": "string"
933
- },
934
- "items": {
935
- "description": "A list of categorized support item groupings.",
936
- "type": "array",
937
- "items": {
938
- "type": "object",
939
- "properties": {
940
- "title": {
941
- "description": "The title of the support item grouping.",
942
- "visibility": "frontend",
943
- "type": "string"
944
- },
945
- "icon": {
946
- "description": "An optional icon for the support item grouping.",
947
- "visibility": "frontend",
948
- "type": "string"
949
- },
950
- "links": {
951
- "description": "A list of support links for the Backstage instance inside this grouping.",
952
- "type": "array",
953
- "items": {
954
- "type": "object",
955
- "properties": {
956
- "url": {
957
- "visibility": "frontend",
958
- "type": "string"
959
- },
960
- "title": {
961
- "visibility": "frontend",
962
- "type": "string"
963
- }
964
- },
965
- "required": [
966
- "url"
967
- ]
968
- }
969
- }
970
- },
971
- "required": [
972
- "links",
973
- "title"
974
- ]
975
- }
976
- }
977
- },
978
- "required": [
979
- "items",
980
- "url"
981
- ]
982
- },
983
- "routes": {
984
- "type": "object",
985
- "properties": {
986
- "bindings": {
987
- "description": "Maps external route references to regular route references. Both the\nkey and the value is expected to be on the form `<pluginId>.<routeId>`.\nIf the value is `false`, the route will be disabled even if it has a\ndefault mapping.",
988
- "deepVisibility": "frontend",
989
- "type": "object",
990
- "additionalProperties": {
991
- "anyOf": [
992
- {
993
- "const": false,
994
- "type": "boolean"
995
- },
996
- {
997
- "type": "string"
998
- }
999
- ]
1000
- }
1001
- }
1002
- }
1003
- }
1004
- },
1005
- "required": [
1006
- "baseUrl"
1007
- ]
1008
- },
1009
- "backend": {
1010
- "description": "Generic backend configuration.",
1011
- "type": "object",
1012
- "properties": {
1013
- "baseUrl": {
1014
- "description": "The public absolute root URL that the backend is reachable at, from the browser's perspective.",
1015
- "visibility": "frontend",
1016
- "type": "string"
1017
- }
1018
- },
1019
- "required": [
1020
- "baseUrl"
1021
- ]
1022
- },
1023
- "organization": {
1024
- "description": "Configuration that provides information about the organization that the app is for.",
1025
- "type": "object",
1026
- "properties": {
1027
- "name": {
1028
- "description": "The name of the organization that the app belongs to.",
1029
- "visibility": "frontend",
1030
- "type": "string"
1031
- }
1032
- }
1033
- },
1034
- "homepage": {
1035
- "description": "This config was used by the HomepageTimer but has been replaced by the HeaderWorldClock in the home plugin",
1036
- "deprecated": "in favor of the HeaderWorldClock which is found in the home plugin",
1037
- "type": "object",
1038
- "properties": {
1039
- "clocks": {
1040
- "type": "array",
1041
- "items": {
1042
- "type": "object",
1043
- "properties": {
1044
- "label": {
1045
- "visibility": "frontend",
1046
- "type": "string"
1047
- },
1048
- "timezone": {
1049
- "visibility": "frontend",
1050
- "type": "string"
1051
- }
1052
- },
1053
- "required": [
1054
- "label",
1055
- "timezone"
1056
- ]
1057
- }
1058
- }
1059
- }
1060
- },
1061
- "auth": {
1062
- "description": "Configuration that provides information on available configured authentication providers.",
1063
- "type": "object",
1064
- "properties": {
1065
- "environment": {
1066
- "description": "The 'environment' attribute added as an optional parameter to have configurable environment value for `auth.providers`.\ndefault value: 'development'\noptional values: 'development' | 'production'",
1067
- "visibility": "frontend",
1068
- "type": "string"
1069
- }
1070
- }
1071
- },
1072
- "enableExperimentalRedirectFlow": {
1073
- "description": "Enable redirect authentication flow type, instead of a popup for authentication.",
1074
- "visibility": "frontend",
1075
- "type": "boolean"
1076
- },
1077
- "discovery": {
1078
- "description": "Discovery options.",
1079
- "visibility": "frontend",
1080
- "type": "object",
1081
- "properties": {
1082
- "endpoints": {
1083
- "description": "Endpoints\n\nA list of target baseUrls and the associated plugins.",
1084
- "visibility": "frontend",
1085
- "type": "array",
1086
- "items": {
1087
- "type": "object",
1088
- "properties": {
1089
- "target": {
1090
- "description": "The target baseUrl to use for the plugin\n\nCan be either a string or an object with internal and external keys. (Internal is used for the backend, external for the frontend)\nTargets with `{{pluginId}}` or `{{ pluginId }} in the url will be replaced with the pluginId.",
1091
- "visibility": "frontend",
1092
- "anyOf": [
1093
- {
1094
- "type": "object",
1095
- "properties": {
1096
- "external": {
1097
- "visibility": "frontend",
1098
- "type": "string"
1099
- }
1100
- }
1101
- },
1102
- {
1103
- "type": "string"
1104
- }
1105
- ]
1106
- },
1107
- "plugins": {
1108
- "description": "Array of plugins which use the target baseUrl.",
1109
- "visibility": "frontend",
1110
- "type": "array",
1111
- "items": {
1112
- "type": "string"
1113
- }
1114
- }
1115
- },
1116
- "required": [
1117
- "plugins",
1118
- "target"
1119
- ]
1120
- }
1121
- }
1122
- }
1123
- }
1124
- },
1125
- "required": [
1126
- "app",
1127
- "backend"
1128
- ],
1129
- "$schema": "http://json-schema.org/draft-07/schema#"
1130
- },
1131
- "packageName": "@backstage/core-app-api"
1132
- },
1133
- {
1134
- "path": "../../plugins/catalog/config.d.ts",
1135
- "value": {
1136
- "type": "object",
1137
- "properties": {
1138
- "catalog": {
1139
- "type": "object",
1140
- "properties": {
1141
- "experimentalPagination": {
1142
- "deepVisibility": "frontend",
1143
- "anyOf": [
1144
- {
1145
- "type": "object",
1146
- "properties": {
1147
- "limit": {
1148
- "type": "number"
1149
- }
1150
- }
1151
- },
1152
- {
1153
- "type": "boolean"
1154
- }
1155
- ]
1156
- }
1157
- }
1158
- }
1159
- },
1160
- "$schema": "http://json-schema.org/draft-07/schema#"
1161
- },
1162
- "packageName": "@backstage/plugin-catalog"
1163
- },
1164
1164
  {
1165
1165
  "path": "../../node_modules/@backstage-community/plugin-stackstorm/config.d.ts",
1166
1166
  "value": {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.0.0-nightly-20250711024638";
3
+ var version = "0.0.0-nightly-20250713025213";
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-20250711024638",
3
+ "version": "0.0.0-nightly-20250713025213",
4
4
  "description": "Utility CLI for managing TechDocs sites in Backstage.",
5
5
  "backstage": {
6
6
  "role": "cli"
@@ -44,11 +44,11 @@
44
44
  "watch": "./src"
45
45
  },
46
46
  "dependencies": {
47
- "@backstage/backend-defaults": "0.0.0-nightly-20250711024638",
48
- "@backstage/catalog-model": "0.0.0-nightly-20250711024638",
47
+ "@backstage/backend-defaults": "0.0.0-nightly-20250713025213",
48
+ "@backstage/catalog-model": "0.0.0-nightly-20250713025213",
49
49
  "@backstage/cli-common": "0.1.15",
50
- "@backstage/config": "0.0.0-nightly-20250711024638",
51
- "@backstage/plugin-techdocs-node": "0.0.0-nightly-20250711024638",
50
+ "@backstage/config": "0.0.0-nightly-20250713025213",
51
+ "@backstage/plugin-techdocs-node": "0.0.0-nightly-20250713025213",
52
52
  "commander": "^12.0.0",
53
53
  "fs-extra": "^11.0.0",
54
54
  "global-agent": "^3.0.0",
@@ -58,7 +58,7 @@
58
58
  "winston": "^3.2.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@backstage/cli": "0.0.0-nightly-20250711024638",
61
+ "@backstage/cli": "0.0.0-nightly-20250713025213",
62
62
  "@types/commander": "^2.12.2",
63
63
  "@types/fs-extra": "^11.0.0",
64
64
  "@types/http-proxy": "^1.17.4",