Skip to content

[Feature] Project model#812

Merged
TorinAsakura merged 7 commits into
pre-v3/architecture-foundationfrom
feat/project-model
Jul 11, 2026
Merged

[Feature] Project model#812
TorinAsakura merged 7 commits into
pre-v3/architecture-foundationfrom
feat/project-model

Conversation

@TorinAsakura

@TorinAsakura TorinAsakura commented Jul 9, 2026

Copy link
Copy Markdown
Member

Task

How to verify

Main scenario

  1. Context: Raijin commands resolve a Yarn project from a single-project repository, a monorepo, or a nested workspace invocation.
    Action: sync, typecheck, and checks consume the project model from @atls/raijin/project.
    Expected result: every consumer uses the Yarn top-level workspace, normalized workspace definitions, and the same project type.

Additional scenario

  1. Context: the project model previously lived in the legacy @atls/yarn-plugin-tools/project path.
    Action: build and pack @atls/raijin, rebuild the Yarn runtime, and import the packed @atls/raijin/project subpath from a clean npm consumer.
    Expected result: the packed public package contains dist/project, the clean import succeeds, and the replaced plugin-tools path and export are absent.

Proofs

  • yarn test unit yarn/raijin/src/project/manifest/manifest.test.ts yarn/raijin/src/project/type/type.test.ts yarn/raijin/src/project/workspaces/workspaces.test.ts yarn/plugin-tools/sources/commands/sync/tsconfig.command.test.ts yarn/plugin-tools/sources/commands/sync/typescript.command.test.ts yarn/plugin-typescript/sources/typecheck.command.test.ts yarn/plugin-checks/sources/checks-typecheck.command.test.ts --test-reporter=tap
  • targeted yarn typecheck and yarn lint for the project model and migrated consumers
  • yarn workspace @atls/raijin build
  • yarn workspace @atls/yarn-plugin-tools build
  • yarn workspace @atls/yarn-plugin-typescript build
  • yarn workspace @atls/yarn-plugin-checks build
  • yarn workspace @atls/yarn-cli build
  • cmp -s yarn/cli/dist/runtime/yarn.mjs .yarn/releases/yarn.mjs
  • yarn workspace @atls/raijin pack --out /tmp/atls-raijin-pr812.tgz
  • clean npm consumer import of packed @atls/raijin/project
  • yarn raijin:check
  • yarn check
  • git diff --check -- ':!.yarn/releases/yarn.mjs'

@TorinAsakura TorinAsakura self-assigned this Jul 9, 2026
@TorinAsakura
TorinAsakura changed the base branch from master to pre-v3/architecture-foundation July 9, 2026 21:53
@TorinAsakura
TorinAsakura marked this pull request as ready for review July 9, 2026 21:53

@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: 3e2721aac1

ℹ️ 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 yarn/raijin/package.json
@TorinAsakura
TorinAsakura merged commit 79ea779 into pre-v3/architecture-foundation Jul 11, 2026
7 checks passed
@TorinAsakura
TorinAsakura deleted the feat/project-model branch July 11, 2026 00:19
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.

[Feature] Project model

1 participant