Skip to content

Commit 0740e3d

Browse files
authored
ci: fix empty docs folder and update some dependencies (#2816)
1 parent 936a1fd commit 0740e3d

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module(
66

77
bazel_dep(name = "yq.bzl", version = "0.3.6")
88
bazel_dep(name = "rules_nodejs", version = "6.7.4")
9-
bazel_dep(name = "aspect_rules_js", version = "3.1.1")
9+
bazel_dep(name = "aspect_rules_js", version = "3.1.2")
1010
bazel_dep(name = "rules_pkg", version = "1.2.0")
1111
bazel_dep(name = "tar.bzl", version = "0.10.4")
1212
bazel_dep(name = "bazel_lib", version = "3.3.1")

MODULE.bazel.lock

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@
6161
"npm-run-all2": "^5.0.0",
6262
"sass": "1.91.0",
6363
"ts-node": "10.9.2",
64-
"typescript": "~5.9.2"
64+
"typescript": "6.0.2"
6565
}
6666
}

scripts/build.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,15 @@ function buildDocs(targetFolder: string) {
168168
cleanDistPath(targetFolder);
169169
const bazelBinPath = exec(`${bazelCmd} info bazel-bin`, true);
170170
const outputPath = join(bazelBinPath, 'docs/dist/browser/');
171+
172+
// TODO: After updating to angular 22, the `docs-content` folder is empty after building the docs.
173+
// This workaround copies the affected directory manually.
174+
const docsOutputPath = join(
175+
bazelBinPath,
176+
'docs/node_modules/@sbb-esta/components-examples/docs-content',
177+
);
171178
copyPackageOutput(outputPath, targetFolder);
179+
copyPackageOutput(docsOutputPath, join(targetFolder, 'browser'));
172180
}
173181

174182
/**

0 commit comments

Comments
 (0)