@backstage/plugin-techdocs-node 1.11.5 → 1.12.0-next.2

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/dist/index.d.ts CHANGED
@@ -237,6 +237,7 @@ declare class Generators implements GeneratorBuilder {
237
237
  static fromConfig(config: Config, options: {
238
238
  logger: Logger;
239
239
  containerRunner: ContainerRunner;
240
+ customGenerator?: TechdocsGenerator;
240
241
  }): Promise<GeneratorBuilder>;
241
242
  /**
242
243
  * Register a generator in the generators collection
@@ -537,5 +538,19 @@ interface TechdocsBuildsExtensionPoint {
537
538
  * @public
538
539
  */
539
540
  declare const techdocsBuildsExtensionPoint: _backstage_backend_plugin_api.ExtensionPoint<TechdocsBuildsExtensionPoint>;
541
+ /**
542
+ * Extension point type for configuring a custom Techdocs generator
543
+ *
544
+ * @public
545
+ */
546
+ interface TechdocsGeneratorExtensionPoint {
547
+ setTechdocsGenerator(generator: TechdocsGenerator): void;
548
+ }
549
+ /**
550
+ * Extension point for configuring a custom Techdocs generator
551
+ *
552
+ * @public
553
+ */
554
+ declare const techdocsGeneratorExtensionPoint: _backstage_backend_plugin_api.ExtensionPoint<TechdocsGeneratorExtensionPoint>;
540
555
 
541
- export { DirectoryPreparer, DocsBuildStrategy, ETag, GeneratorBase, GeneratorBuilder, GeneratorOptions, GeneratorRunOptions, Generators, MigrateRequest, ParsedLocationAnnotation, PreparerBase, PreparerBuilder, PreparerConfig, PreparerOptions, PreparerResponse, Preparers, PublishRequest, PublishResponse, Publisher, PublisherBase, PublisherFactory, PublisherType, ReadinessResponse, RemoteProtocol, SupportedGeneratorKey, TechDocsDocument, TechDocsMetadata, TechdocsBuildsExtensionPoint, TechdocsGenerator, UrlPreparer, getDocFilesFromRepository, getLocationForEntity, getMkDocsYml, getMkdocsYml, parseReferenceAnnotation, techdocsBuildsExtensionPoint, transformDirLocation };
556
+ export { DirectoryPreparer, DocsBuildStrategy, ETag, GeneratorBase, GeneratorBuilder, GeneratorOptions, GeneratorRunOptions, Generators, MigrateRequest, ParsedLocationAnnotation, PreparerBase, PreparerBuilder, PreparerConfig, PreparerOptions, PreparerResponse, Preparers, PublishRequest, PublishResponse, Publisher, PublisherBase, PublisherFactory, PublisherType, ReadinessResponse, RemoteProtocol, SupportedGeneratorKey, TechDocsDocument, TechDocsMetadata, TechdocsBuildsExtensionPoint, TechdocsGenerator, TechdocsGeneratorExtensionPoint, UrlPreparer, getDocFilesFromRepository, getLocationForEntity, getMkDocsYml, getMkdocsYml, parseReferenceAnnotation, techdocsBuildsExtensionPoint, techdocsGeneratorExtensionPoint, transformDirLocation };
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-node",
3
+ "version": "1.12.0-next.2",
3
4
  "description": "Common node.js functionalities for TechDocs, to be shared between techdocs-backend plugin and techdocs-cli",
4
- "version": "1.11.5",
5
- "main": "dist/index.cjs.js",
6
- "types": "dist/index.d.ts",
5
+ "backstage": {
6
+ "role": "node-library"
7
+ },
7
8
  "publishConfig": {
8
9
  "access": "public",
9
10
  "main": "dist/index.cjs.js",
10
11
  "types": "dist/index.d.ts"
11
12
  },
12
- "backstage": {
13
- "role": "node-library"
14
- },
13
+ "keywords": [
14
+ "techdocs",
15
+ "backstage"
16
+ ],
15
17
  "homepage": "https://backstage.io",
18
+ "bugs": {
19
+ "url": "https://github.com/backstage/backstage/issues"
20
+ },
16
21
  "repository": {
17
22
  "type": "git",
18
23
  "url": "https://github.com/backstage/backstage",
19
24
  "directory": "plugins/techdocs-node"
20
25
  },
21
- "keywords": [
22
- "techdocs",
23
- "backstage"
24
- ],
25
26
  "license": "Apache-2.0",
27
+ "main": "dist/index.cjs.js",
28
+ "types": "dist/index.d.ts",
26
29
  "files": [
27
30
  "dist"
28
31
  ],
29
32
  "scripts": {
30
33
  "build": "backstage-cli package build",
34
+ "clean": "backstage-cli package clean",
31
35
  "lint": "backstage-cli package lint",
32
- "test": "backstage-cli package test",
33
36
  "prepack": "backstage-cli package prepack",
34
37
  "postpack": "backstage-cli package postpack",
35
- "clean": "backstage-cli package clean",
36
- "start": "backstage-cli package start"
37
- },
38
- "bugs": {
39
- "url": "https://github.com/backstage/backstage/issues"
38
+ "start": "backstage-cli package start",
39
+ "test": "backstage-cli package test"
40
40
  },
41
41
  "dependencies": {
42
42
  "@aws-sdk/client-s3": "^3.350.0",
@@ -45,14 +45,14 @@
45
45
  "@aws-sdk/types": "^3.347.0",
46
46
  "@azure/identity": "^4.0.0",
47
47
  "@azure/storage-blob": "^12.5.0",
48
- "@backstage/backend-common": "^0.21.3",
49
- "@backstage/backend-plugin-api": "^0.6.13",
50
- "@backstage/catalog-model": "^1.4.4",
51
- "@backstage/config": "^1.1.1",
52
- "@backstage/errors": "^1.2.3",
53
- "@backstage/integration": "^1.9.0",
54
- "@backstage/integration-aws-node": "^0.1.9",
55
- "@backstage/plugin-search-common": "^1.2.10",
48
+ "@backstage/backend-common": "^0.21.4-next.2",
49
+ "@backstage/backend-plugin-api": "^0.6.14-next.2",
50
+ "@backstage/catalog-model": "^1.4.5-next.0",
51
+ "@backstage/config": "^1.2.0-next.1",
52
+ "@backstage/errors": "^1.2.4-next.0",
53
+ "@backstage/integration": "^1.9.1-next.2",
54
+ "@backstage/integration-aws-node": "^0.1.10-next.1",
55
+ "@backstage/plugin-search-common": "^1.2.11-next.1",
56
56
  "@google-cloud/storage": "^7.0.0",
57
57
  "@smithy/node-http-handler": "^2.1.7",
58
58
  "@trendyol-js/openstack-swift-sdk": "^0.0.7",
@@ -69,8 +69,8 @@
69
69
  "winston": "^3.2.1"
70
70
  },
71
71
  "devDependencies": {
72
- "@backstage/backend-test-utils": "^0.3.3",
73
- "@backstage/cli": "^0.25.2",
72
+ "@backstage/backend-test-utils": "^0.3.4-next.2",
73
+ "@backstage/cli": "^0.25.3-next.2",
74
74
  "@types/fs-extra": "^11.0.0",
75
75
  "@types/js-yaml": "^4.0.0",
76
76
  "@types/mime-types": "^2.1.0",