Skip to content

Change to use import maps for @cardstack/catalog#4186

Open
backspace wants to merge 7 commits intomainfrom
cs-10440-change-to-use-import-maps-for-cardstackcatalog-references
Open

Change to use import maps for @cardstack/catalog#4186
backspace wants to merge 7 commits intomainfrom
cs-10440-change-to-use-import-maps-for-cardstackcatalog-references

Conversation

@backspace
Copy link
Contributor

@backspace backspace commented Mar 13, 2026

This updates how @cardstack/catalog references are handled, delaying resolution into URLs as late as possible so cards can use them in relationships and cards and card definitions can use them for module imports. addImportMap in the virtual network already existed but was one-way, resulting in environment-specific catalog realm URLs being scattered through cards and the database. Now an environment-specific realm URL can be “unresolved” back into @cardstack/catalog.

Forthcoming work:

  • adding @cardstack/skills similarly
  • lint rule to convert environment-specific references to universal ones (https://app.boxel.ai/catalog to @cardstack/catalog)
  • migrating to @cardstack/base, the big one

@backspace backspace self-assigned this Mar 13, 2026
@github-actions
Copy link

github-actions bot commented Mar 13, 2026

Host Test Results

    1 files  ±0      1 suites  ±0   2h 14m 21s ⏱️ - 13m 33s
2 030 tests +8  1 996 ✅  - 11  15 💤 ±0   0 ❌ ± 0  19 🔥 +19 
2 045 runs  +8  1 992 ✅  - 30  15 💤 ±0  19 ❌ +19  19 🔥 +19 

For more details on these errors, see this check.

Results for commit b0b79d6. ± Comparison against base commit dc8558c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

Preview deployments

@backspace backspace marked this pull request as ready for review March 18, 2026 14:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 44df01a6f1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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