[go: nahoru, domu]

Skip to content

Commit

Permalink
build: update to latest docs tooling to resolve missing answers (#56746)
Browse files Browse the repository at this point in the history
Updates to the latest version of `@angular/docs` which should include a fix for the missing answers in the tutorials.

PR Close #56746
  • Loading branch information
crisbeto authored and thePunderWoman committed Jun 27, 2024
1 parent ed2665a commit ceaaa98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions adev/src/app/features/tutorial/tutorial.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class Tutorial implements AfterViewInit {

await Promise.all(
Object.entries(this.embeddedTutorialManager.answerFiles()).map(([path, contents]) =>
nodeRuntimeSandbox.writeFile(path, contents),
nodeRuntimeSandbox.writeFile(path, contents as string | Buffer),
),
);

Expand All @@ -161,7 +161,7 @@ export default class Tutorial implements AfterViewInit {

await Promise.all(
Object.entries(this.embeddedTutorialManager.tutorialFiles()).map(([path, contents]) =>
nodeRuntimeSandbox.writeFile(path, contents),
nodeRuntimeSandbox.writeFile(path, contents as string | Buffer),
),
);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"@angular-devkit/architect-cli": "^0.1801.0-next",
"@angular/animations": "^18.1.0-next",
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#5e30807f0fc6f1f00b2ac9186bd5f704b72e6ea6",
"@angular/docs": "https://github.com/angular/dev-infra-private-docs-builds.git#0c4a5345756f28658863c77d09285bad3f577ce9",
"@angular/docs": "https://github.com/angular/dev-infra-private-docs-builds.git#8027736ca214560ef31afc600ccf5a70be0ba24a",
"@angular/ng-dev": "https://github.com/angular/dev-infra-private-ng-dev-builds.git#806cbfc987d0df61f2ed90a24e2d4176e8a50a5b",
"@bazel/bazelisk": "^1.7.5",
"@bazel/buildifier": "^6.0.0",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@
dependencies:
tslib "^2.3.0"

"@angular/docs@https://github.com/angular/dev-infra-private-docs-builds.git#0c4a5345756f28658863c77d09285bad3f577ce9":
version "0.0.0-03b8a7dffd1205e061f0bee949024ebefc2a6592"
resolved "https://github.com/angular/dev-infra-private-docs-builds.git#0c4a5345756f28658863c77d09285bad3f577ce9"
"@angular/docs@https://github.com/angular/dev-infra-private-docs-builds.git#8027736ca214560ef31afc600ccf5a70be0ba24a":
version "0.0.0-506a93d7f2dba452c78348eea9c983bbe0d9d1ca"
resolved "https://github.com/angular/dev-infra-private-docs-builds.git#8027736ca214560ef31afc600ccf5a70be0ba24a"
dependencies:
"@webcontainer/api" "^1.1.8"
diff "~5.2.0"
Expand Down

0 comments on commit ceaaa98

Please sign in to comment.