Skip to content

chore(e2e): use explicit workspace deps for internal @griffel/* packages#962

Closed
layershifter wants to merge 1 commit into
microsoft:mainfrom
layershifter:chore/workspace-migration-phase-1-e2e
Closed

chore(e2e): use explicit workspace deps for internal @griffel/* packages#962
layershifter wants to merge 1 commit into
microsoft:mainfrom
layershifter:chore/workspace-migration-phase-1-e2e

Conversation

@layershifter
Copy link
Copy Markdown
Member

Summary

First slice of the larger workspaces + project-references migration explored in #774. This PR is intentionally minimal — it only touches private packages so it can land independently:

  • e2e/eslint, e2e/typescript: add @griffel/e2e-utils as devDependency (workspace:*). Both already import from @griffel/e2e-utils; the resolution was implicit via the path alias in tsconfig.base.json.
  • e2e/rspack: tighten the existing "*" e2e-utils dep to workspace:* for consistency.
  • Drop @griffel/e2e-utils and @griffel/update-shorthands aliases from tsconfig.base.json — no consumer needs them now that the deps are declared explicitly.

Published @griffel/* packages keep their path aliases untouched; those migrate in follow-up PRs.

Test plan

  • yarn nx run-many --target=type-check --all — passes (20/20)
  • yarn nx run @griffel/e2e-eslint:test — passes
  • yarn nx run @griffel/e2e-typescript:test — passes
  • yarn check-dependencies — clean

🤖 Generated with Claude Code

First slice of the larger workspaces + project-references migration.
This one only touches private packages — the published @griffel/*
packages keep their path aliases in tsconfig.base.json untouched.

- e2e/eslint, e2e/typescript: add @griffel/e2e-utils as devDependency
  (workspace:*). Both already import from @griffel/e2e-utils; the
  resolution was implicit via the path alias.
- e2e/rspack: tighten the existing "*" e2e-utils dep to workspace:*
  for consistency.
- Drop @griffel/e2e-utils and @griffel/update-shorthands aliases from
  tsconfig.base.json — no consumer needs them now that the deps are
  declared explicitly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@layershifter layershifter requested a review from a team as a code owner May 21, 2026 15:48
@github-actions
Copy link
Copy Markdown
Contributor

📊 Bundle size report

✅ No changes found

@layershifter
Copy link
Copy Markdown
Member Author

Slicing the migration into phases doesn't pan out — closing in favor of the single migration in #774.

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