Skip to content

Bump dependencies - #14160

Merged
RobinMalfait merged 6 commits into
nextfrom
feat/bump-dependencies
Aug 9, 2024
Merged

Bump dependencies#14160
RobinMalfait merged 6 commits into
nextfrom
feat/bump-dependencies

Conversation

@RobinMalfait

Copy link
Copy Markdown
Member

This PR bumps dependencies

We also make some dependencies catalog: dependencies, which allows us to keep
the version in sync. E.g.: lightningcss and @types/node.

Bumped turbo to the latest version + enabled the new UI

Fixed a bug in the tests now that lightningcss outputs the correct value.

This wasn't applied everywhere yet.
+ apply necessary changes in the `turbo.json` file
Lightning CSS optimizes with the correct casing
This splits the rendering on a per-task basis. But the best part is that
at the end the output is grouped per task instead of mixed with output
from different steps.
Comment thread turbo.json
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"ui": "tui",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will require some getting used to hah

@RobinMalfait
RobinMalfait merged commit d223112 into next Aug 9, 2024
@RobinMalfait
RobinMalfait deleted the feat/bump-dependencies branch August 9, 2024 14:12
philipp-spiess added a commit that referenced this pull request Aug 12, 2024
While rebasing on the latest changes on `next`, especially #14160, I
noticed that my local `pnpm build` step was no longer working and erring
with the following:

```
│ > @tailwindcss/oxide@4.0.0-alpha.19 build /Users/philipp/dev/tailwindcss/crates/node
│ > npx napi build --platform --release --no-const-enum
│
│ Type Error: Could not parse the Cargo.toml: Error: Command failed: cargo metadata --format-version 1 --manifest-path "/Users/philipp/dev/
│ tailwindcss/crates/node/Cargo.toml"
│ error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
│ help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
│
│ error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
│ help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
```

It turns out that with the changes in turbo v2, env variables no longer
propagate to the individual tasks automatically but since I installed
rustup outside of the default `~/.rustup` directory, the task was no
longer able to find it.

To fix this, we now define `RUSTUP_HOME` as a global env to always pass
through.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants