chore: remove unused dependencies across the monorepo#1752
Conversation
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/browser size report |
|
@launchdarkly/js-client-sdk size report |
|
@launchdarkly/js-client-sdk-common size report |
| }, | ||
| "dependencies": { | ||
| "@launchdarkly/akamai-edgeworker-sdk-common": "^2.0.23", | ||
| "@launchdarkly/js-server-sdk-common": "^2.19.1" |
There was a problem hiding this comment.
this should be a transitive dep of @launchdarkly/akamai-edgeworker-sdk-common
| }, | ||
| "devDependencies": { | ||
| "@eslint/js": "^9.0.0", | ||
| "@rollup/plugin-commonjs": "^25.0.0", |
There was a problem hiding this comment.
this package uses tsc for build.
…pace dep reference
a49004a to
58489a2
Compare
Note
Medium Risk
Low product risk if removals are truly unused, but incorrect drops (e.g. Vercel
crypto-js, Akamai base transitive server-common, OpenFeaturejs-sdk-common) could break builds or published bundles until CI catches them.Overview
Trims unused
devDependenciesanddependenciesacross many SDK, shared, store, and telemetry packages—most notably droppinglaunchdarkly-js-test-helperswhere tests no longer import it, and removing Rollup/Jest/testing-library entries from packages that build or test withtsc, Vitest, or slimmer Jest setups.A few runtime / packaging adjustments stand out:
@launchdarkly/akamai-server-base-sdkno longer lists@launchdarkly/js-server-sdk-common(only the Akamai common package);@launchdarkly/vercel-server-sdkdropscrypto-js;@launchdarkly/openfeature-node-serverdrops a direct@launchdarkly/js-sdk-commondependency;@launchdarkly/svelte-client-sdkpins@launchdarkly/js-client-sdkto4.9.0(replacingworkspace:^) and removesesm-envplus unused Jest-oriented dev tooling.release-please-config.jsonaddspackages/sdk/svelte/package.jsonso@launchdarkly/js-client-sdkstays in sync when the browser SDK is released.Reviewed by Cursor Bugbot for commit 58489a2. Bugbot is set up for automated code reviews on this repo. Configure here.