-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Build: Upgrade typescript
#30354
Build: Upgrade typescript
#30354
Changes from all commits
d2257ae
5c2ac4a
1c4015a
eb293ac
1fdd771
c60a752
0afec40
c5674a8
c4c3c91
a5ef270
2543eb1
e12c1d4
84fe244
08832a8
86f6f30
581e837
c605c85
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -141,7 +141,7 @@ export const getInteractions = (finalStatus: CallStates) => | |||||
.filter((call) => call.interceptable) | ||||||
.map((call) => ({ | ||||||
...call, | ||||||
childCallIds: [], | ||||||
childCallIds: [] as any[], | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: consider using a more specific type than
Suggested change
|
||||||
isCollapsed: false, | ||||||
isHidden: false, | ||||||
toggleCollapsed: () => {}, | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,7 +105,7 @@ | |
"devDependencies": { | ||
"@types/node": "^22.0.0", | ||
"next": "^15.0.3", | ||
"typescript": "^5.3.2" | ||
"typescript": "^5.7.3" | ||
}, | ||
Comment on lines
105
to
109
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: Consider adding an explicit minimum TypeScript version requirement in peerDependencies since this upgrade enables new functionality that may not work with older versions |
||
"peerDependencies": { | ||
"@storybook/test": "workspace:*", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,10 +57,10 @@ | |
"typescript": "^4.9.4 || ^5.0.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: dependency version range for typescript should be updated to match devDependency version ^5.7.3 for consistency |
||
}, | ||
"devDependencies": { | ||
"@sveltejs/vite-plugin-svelte": "^4.0.0", | ||
"@sveltejs/vite-plugin-svelte": "^5.0.3", | ||
"@types/node": "^22.0.0", | ||
"svelte": "^5.0.5", | ||
"typescript": "^5.3.2", | ||
"typescript": "^5.7.3", | ||
"vite": "^4.0.0" | ||
}, | ||
"peerDependencies": { | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -56,14 +56,14 @@ | |||||||||||||||||||||||||||||||||||||||
"@storybook/vue3": "workspace:*", | ||||||||||||||||||||||||||||||||||||||||
"find-package-json": "^1.2.0", | ||||||||||||||||||||||||||||||||||||||||
"magic-string": "^0.30.0", | ||||||||||||||||||||||||||||||||||||||||
"typescript": "^5.0.0", | ||||||||||||||||||||||||||||||||||||||||
"typescript": "^5.7.3", | ||||||||||||||||||||||||||||||||||||||||
"vue-component-meta": "^2.0.0", | ||||||||||||||||||||||||||||||||||||||||
"vue-docgen-api": "^4.75.1" | ||||||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||||||
"devDependencies": { | ||||||||||||||||||||||||||||||||||||||||
"@types/find-package-json": "^1.2.6", | ||||||||||||||||||||||||||||||||||||||||
"@types/node": "^22.0.0", | ||||||||||||||||||||||||||||||||||||||||
"typescript": "^5.3.2", | ||||||||||||||||||||||||||||||||||||||||
"typescript": "^5.7.3", | ||||||||||||||||||||||||||||||||||||||||
"vite": "^4.0.0" | ||||||||||||||||||||||||||||||||||||||||
Comment on lines
+59
to
67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. style: TypeScript is listed in both dependencies and devDependencies. Consider removing it from one location to avoid potential version conflicts and duplicate installations.
Suggested change
|
||||||||||||||||||||||||||||||||||||||||
}, | ||||||||||||||||||||||||||||||||||||||||
"peerDependencies": { | ||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Consider adding a ~ instead of ^ to prevent auto-updating to TypeScript 5.8+ when it releases, which could introduce breaking changes