Skip to content

Vendor acquisition-sdk instead of depending on the code-push npm package - #9

Draft
ofalvai wants to merge 1 commit into
masterfrom
push-optovlvxomwp
Draft

Vendor acquisition-sdk instead of depending on the code-push npm package#9
ofalvai wants to merge 1 commit into
masterfrom
push-optovlvxomwp

Conversation

@ofalvai

@ofalvai ofalvai commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Adds src/acquisition-sdk/ (vendored TypeScript from the archived microsoft/code-push repo, trimmed types.ts to only what's used, tests ported for future reference but not wired into any runner), a tsconfig.build.json + build:ts script compiling it to lib/ at prepack/setup time, and points CodePush.js at the compiled output instead of the code-push package. Drops the code-push dependency entirely, which was only ever used for this one submodule and pulled in the superagent/proxy-agent/vm2 CLI dependency chain that never actually shipped in the bundled app JS.

Adds src/acquisition-sdk/ (vendored TypeScript from the archived
microsoft/code-push repo, trimmed types.ts to only what's used, tests
ported for future reference but not wired into any runner), a
tsconfig.build.json + build:ts script compiling it to lib/ at
prepack/setup time, and points CodePush.js at the compiled output
instead of the code-push package. Drops the code-push dependency
entirely, which was only ever used for this one submodule and pulled
in the superagent/proxy-agent/vm2 CLI dependency chain that never
actually shipped in the bundled app JS.
@ofalvai
ofalvai force-pushed the push-optovlvxomwp branch from 5ccf1c5 to 8c55d99 Compare July 29, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant