Skip to content

Conversation

@carterworks
Copy link
Contributor

Description

The sandbox was calling getLibraryInfo to show the library version in the bottom right. However, since the sandbox does not use rollup to bundle alloy (it uses the source code as-is), the VERSION string in packages/core/src/libraryVersion.js never got replaced by rollup.

Now, the sandbox just reads the package.json file from alloy-core and extracts the version number. This gets bundled in vite.

Related Issue

Motivation and Context

Screenshots (if appropriate):

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully.

@carterworks carterworks self-assigned this Dec 16, 2025
@carterworks carterworks added the ignore-for-release Do not include this PR in release notes label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release Do not include this PR in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants