Skip to content

Update ruby-wasm-wasi dev dependencies#648

Open
ledsun wants to merge 1 commit intoruby:mainfrom
ledsun:codex/update-ruby-wasm-wasi-dev-deps
Open

Update ruby-wasm-wasi dev dependencies#648
ledsun wants to merge 1 commit intoruby:mainfrom
ledsun:codex/update-ruby-wasm-wasi-dev-deps

Conversation

@ledsun
Copy link
Copy Markdown
Contributor

@ledsun ledsun commented May 5, 2026

Summary

Update the @ruby/wasm-wasi development dependency set and refresh the lockfile.

This includes:

  • updating @bytecodealliance/jco, @rollup/plugin-typescript, @types/node, prettier, typescript, and vitest
  • refreshing generated WIT TypeScript declarations for the newer jco output format
  • adjusting the local TypeScript imports to match the regenerated declarations
  • updating Rollup and Vitest configuration for the newer tool versions

Notes

I have kept TypeScript at the latest 5.9.x release. TypeScript 6 generates numerous type errors for existing code.

About Failed Jobs

The failing jobs appear unrelated to this dependency update.

The observed failures happen while building Docker builder images, before the package build/test steps for this PR run. One failure downloads wasi-preset-args from a GitHub Release asset and then fails to unzip it because the downloaded file is not a valid zip. Another failure is in the NodeSource apt setup path.

This PR only changes the @ruby/wasm-wasi npm dev dependencies, generated WIT typings, and the Rollup/Vitest config needed for those updates. Local validation passed:

  • node packages/npm-packages/ruby-wasm-wasi/tools/component-ts-bindgen.mjs
  • npm -C packages/npm-packages/ruby-wasm-wasi run build
  • RUBY_NPM_PACKAGE_ROOT=../ruby-head-wasm-wasi npm -C packages/npm-packages/ruby-wasm-wasi run test:vitest -- --run
  • RUBY_NPM_PACKAGE_ROOT=../ruby-head-wasm-wasi npm -C packages/npm-packages/ruby-wasm-wasi run test:unit

A rerun of the failed jobs is likely the next step, but I do not have permission to trigger it.

@ledsun ledsun force-pushed the codex/update-ruby-wasm-wasi-dev-deps branch from 9dca031 to daea25e Compare May 5, 2026 06:02
@ledsun ledsun changed the title [codex] Update ruby-wasm-wasi dev dependencies Update ruby-wasm-wasi dev dependencies May 5, 2026
@ledsun ledsun marked this pull request as ready for review May 5, 2026 07:15
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.

1 participant