Update JavaScript and Rust dependencies - #187
Merged
Merged
Conversation
Raises dependency floors to the current release and settles the specs that disagreed between templates: the standalone JavaScript templates move to TypeScript 7 and jsdom 30, matching what the Python templates' js projects already used. Leaves the cross-major upgrades alone: babel 7 to 8, @types/node 24 to 26, cpy-cli 6 to 7, and oxfmt 0.63 to 0.66. The pinned @testing-library/react is also untouched. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
The split between TypeScript 5 and 7 was deliberate, not drift. svelte-check 4.x refuses TypeScript 7 unless both 6 and 7 are installed behind an npm alias, and TypeScript 7 rejects the side-effect CSS imports the Web Awesome templates rely on. Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Nothing watches the templates' own manifests — the
dependabot.yamlfiles shipto generated projects, and no config in this repo scans
package.json.jinjaorCargo.toml.jinja. These specs had drifted accordingly.Raises 25 dependency floors to the current release. Most are cosmetic, since
the caret ranges already resolved to these versions; the declared floors were
just stale.
Settles the five specs that disagreed between templates:
jsdom^29.0.0/^30.0.1^30.0.1@playwright/test^1.60.0/^1.62.0^1.62.1svelte^5.0.0/^5.56.0^5.57.0nodemon^3.1.10/^3.1.14^3.1.14The jsdom row is a real upgrade for the JavaScript templates, not a floor bump.
typescriptis deliberately left split:^5.9.3in the JavaScript templates,^7.0.2in the Python templates' js projects. Unifying it fails two ways —svelte-check 4.x refuses TypeScript 7 unless both 6 and 7 are installed behind
an npm alias, and TypeScript 7 raises TS2882 on the side-effect CSS imports the
Web Awesome templates use.
Rust:
pyo30.29.0to0.29.2.serdeandwasm-bindgenwere current.Deliberately not included, as cross-major upgrades wanting their own review:
babel 7 to 8,
@types/node24 to 26,cpy-cli6 to 7, andoxfmt0.63 to0.66. The
oxfmtbump in particular can change formatting results. The exactpin on
@testing-library/reactis left as-is.