Skip to content

Commit 70676b6

Browse files
authored
fix: Update rwsdk package dependencies to use tilde versioning. (#784)
This change updates dependency specifiers from caret (^) to tilde (~) ranges for dependencies and devDependencies of `rwsdk`. For a framework package, using caret ranges can introduce unintended breaking changes from dependencies when minor versions are automatically updated in applications. This can affect the stability of projects that consume the framework.
1 parent a31b72d commit 70676b6

File tree

4 files changed

+406
-5457
lines changed

4 files changed

+406
-5457
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
### # 2025-09-25
2+
3+
#### # Problem
4+
5+
The goal is to move from caret (`^`) to tilde (`~`) dependency ranges in `sdk/package.json` for more predictable dependency updates. After updating the dependencies, a TypeScript error surfaced in `sdk/src/vite/createViteAwareResolver.mts` due to a type mismatch between Node's `fs` module and the `FileSystem` type expected by `enhanced-resolve`.
6+
7+
#### # Plan
8+
9+
1. **Fix TypeScript Error:**
10+
* The type error appears to be caused by an outdated version of `@types/node`. The plan is to update `@types/node` to the latest version to align its `fs` module typings with `enhanced-resolve`'s expectations.
11+
12+
2. **Regression Testing:**
13+
* Run the complete test suite to ensure the dependency updates haven't introduced any breaking changes.
14+
* Execute end-to-end tests for all playground examples to verify real-world usage scenarios.

0 commit comments

Comments
 (0)