Skip to content

refactor: Change static imports to use @cardstack/base#5452

Merged
backspace merged 8 commits into
mainfrom
cs-10756-base-import-sweep
Jul 10, 2026
Merged

refactor: Change static imports to use @cardstack/base#5452
backspace merged 8 commits into
mainfrom
cs-10756-base-import-sweep

Conversation

@backspace

@backspace backspace commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This is a mechanical replacement of imports at the tops of files, and the same sorts of imports in test strings.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files  ± 0      1 suites  ±0   2h 48m 23s ⏱️ + 2m 32s
3 449 tests +14  3 434 ✅ +14  15 💤 ±0  0 ❌ ±0 
3 468 runs  +14  3 453 ✅ +14  15 💤 ±0  0 ❌ ±0 

Results for commit 3a4b2ab. ± Comparison against earlier commit 8881bc1.

Realm Server Test Results

    1 files  ±0      1 suites  ±0   12m 26s ⏱️ + 1m 28s
1 798 tests +6  1 798 ✅ +6  0 💤 ±0  0 ❌ ±0 
1 877 runs  +6  1 877 ✅ +6  0 💤 ±0  0 ❌ ±0 

Results for commit 3a4b2ab. ± Comparison against earlier commit 8881bc1.

@backspace backspace changed the title Change imports to use @cardstack/base refactor: Change imports to use @cardstack/base Jul 9, 2026
@backspace
backspace marked this pull request as ready for review July 9, 2026 17:23

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f3f5f9f3a2

ℹ️ 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".

Comment thread packages/experiments-realm/blog-post.gts Outdated
@backspace
backspace force-pushed the cs-10756-base-import-sweep branch from f3f5f9f to 013a25f Compare July 9, 2026 17:47
backspace added a commit that referenced this pull request Jul 9, 2026
The conversion pass had also run prettier over every touched file, which
reformatted regions unrelated to the import change — including markdown-format
templates whose leading whitespace is part of the rendered output (a
markdown-rendered card would gain indented/code-block content). Normalize every
swept file to exactly the upstream content plus the specifier replacement;
formatting stays as each file had it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
backspace added a commit that referenced this pull request Jul 9, 2026
The rebase over the CLI RRI support left two identical prefix-form
expectations; make them one URL-form and one prefix-form so both spellings
keep coverage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@backspace backspace changed the title refactor: Change imports to use @cardstack/base refactor: Change static imports to use @cardstack/base Jul 9, 2026
backspace added a commit that referenced this pull request Jul 9, 2026
The conversion pass had also run prettier over every touched file, which
reformatted regions unrelated to the import change — including markdown-format
templates whose leading whitespace is part of the rendered output (a
markdown-rendered card would gain indented/code-block content). Normalize every
swept file to exactly the upstream content plus the specifier replacement;
formatting stays as each file had it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
backspace added a commit that referenced this pull request Jul 9, 2026
The rebase over the CLI RRI support left two identical prefix-form
expectations; make them one URL-form and one prefix-form so both spellings
keep coverage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@backspace
backspace force-pushed the cs-10756-base-import-sweep branch 2 times, most recently from 83788d3 to 8881bc1 Compare July 9, 2026 22:20
@backspace
backspace requested a review from a team July 9, 2026 22:46
@habdelra
habdelra requested a review from Copilot July 9, 2026 22:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

backspace and others added 8 commits July 9, 2026 18:26
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Part of the sweep converting in-repo base-module imports from the
https://cardstack.com/base/ URL form to the canonical @cardstack/base/
prefix: static and literal-dynamic specifiers, tsconfig paths carrying both
spellings, and import ordering per the specifier's new sort group.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Same conversion for ai-bot, boxel-cli, matrix, bot-runner, openrouter-realm,
vscode-boxel-tools, postgres, catalog, billing, and boxel-ui's tsconfig, plus
the type-check configs that map the base package by specifier: boxel-cli's
embedded parse tsconfig and software-factory's generated parse tsconfig. Test
expectations that assert specifier spellings cover both forms.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@backspace
backspace force-pushed the cs-10756-base-import-sweep branch from 8881bc1 to 3a4b2ab Compare July 9, 2026 23:27
@backspace
backspace merged commit f4b022d into main Jul 10, 2026
78 of 79 checks passed
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.

3 participants