Remove typescript peerDependency from all packages#1188
Conversation
|
BundleMonUnchanged files (136)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
Co-authored-by: Callum McIntyre <callum.mcintyre@anza.xyz>
9250e7d to
e4351c3
Compare
|
Thanks @mcintyre94 for updating the lockfile (sorry I initially missed it)! I squashed the two commits (it should be one atomic changeset), and added |
|
Closing in favour of #1187, but thankyou again! :) |
|
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
Problem
See #1161 for full context.
Summary
typescriptpeerDependency from 42 packagesdist/, so consumers don't need TypeScript to use them.d.ts) work regardless of consumer's TypeScript versionContext
The TypeScript peerDependency was causing excessive warnings for consumers, especially those using
@solana/kitas a transitive dependency. Since the packages are published as a "Solana JavaScript SDK" with compiled output, there's no strict requirement for consumers to have any specific TypeScript version (or TypeScript at all).Fixes #1161
Replaces #1187