Skip to content

publish runtime packages in JSON format for AI and update libui for latest fix#1299

Merged
joshunrau merged 5 commits intoDouglasNeuroInformatics:mainfrom
joshunrau:publish-runtime-packages
Feb 25, 2026
Merged

publish runtime packages in JSON format for AI and update libui for latest fix#1299
joshunrau merged 5 commits intoDouglasNeuroInformatics:mainfrom
joshunrau:publish-runtime-packages

Conversation

@joshunrau
Copy link
Collaborator

@joshunrau joshunrau commented Feb 25, 2026

Summary by CodeRabbit

  • New Features

    • Introduced runtime versioning system with structured metadata organization
    • Added endpoint for serving runtime package metadata
  • Chores

    • Updated package versions and dependencies
    • Refactored runtime metadata structure for improved package-level export management

@joshunrau joshunrau merged commit f208729 into DouglasNeuroInformatics:main Feb 25, 2026
1 of 2 checks passed
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 25, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a8f14ef and 680c828.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (8)
  • apps/outreach/package.json
  • apps/outreach/src/pages/resources/runtime/[version].json.ts
  • package.json
  • packages/runtime-meta/src/index.d.ts
  • packages/runtime-meta/src/index.js
  • packages/serve-instrument/package.json
  • packages/vite-plugin-runtime/src/plugin.js
  • pnpm-workspace.yaml

Walkthrough

The PR restructures the runtime metadata format from using importPaths to a packages array with per-package exports, introduces a new Astro route to serve runtime metadata as JSON, updates type definitions and exports in the runtime-meta package, and bumps related package versions.

Changes

Cohort / File(s) Summary
Package Versions
package.json, packages/serve-instrument/package.json, pnpm-workspace.yaml
Bumped versions (1.13.1→1.13.2, 0.0.7→0.0.9, @douglasneuroinformatics/libui ^6.1.2→^6.1.3) for workspace packages and dependencies.
Runtime Metadata Core
packages/runtime-meta/src/index.d.ts, packages/runtime-meta/src/index.js
Restructured metadata schema: replaced importPaths field with new packages array containing per-package export information (css, html, js); exported new constant RUNTIME_VERSIONS = ['v1'] and new RuntimePackageMetadata type; refactored generation logic to aggregate exports by package.
Runtime Metadata Integration
apps/outreach/src/pages/resources/runtime/[version].json.ts, packages/vite-plugin-runtime/src/plugin.js
Added new Astro route serving runtime metadata as JSON with static path generation; updated plugin's optimizeDeps.exclude calculation to use new packages structure instead of importPaths.
Workspace Dependency
apps/outreach/package.json
Added @opendatacapture/runtime-meta (workspace:*) to devDependencies.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@joshunrau joshunrau deleted the publish-runtime-packages branch February 25, 2026 21:09
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