Move npm packages to @astrid-runtime - #29
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Ready to approve
The scope migration and metadata updates are consistent across code, docs, examples, lockfile, and release workflow with no remaining old-scope references in the reviewed changed areas.
This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.
Pull request overview
This PR migrates the monorepo’s published npm package scope from @unicity-astrid/* to @astrid-runtime/*, updating documentation, examples, workspace wiring, and release metadata to match the new scope while keeping the existing WIT namespace history intact.
Changes:
- Renamed workspace packages and all consumer-facing install/import docs to
@astrid-runtime/sdkand@astrid-runtime/build. - Added standard npm package metadata (license/repository/homepage/bugs) and included canonical MIT/Apache-2.0 license texts in published package files.
- Updated release workflow changelog fallback link to follow the current repository dynamically.
File summaries
| File | Description |
|---|---|
| README.md | Updates top-level documentation/install/import examples to the new npm scope. |
| packages/astrid-sdk/src/index.ts | Updates public API header/comments to the new package name. |
| packages/astrid-sdk/src/contracts.ts | Updates generated-file banner to reference the new build package scope. |
| packages/astrid-sdk/scripts/generate-contracts.mjs | Updates codegen import to the new build package scope. |
| packages/astrid-sdk/README.md | Updates package README name, links, and examples to the new scope. |
| packages/astrid-sdk/package.json | Renames package, adds npm metadata, and includes license files in published contents. |
| packages/astrid-sdk/LICENSE-MIT | Adds MIT license text to ship with the SDK package. |
| packages/astrid-sdk/LICENSE-APACHE | Adds Apache-2.0 license text to ship with the SDK package. |
| packages/astrid-build/src/wit-codegen.mjs | Updates generated-file banner to reference the new build package scope. |
| packages/astrid-build/src/index.mjs | Updates build orchestrator comments/banners/error text to the new scope. |
| packages/astrid-build/README.md | Updates build package README name, links, and documentation references to the new scope. |
| packages/astrid-build/package.json | Renames package, adds npm metadata, and includes license files in published contents. |
| packages/astrid-build/LICENSE-MIT | Adds MIT license text to ship with the build package. |
| packages/astrid-build/LICENSE-APACHE | Adds Apache-2.0 license text to ship with the build package. |
| package.json | Adds root-level npm metadata (license/repository/homepage/bugs). |
| package-lock.json | Updates workspace dependency links and metadata to the new package names. |
| notes/phase-2.md | Updates internal notes references to the new package scope. |
| notes/phase-1.md | Updates internal notes references to the new package scope. |
| notes/phase-0.md | Updates internal notes references to the new package scope. |
| LICENSE-MIT | Adds repository-level MIT license text. |
| LICENSE-APACHE | Adds repository-level Apache-2.0 license text. |
| examples/test-capsule/src/index.ts | Updates example imports to @astrid-runtime/sdk. |
| examples/test-capsule/package.json | Updates example dependencies to the new package names. |
| CHANGELOG.md | Updates changelog wording to the new package names and notes the scope migration. |
| .github/workflows/release.yml | Makes the changelog fallback link dynamic to the current GitHub repository. |
Review details
- Files reviewed: 24/25 changed files
- Comments generated: 0
- Review effort level: Lite
We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
The contracts gitlink is intentionally unchanged.