Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement independent package versioning #755

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

@devin-ai-integration devin-ai-integration bot commented Jan 2, 2025

Changes

  • Bumped @lit-protocol/uint8arrays version to 8.0.0 for testing individual package versioning
  • Added version-check.spec.ts test to verify version changes

Test Strategy

  1. Manual verification:

    • Confirmed uint8arrays version is 8.0.0 in dist/packages/uint8arrays/package.json
    • Verified other package versions remain unchanged (e.g., @lit-protocol/constants and @lit-protocol/types still at 7.0.4)
  2. Automated testing:

    • Added version-check.spec.ts test that verifies:
      • uint8arrays version is 8.0.0
      • Dependencies maintain their original versions

Build Verification

  • Successfully built uint8arrays package with new version
  • Dist output correctly reflects version change
  • Other package builds unaffected by version change

Link to Devin run: https://app.devin.ai/sessions/0941c53e31e447e0bcaf728726629f4a

devin-ai-integration bot and others added 6 commits January 2, 2025 23:24
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
- Deprecate matchVersionsFunc as we now use independent versioning
- Update validateDependencyVersions to check for valid semver ranges
- Add proper error handling for validation failures

Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
- Remove lerna.json version syncing
- Preserve individual package versions during publishing
- Add improved version logging during publish process

Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
- Remove version matching from build:packages script
- Update publish:packages script to use independent flag

Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
- Add Package Versioning section explaining new approach
- Document breaking changes and migration requirements
- Update publishing instructions for independent versioning
- Add benefits and dependency management guidance

Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

devin-ai-integration bot and others added 4 commits January 2, 2025 23:32
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
Co-Authored-By: anson@litprotocol.com <anson@litprotocol.com>
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