@techdocs/cli 0.0.0-nightly-20241019023120 → 0.0.0-nightly-20241021023428

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,15 +1,15 @@
1
1
  # @techdocs/cli
2
2
 
3
- ## 0.0.0-nightly-20241019023120
3
+ ## 0.0.0-nightly-20241021023428
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies
8
- - @backstage/backend-defaults@0.0.0-nightly-20241019023120
8
+ - @backstage/backend-defaults@0.0.0-nightly-20241021023428
9
9
  - @backstage/catalog-model@1.7.0
10
10
  - @backstage/cli-common@0.1.14
11
11
  - @backstage/config@1.2.0
12
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20241019023120
12
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20241021023428
13
13
 
14
14
  ## 1.8.20
15
15
 
@@ -1095,6 +1095,24 @@
1095
1095
  "$schema": "http://json-schema.org/draft-07/schema#"
1096
1096
  }
1097
1097
  },
1098
+ {
1099
+ "path": "../backend-plugin-api/config.d.ts",
1100
+ "value": {
1101
+ "type": "object",
1102
+ "properties": {
1103
+ "backend": {
1104
+ "type": "object",
1105
+ "properties": {
1106
+ "workingDirectory": {
1107
+ "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1108
+ "type": "string"
1109
+ }
1110
+ }
1111
+ }
1112
+ },
1113
+ "$schema": "http://json-schema.org/draft-07/schema#"
1114
+ }
1115
+ },
1098
1116
  {
1099
1117
  "path": "../../node_modules/@backstage/backend-common/config.d.ts",
1100
1118
  "value": {
@@ -1519,69 +1537,6 @@
1519
1537
  "$schema": "http://json-schema.org/draft-07/schema#"
1520
1538
  }
1521
1539
  },
1522
- {
1523
- "path": "../backend-plugin-api/config.d.ts",
1524
- "value": {
1525
- "type": "object",
1526
- "properties": {
1527
- "backend": {
1528
- "type": "object",
1529
- "properties": {
1530
- "workingDirectory": {
1531
- "description": "An absolute path to a directory that can be used as a working dir, for\nexample as scratch space for large operations.",
1532
- "type": "string"
1533
- }
1534
- }
1535
- }
1536
- },
1537
- "$schema": "http://json-schema.org/draft-07/schema#"
1538
- }
1539
- },
1540
- {
1541
- "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1542
- "value": {
1543
- "type": "object",
1544
- "properties": {
1545
- "auth": {
1546
- "description": "Configuration options for the auth plugin",
1547
- "type": "object",
1548
- "properties": {
1549
- "providers": {
1550
- "type": "object",
1551
- "properties": {
1552
- "guest": {
1553
- "type": "object",
1554
- "properties": {
1555
- "userEntityRef": {
1556
- "description": "The entity reference to use for the guest user.",
1557
- "default": "user:development/guest",
1558
- "type": "string"
1559
- },
1560
- "ownershipEntityRefs": {
1561
- "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1562
- "default": "[userEntityRef]",
1563
- "type": "array",
1564
- "items": {
1565
- "type": "string"
1566
- }
1567
- },
1568
- "dangerouslyAllowOutsideDevelopment": {
1569
- "description": "Allow users to sign in with the guest provider outside of their development environments.",
1570
- "type": "boolean"
1571
- }
1572
- }
1573
- }
1574
- }
1575
- }
1576
- },
1577
- "required": [
1578
- "providers"
1579
- ]
1580
- }
1581
- },
1582
- "$schema": "http://json-schema.org/draft-07/schema#"
1583
- }
1584
- },
1585
1540
  {
1586
1541
  "path": "../../plugins/auth-backend/config.d.ts",
1587
1542
  "value": {
@@ -1839,6 +1794,51 @@
1839
1794
  "$schema": "http://json-schema.org/draft-07/schema#"
1840
1795
  }
1841
1796
  },
