Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <html lang> 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/<locale>/`, so each locale is a
// top-level section. Scoping the rail to the active section keeps Korean
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/en/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:start -->
# PleaseAI Code Style
# Passion Factory Code Style

These rules are managed by `@pleaseai/code-style`. Run
`pleaseai-code-style update` to refresh this block.
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/content/docs/en/index.mdx
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -10,7 +10,7 @@ sidebar:
tableOfContents: false
---

<Hero title="PleaseAI Code Style" description="Shared ESLint, Prettier, and EditorConfig configurations for consistent code style across PleaseAI projects — plus a CLI that wires them up in one command.">
<Hero title="Passion Factory Code Style" description="Shared ESLint, Prettier, and EditorConfig configurations for consistent code style across PleaseAI projects — plus a CLI that wires them up in one command.">
<LinkButton href="/en/cli" size="lg" icon>Get started</LinkButton>
<LinkButton href="https://github.com/pleaseai/code-style" variant="secondary" size="lg" target="_blank">Star on GitHub</LinkButton>
</Hero>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/content/docs/ko/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ CLI는 `AGENTS.md`에 마커로 구분된 블록을 작성하므로, 주변에
내 프로젝트 노트는 여기에 있습니다.

<!-- pleaseai-code-style:start -->
# PleaseAI Code Style
# Passion Factory Code Style

이 규칙은 `@pleaseai/code-style`에서 관리합니다.
`pleaseai-code-style update`를 실행하면 이 블록이 새로고침됩니다.
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/content/docs/ko/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "PleaseAI Code Style"
title: "Passion Factory Code Style"
description: "PleaseAI 프로젝트 전반에 걸쳐 일관된 코드 스타일을 유지하기 위한 공유 ESLint, Prettier, EditorConfig 설정."
mode: custom
sidebar:
Expand All @@ -10,7 +10,7 @@ sidebar:
tableOfContents: false
---

<Hero title="PleaseAI Code Style" description="PleaseAI 프로젝트를 위한 공유 ESLint, Prettier, EditorConfig 설정 — 이 모든 것을 한 번에 연결해 주는 CLI도 함께 제공합니다.">
<Hero title="Passion Factory Code Style" description="PleaseAI 프로젝트를 위한 공유 ESLint, Prettier, EditorConfig 설정 — 이 모든 것을 한 번에 연결해 주는 CLI도 함께 제공합니다.">
<LinkButton href="/ko/cli" size="lg" icon>시작하기</LinkButton>
<LinkButton href="https://github.com/pleaseai/code-style" variant="secondary" size="lg" target="_blank">GitHub에서 보기</LinkButton>
</Hero>
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/appliers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async function applyEditorConfig(ctx: ToolContext): Promise<ToolApplyResult> {

// --- 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
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/test/appliers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('<!-- pleaseai-code-style:start -->\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')
Expand Down
Loading