Skip to content

Move npm packages to @astrid-runtime - #29

Merged
joshuajbouw merged 1 commit into
mainfrom
chore/astrid-runtime-npm-scope
Aug 5, 2026
Merged

Move npm packages to @astrid-runtime#29
joshuajbouw merged 1 commit into
mainfrom
chore/astrid-runtime-npm-scope

Conversation

@joshuajbouw

Copy link
Copy Markdown
Member

Summary

  • rename the publishable SDK and build packages from @unicity-astrid/* to @astrid-runtime/*
  • update workspace dependencies, imports, generated banners, examples, and current-facing documentation
  • preserve the canonical WIT namespace and historical 0.1.0 changelog identity
  • add canonical MIT and Apache-2.0 license texts plus standard npm repository/license metadata
  • make the release fallback link follow the current GitHub repository dynamically

Validation

  • npm ci
  • ASTRID_HOST_WIT_DIR=/host npm run build
  • npm test (9 passing)
  • npm audit --audit-level=low (0 vulnerabilities)
  • npm pack --dry-run for both @astrid-runtime/build@0.2.0 and @astrid-runtime/sdk@0.2.0
  • fresh consumer install of both tarballs (0 vulnerabilities; no old-scope references)

The contracts gitlink is intentionally unchanged.

Copilot AI lite review requested due to automatic review settings August 5, 2026 18:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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/sdk and @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.

@joshuajbouw
joshuajbouw merged commit c2a63c4 into main Aug 5, 2026
4 checks passed
@joshuajbouw
joshuajbouw deleted the chore/astrid-runtime-npm-scope branch August 5, 2026 18:33
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.

2 participants