1797
+ {
1798
+ "path": "../../plugins/auth-backend-module-guest-provider/config.d.ts",
1799
+ "value": {
1800
+ "type": "object",
1801
+ "properties": {
1802
+ "auth": {
1803
+ "description": "Configuration options for the auth plugin",
1804
+ "type": "object",
1805
+ "properties": {
1806
+ "providers": {
1807
+ "type": "object",
1808
+ "properties": {
1809
+ "guest": {
1810
+ "type": "object",
1811
+ "properties": {
1812
+ "userEntityRef": {
1813
+ "description": "The entity reference to use for the guest user.",
1814
+ "default": "user:development/guest",
1815
+ "type": "string"
1816
+ },
1817
+ "ownershipEntityRefs": {
1818
+ "description": "A list of entity references to user for ownership of the guest user if the user\n is not found in the catalog.",
1819
+ "default": "[userEntityRef]",
1820
+ "type": "array",
1821
+ "items": {
1822
+ "type": "string"
1823
+ }
1824
+ },
1825
+ "dangerouslyAllowOutsideDevelopment": {
1826
+ "description": "Allow users to sign in with the guest provider outside of their development environments.",
1827
+ "type": "boolean"
1828
+ }
1829
+ }
1830
+ }
1831
+ }
1832
+ }
1833
+ },
1834
+ "required": [
1835
+ "providers"
1836
+ ]
1837
+ }
1838
+ },
1839
+ "$schema": "http://json-schema.org/draft-07/schema#"
1840
+ }
1841
+ },
1842
1842
  {
1843
1843
  "path": "../../node_modules/@oriflame/backstage-plugin-score-card/node_modules/@backstage/core-components/config.d.ts",
1844
1844
  "value": {
@@ -3208,7 +3208,7 @@
3208
3208
  }
3209
3209
  },
