diff --git a/apps/docs/astro.config.ts b/apps/docs/astro.config.ts index 3f0f5ca..9c35ca3 100644 --- a/apps/docs/astro.config.ts +++ b/apps/docs/astro.config.ts @@ -10,13 +10,13 @@ const nimbusConfig = defineNimbusConfig({ // Canonical origin (no trailing slash). Drives canonical URLs, absolute OG // image URLs, robots.txt, sitemap, and the links in /llms.txt. site: 'https://code-style.pages.dev', - title: 'PleaseAI Code Style', + title: 'Passion Factory Code Style', description: 'Shared code style configurations for PleaseAI projects', // Fallback only: BaseLayout sets per page from the URL locale. locale: defaultLocale, github: 'https://github.com/pleaseai/code-style', editPattern: 'https://github.com/pleaseai/code-style/edit/main/apps/docs/{path}', - socialImageAlt: 'PleaseAI Code Style documentation preview', + socialImageAlt: 'Passion Factory Code Style documentation preview', sidebar: { // Content lives under `src/content/docs//`, so each locale is a // top-level section. Scoping the rail to the active section keeps Korean diff --git a/apps/docs/src/content/docs/en/cli.mdx b/apps/docs/src/content/docs/en/cli.mdx index 2925604..2b07151 100644 --- a/apps/docs/src/content/docs/en/cli.mdx +++ b/apps/docs/src/content/docs/en/cli.mdx @@ -108,7 +108,7 @@ The CLI writes a marker-delimited block into `AGENTS.md` so you can mix your own My project notes live here. -# PleaseAI Code Style +# Passion Factory Code Style These rules are managed by `@pleaseai/code-style`. Run `pleaseai-code-style update` to refresh this block. diff --git a/apps/docs/src/content/docs/en/index.mdx b/apps/docs/src/content/docs/en/index.mdx index 92bbffe..2cac180 100644 --- a/apps/docs/src/content/docs/en/index.mdx +++ b/apps/docs/src/content/docs/en/index.mdx @@ -1,5 +1,5 @@ --- -title: "PleaseAI Code Style" +title: "Passion Factory Code Style" description: "Shared ESLint, Prettier, and EditorConfig configurations for consistent code style across PleaseAI projects." mode: custom sidebar: @@ -10,7 +10,7 @@ sidebar: tableOfContents: false --- - + Get started Star on GitHub diff --git a/apps/docs/src/content/docs/ko/cli.mdx b/apps/docs/src/content/docs/ko/cli.mdx index c24017c..c805fb6 100644 --- a/apps/docs/src/content/docs/ko/cli.mdx +++ b/apps/docs/src/content/docs/ko/cli.mdx @@ -108,7 +108,7 @@ CLI는 `AGENTS.md`에 마커로 구분된 블록을 작성하므로, 주변에 내 프로젝트 노트는 여기에 있습니다. -# PleaseAI Code Style +# Passion Factory Code Style 이 규칙은 `@pleaseai/code-style`에서 관리합니다. `pleaseai-code-style update`를 실행하면 이 블록이 새로고침됩니다. diff --git a/apps/docs/src/content/docs/ko/index.mdx b/apps/docs/src/content/docs/ko/index.mdx index 1629c16..9c59bfa 100644 --- a/apps/docs/src/content/docs/ko/index.mdx +++ b/apps/docs/src/content/docs/ko/index.mdx @@ -1,5 +1,5 @@ --- -title: "PleaseAI Code Style" +title: "Passion Factory Code Style" description: "PleaseAI 프로젝트 전반에 걸쳐 일관된 코드 스타일을 유지하기 위한 공유 ESLint, Prettier, EditorConfig 설정." mode: custom sidebar: @@ -10,7 +10,7 @@ sidebar: tableOfContents: false --- - + 시작하기 GitHub에서 보기 diff --git a/packages/cli/src/appliers.ts b/packages/cli/src/appliers.ts index b908f8a..5e43c3e 100644 --- a/packages/cli/src/appliers.ts +++ b/packages/cli/src/appliers.ts @@ -136,7 +136,7 @@ async function applyEditorConfig(ctx: ToolContext): Promise { // --- AGENTS.md -------------------------------------------------------------- -const AGENTS_BODY = `# PleaseAI Code Style +const AGENTS_BODY = `# Passion Factory Code Style These rules are managed by \`@pleaseai/code-style\`. Run \`pleaseai-code-style update\` to refresh this block. Do not edit between the marker comments — your changes diff --git a/packages/cli/test/appliers.test.ts b/packages/cli/test/appliers.test.ts index a53f5e4..ee27a36 100644 --- a/packages/cli/test/appliers.test.ts +++ b/packages/cli/test/appliers.test.ts @@ -154,6 +154,13 @@ describe('AGENTS.md rules block', () => { expect(body).toContain('please-style check') }) + test('titles the block Passion Factory Code Style', async () => { + await applyAgentsMd({ cwd: dir, autoAccept: true }) + const body = readFileSync(join(dir, 'AGENTS.md'), 'utf-8') + expect(body).toContain('\n# Passion Factory Code Style\n') + expect(body).not.toContain('PleaseAI Code Style') + }) + test('points only at rule files the package ships', async () => { await applyAgentsMd({ cwd: dir, autoAccept: true }) const body = readFileSync(join(dir, 'AGENTS.md'), 'utf-8')