-
Notifications
You must be signed in to change notification settings - Fork 123
SRE-1061: Move the crates' package.json scripts into turbo.json commands #9755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
TimDiekmann
merged 3 commits into
t/sre-1060-let-turbos-task-graph-drive-pruning-and-ci-selection
from
t/sre-1061-move-the-crates-packagejson-scripts-into-turbojson-commands
Sep 21, 2026
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
8b158ed
SRE-1061: Move the crates' package.json scripts into turbo.json commands
TimDiekmann 4687eac
SRE-1061: Build the component gallery on Vercel with the pinned turbo
TimDiekmann 183c9a7
SRE-1061: Keep the tasks with side effects out of the cache
TimDiekmann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| eval "$(mise activate bash --shims)" | ||
|
|
||
| echo "Changing dir to root" | ||
| cd ../../.. | ||
|
|
||
| # TODO: Mise is picking up `.env` files. We need to overhaul our approach for | ||
| # environment variables. To avoid this in the meantime, we'll remove the | ||
| # `.env` file. | ||
| # See: https://linear.app/hash/issue/H-3213/use-consistent-naming-schema-for-environment-variables | ||
| # See: https://linear.app/hash/issue/H-4202/sort-out-which-environment-variables-are-defined-where | ||
| # See: https://linear.app/hash/issue/H-3212/clean-up-env-files | ||
| rm -f .env | ||
|
|
||
| echo "Building the design system component gallery" | ||
| turbo run build:ladle --filter='@hashintel/ds-components' --env-mode=loose |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| set -euo pipefail | ||
|
|
||
| echo "Changing dir to root" | ||
| cd ../../.. | ||
|
|
||
| echo "updating certificates" | ||
| yum update ca-certificates -y | ||
|
|
||
| echo "installing mise" | ||
| ./.config/mise/install.sh | ||
| eval "$(mise activate bash --shims)" | ||
|
|
||
| # The ladle build is Node throughout β `ladle build` <- `codegen` <- the | ||
| # `ds-helpers` build β and `.yarnrc.yml` sets `enableScripts: false`, so nothing | ||
| # compiles during install. That leaves out the Rust toolchain, wasm-pack, | ||
| # binaryen, java, protoc and redocly the other Vercel apps here install; turbo | ||
| # loads the Cargo workspace only for a selection that contains a crate. | ||
| # | ||
| # turbo comes from the pin rather than the build image: the root `turbo.json` | ||
| # declares future flags that only the pinned version accepts. | ||
| echo "Installing prerequisites" | ||
| mise install --locked node npm:turbo | ||
|
|
||
| echo "Installing yarn dependencies" | ||
| LEFTHOOK=0 yarn install --immutable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.