3210
3210
  {
3211
- "path": "../../plugins/auth-backend-module-cloudflare-access-provider/config.d.ts",
3211
+ "path": "../../plugins/auth-backend-module-gcp-iap-provider/config.d.ts",
3212
3212
  "value": {
3213
3213
  "type": "object",
3214
3214
  "properties": {
@@ -3218,36 +3218,16 @@
3218
3218
  "providers": {
3219
3219
  "type": "object",
3220
3220
  "properties": {
3221
- "cfaccess": {
3222
- "visibility": "frontend",
3221
+ "gcpIap": {
3222
+ "description": "Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.",
3223
3223
  "type": "object",
3224
3224
  "properties": {
3225
- "teamName": {
3226
- "type": "string"
3227
- },
3228
- "serviceTokens": {
3229
- "deepVisibility": "secret",
3230
- "type": "array",
3231
- "items": {
3232
- "type": "object",
3233
- "properties": {
3234
- "token": {
3235
- "type": "string"
3236
- },
3237
- "subject": {
3238
- "type": "string"
3239
- }
3240
- },
3241
- "required": [
3242
- "subject",
3243
- "token"
3244
- ]
3245
- }
3246
- },
3247
- "jwtHeaderName": {
3225
+ "audience": {
3226
+ "description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
3248
3227
  "type": "string"
3249
3228
  },
3250
- "authorizationCookieName": {
3229
+ "jwtHeader": {
3230
+ "description": "The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.",
3251
3231
  "type": "string"
3252
3232
  },
3253
3233
  "signIn": {
@@ -3257,6 +3237,30 @@
3257
3237
  "type": "array",
3258
3238
  "items": {
3259
3239
  "anyOf": [
3240
+ {
3241
+ "type": "object",
3242
+ "properties": {
3243
+ "resolver": {
3244
+ "type": "string",
3245
+ "const": "emailMatchingUserEntityAnnotation"
3246
+ }
3247
+ },
3248
+ "required": [
3249
+ "resolver"
3250
+ ]
3251
+ },
3252
+ {
3253
+ "type": "object",
3254
+ "properties": {
3255
+ "resolver": {
3256
+ "type": "string",
3257
+ "const": "idMatchingUserEntityAnnotation"
3258
+ }
3259
+ },
3260
+ "required": [
3261
+ "resolver"
3262
+ ]
3263
+ },
3260
3264
  {
3261
3265
  "type": "object",
3262
3266
  "properties": {
@@ -3297,11 +3301,8 @@
3297
3301
  }
3298
3302
  },
3299
3303
  "required": [
3300
- "teamName"
3304
+ "audience"
3301
3305
  ]
3302
- },
3303
- "backstageTokenExpiration": {
3304
- "description": "The backstage token expiration."
3305
3306
  }
3306
3307
  }
3307
3308
  }
@@ -3312,7 +3313,7 @@
3312
3313
  }
3313
3314
  },
3314
3315
  {
3315
- "path": "../../plugins/auth-backend-module-gcp-iap-provider/config.d.ts",
3316
+ "path": "../../plugins/auth-backend-module-cloudflare-access-provider/config.d.ts",
3316
3317
  "value": {
3317
3318
  "type": "object",
3318
3319
  "properties": {
@@ -3322,16 +3323,36 @@
3322
3323
  "providers": {
3323
3324
  "type": "object",
3324
3325
  "properties": {
3325
- "gcpIap": {
3326
- "description": "Configuration for the Google Cloud Platform Identity-Aware Proxy (IAP) auth provider.",
3326
+ "cfaccess": {
3327
+ "visibility": "frontend",
3327
3328
  "type": "object",
3328
3329
  "properties": {
3329
- "audience": {
3330
- "description": "The audience to use when validating incoming JWT tokens.\nSee https://backstage.io/docs/auth/google/gcp-iap-auth",
3330
+ "teamName": {
3331
3331
  "type": "string"
3332
3332
  },
3333
- "jwtHeader": {
3334
- "description": "The name of the header to read the JWT token from, defaults to `'x-goog-iap-jwt-assertion'`.",
3333
+ "serviceTokens": {
3334
+ "deepVisibility": "secret",
3335
+ "type": "array",
3336
+ "items": {
3337
+ "type": "object",
3338
+ "properties": {
3339
+ "token": {
3340
+ "type": "string"
3341
+ },
3342
+ "subject": {
3343
+ "type": "string"
3344
+ }
3345
+ },
3346
+ "required": [
3347
+ "subject",
3348
+ "token"
3349
+ ]
3350
+ }
3351
+ },
3352
+ "jwtHeaderName": {
3353
+ "type": "string"
3354
+ },
3355
+ "authorizationCookieName": {
3335
3356
  "type": "string"
3336
3357
  },
3337
3358
  "signIn": {
@@ -3341,30 +3362,6 @@
3341
3362
  "type": "array",
3342
3363
  "items": {
3343
3364
  "anyOf": [
3344
- {
3345
- "type": "object",
3346
- "properties": {
3347
- "resolver": {
3348
- "type": "string",
3349
- "const": "emailMatchingUserEntityAnnotation"
3350
- }
3351
- },
3352
- "required": [
3353
- "resolver"
3354
- ]
3355
- },
3356
- {
3357
- "type": "object",
3358
- "properties": {
3359
- "resolver": {
3360
- "type": "string",
3361
- "const": "idMatchingUserEntityAnnotation"
3362
- }
3363
- },
3364
- "required": [
3365
- "resolver"
3366
- ]
3367
- },
3368
3365
  {
3369
3366
  "type": "object",
3370
3367
  "properties": {
@@ -3405,8 +3402,11 @@
3405
3402
  }
3406
3403
  },
3407
3404
  "required": [
3408
- "audience"
3405
+ "teamName"
3409
3406
  ]
3407
+ },
3408
+ "backstageTokenExpiration": {
3409
+ "description": "The backstage token expiration."
3410
3410
  }
3411
3411
  }
3412
3412
  }
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var version = "0.0.0-nightly-20241019023120";
3
+ var version = "0.0.0-nightly-20241021023428";
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-20241019023120",
3
+ "version": "0.0.0-nightly-20241021023428",
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-20241019023120",
47
+ "@backstage/backend-defaults": "0.0.0-nightly-20241021023428",
48
48
  "@backstage/catalog-model": "1.7.0",
49
49
  "@backstage/cli-common": "0.1.14",
50
50
  "@backstage/config": "1.2.0",
51
- "@backstage/plugin-techdocs-node": "0.0.0-nightly-20241019023120",
51
+ "@backstage/plugin-techdocs-node": "0.0.0-nightly-20241021023428",
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-20241019023120",
61
+ "@backstage/cli": "0.0.0-nightly-20241021023428",
62
62
  "@types/commander": "^2.12.2",
63
63
  "@types/fs-extra": "^11.0.0",
64
64
  "@types/http-proxy": "^1.17.4",