Repository navigation
build: リポジトリの土台を作る (pnpm、lint、CI、AGENTS.md) - #7
Merged
Merged
Conversation
lumorphia/prismtone から現像を移す前の土台。規則は prismtone と同じにする。 - pnpm 12.8.1 / Node 24.21 の workspace (apps/*、packages/*)。 minimumReleaseAge は既定のまま、allowBuilds は esbuild だけ - TypeScript strict (prismtone と同じ tsconfig.base.json。exports の source 条件を customConditions で読む) - ESLint: パッケージの依存の向き (recipe <- engine <- react <- apps/web)、 ホストを import しない、ほかのパッケージは exports から使う。 tooling/eslint-boundaries.test.ts が、ルールが本当に止めるかを確かめる (ルールを外すと落ちることを確かめた) - Prettier、husky (pre-commit: lint-staged と gitleaks、pre-push: typecheck と test) - Vitest: packages/* と apps/* の project、カバレッジの閾値は prismtone と同じ - CI (PR で lint、format、typecheck、カバレッジ付きテスト、gitleaks、audit)、 Renovate (develop 向け、週 1 回) - AGENTS.md、README、ADR-0001 (ADR を使う) Closes #1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lumorphia/prismtone から現像を移す前の土台 (milestone「v0.1 パッケージの初版」)。規則は prismtone と同じにした。
入れたもの
apps/*とpackages/*minimumReleaseAgeは既定 (1 日) のまま。allowBuildsは esbuild だけtsconfig.base.json。exports のsource条件はcustomConditionsで読む。prismtone #365 と同じ形bin/とscripts/は Node API を使ってよい@prismtone/*など) は import しない/src/、/dist/を直接指さない)tooling/eslint-boundaries.test.ts: 上のルールが本当に import を止めるかを、ESLint の API で確かめるpackages/*、apps/*、リポジトリ全体 (tooling/) の projectpackages/*/src) が空のあいだは閾値で落ちないADR の番号は 1 つずれる。#4 に挙げた「境界とホストのアダプター」などは 0002 から始める。
確かめたこと
pnpm lint && pnpm format:check && pnpm typecheck && pnpm test:coverage(8 passed)gitleaks dir .: no leaksマージのあと (設定は手で)
mainとdevelopに直接 push しない、CI を必須にする) は prismtone に合わせるCloses #1
🤖 Generated with Claude Code