Skip to content

Add Stellar SDK dependencies detection to auto‑install in sandbox environments - #37

Merged
devfoma merged 8 commits into
Ender-Stellar:mainfrom
AugistineCreates:stellar-deps-fix
Jun 19, 2026
Merged

devfoma merged 8 commits into
Ender-Stellar:mainfrom
AugistineCreates:stellar-deps-fix

Conversation

@AugistineCreates

Copy link
Copy Markdown
Contributor

This pr closes #11

This change updates the package‑detection logic in app/api/detect-and-install-packages/route.ts so that Stellar SDK packages are automatically included when the system determines which npm packages need to be installed in a sandbox environment.

What was changed

  • Added a list of known Stellar SDK packages (@stellar/stellar-sdk and @stellar/freighter-api).
  • Merged this list with the previously detected unique packages to form finalPackageList.
  • Updated logging to show the final list of packages (including the Stellar SDKs).
  • Adjusted the early‑exit condition to use finalPackageList instead of the original uniquePackages.

Why
Pre‑installing the Stellar SDKs ensures that generated Stellar dapps can build and run immediately on E2B or Vercel sandboxes without requiring manual dependency installation.

@devfoma
devfoma merged commit 97f0c05 into Ender-Stellar:main Jun 19, 2026
1 check passed
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.

backend: Pre-install Stellar SDKs and configure Sandbox Environments

2 participants