@backstage/plugin-techdocs-node 1.4.0 → 1.4.1-next.1

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,5 +1,39 @@
1
1
  # @backstage/plugin-techdocs-node
2
2
 
3
+ ## 1.4.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-common@0.15.2-next.1
9
+ - @backstage/plugin-search-common@1.1.0-next.1
10
+ - @backstage/catalog-model@1.1.2-next.1
11
+ - @backstage/config@1.0.3-next.1
12
+ - @backstage/errors@1.1.2-next.1
13
+ - @backstage/integration@1.3.2-next.1
14
+
15
+ ## 1.4.1-next.0
16
+
17
+ ### Patch Changes
18
+
19
+ - 0b2a30dead: fixing techdocs-cli Docker client creation
20
+
21
+ Docker client does not need to be created when --no-docker
22
+ option is provided.
23
+
24
+ If you had DOCKER_CERT_PATH environment variable defined
25
+ the Docker client was looking for certificates
26
+ and breaking techdocs-cli generate command even with --no-docker
27
+ option.
28
+
29
+ - Updated dependencies
30
+ - @backstage/catalog-model@1.1.2-next.0
31
+ - @backstage/backend-common@0.15.2-next.0
32
+ - @backstage/config@1.0.3-next.0
33
+ - @backstage/errors@1.1.2-next.0
34
+ - @backstage/integration@1.3.2-next.0
35
+ - @backstage/plugin-search-common@1.0.2-next.0
36
+
3
37
  ## 1.4.0
4
38
 
5
39
  ### Minor Changes
package/dist/index.cjs.js CHANGED
@@ -443,6 +443,11 @@ const _TechdocsGenerator = class {
443
443
  );
444
444
  break;
445
445
  case "docker":
446
+ if (this.containerRunner === void 0) {
447
+ throw new Error(
448
+ "Invalid state: containerRunner cannot be undefined when runIn is 'docker'"
449
+ );
450
+ }
446
451
  await this.containerRunner.runContainer({
447
452
  imageName: (_a = this.options.dockerImage) != null ? _a : _TechdocsGenerator.defaultDockerImage,
448
453
  args: ["build", "-d", "/output"],