Skip to content

Commit e6634ce

Browse files
docs(getting-started): the Build with Claude Code tutorial adds its Support group to the starter's one app (#38636)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9JeHmqv6CKCkW8ewrPBLekk)_ Fixes #38590 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:照入门教程「用 Claude Code 搭一个应用」原样做的读者,第三步不再新建第二个应用,而是在模板自带的主应用里加一个「Support」导航分组,`os validate` 从失败变为通过。 - 为什么做:入门教程的主线在它声称会通过的那一步失败,每个照做的读者都会卡住;这次让页面与模板注释讲的「一个应用包只放一个应用」一致。 - 出错会怎样:只改文档页和一个夜间测试,不碰产品代码,可以直接撤回。 - 要你做的:无。 ## What changes - `content/docs/getting-started/build-with-claude-code.mdx`, step 3: the `src/apps/support.app.ts` block (a second `defineApp`) is replaced by the edited `src/apps/main.app.ts`, the starter's one app with the `grp_support` group and its `nav_open_tickets` child at the top of `navigation`. The prose before it quotes the template's own comment on why ("A package whose manifest type is 'app' holds at most one app, so this is the one: ... rather than a second app"), and one sentence after it says `os validate` refuses a second app file. Route A of the card, ADR-0019 D3 as amended. - The barrel prose now shows the three export lines as a block (objects, actions, views) and says the app needs none: `src/apps/index.ts` already exports `main.app.ts`. Step 2's prompt reads "a Support nav group in the app". The "does not touch" paragraph now says "apart from that one edit to the app". - New `packages/cli/test/getting-started-build-with-claude-code.e2e.test.ts`: scaffolds the project the page names through the on-ramp's real `bin/`, writes every `title=` block of the page to its path, appends the page's barrel lines, runs `os validate`, and asserts exit 0 plus every `Data:` / `UI:` / `Logic:` / `Security:` line of the page's validate block. It also asserts each new file has a barrel line on the page in its own directory. The page is the only source; nothing the project receives is written in the test. - `scripts/cross-package-test-inputs.mjs` and `turbo.json`: one declaration line each for the page, beside `getting-started/index.mdx`. `scripts/check-ci-filter-parity.mjs`: the self-test's pre-#10015 rollback pin goes from 24 to 25, with a `Plus, since #38590, …` note modelled on #29972's. ## Tests - New test, green on this head: `Test Files 1 passed (1)`, `Tests 5 passed (5)`, 9.26 s (shared box), `OS_TEST_TIERS=nightly` because the file is named `.e2e`. - Red against the unfixed page, on disk then restored: with the `main.app.ts` block swapped back to the old `support.app.ts` block plus its barrel line, `Tests 2 failed | 3 passed (5)`, and the failure is the refusal itself: "An 'app' package must define at most one app, but package 'com.example.support-desk' defines 2 ('support_desk_support', 'support_desk_main_app')". - `pnpm --filter @objectstack/cli typecheck`: exit 0 (test layer under `tsconfig.test.json`). - `pnpm check:cross-package-test-inputs`: exit 1 before the declarations and exit 0 after. `pnpm check:ci-filter-parity`: exit 1 (`got 25`) before the pin bump and exit 0 after. Head `dc8869a994`. ## Acceptance notes - The new test reads `content/docs/getting-started/build-with-claude-code.mdx`, so the page is declared as a cross-package test input of `@objectstack/cli` (`scripts/cross-package-test-inputs.mjs`, mirrored in `turbo.json`'s `@objectstack/cli#test` inputs), beside `content/docs/getting-started/index.mdx`. The new glob is covered only through `crosspkg`'s `content/**` root, so `check-ci-filter-parity.mjs`'s pre-#10015 rollback pin moves from 24 to 25, the same bump #29972 made for one cli doc page. These three files were added to the claim's file surface by seat amendments 7259618072 and 7259760891 on #38590. No workflow change is needed. - Where the test runs: the `.e2e` name puts it in the nightly tier, not the per-PR run. Renaming it without `.e2e` would put it in the per-PR `integration` project (about 9 s: one scaffold, one cold start). - The `Runtime:` line of the validate block is not compared. The test project is not installed and reads `Runtime: 0 plugins`; the page says 3. The card names this reading as not claimed. - Seen, not this card (as ruled): the page's `ticket.view.ts` form still draws the advisory `form-view-internal-not-loaded` warning; validate exits 0 with it. - The page's `main.app.ts` block is the whole file the agent leaves, the template comment included. If the template's menu changes, the block goes stale but still validates; the test cannot see that drift. ## Verification Two-minute check, after `pnpm turbo run build --filter='@objectstack/cli^...' --filter=create-objectstack`: ```bash cd packages/cli && OS_TEST_TIERS=nightly pnpm exec vitest run --maxWorkers=2 test/getting-started-build-with-claude-code.e2e.test.ts ``` Expect `Tests 5 passed (5)`. Read first, by risk: the `main.app.ts` block in step 3 of the page (the block a reader copies over a scaffolded file), then the page-parsing half of the test (the `FENCE`, barrel-block and validate-block readers). <details><summary>Measured validate run (page followed by hand, fresh scaffold)</summary> ```text ✓ Validation passed (209ms) Support Desk v0.1.0 Data: 4 Objects 22 Fields UI: 1 Apps 4 Views 1 Actions Logic: 0 Flows Security: 0 Positions 0 Permissions Runtime: 0 plugins ``` </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmSwS4mQyXWrddL4r6B)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmSwS4mQyXWrddL4r6B <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent c801993 commit e6634ce

5 files changed

Lines changed: 311 additions & 24 deletions

File tree

‎content/docs/getting-started/build-with-claude-code.mdx‎

Lines changed: 78 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ language:
111111
> (open/pending/resolved/closed). Add a **Resolve** action that only shows on
112112
> tickets that aren't already resolved or closed. Add a list view (subject,
113113
> status, priority) with an "Open tickets" filter, a form for entering tickets,
114-
> and an app with a Support nav group. Run `npm run validate` when you're done.
114+
> and a Support nav group in the app. Run `npm run validate` when you're done.
115115
116116
You don't specify field types in TypeScript, wire barrel exports, or remember the
117117
CEL scoping rules — the agent does, because the skills told it how.
@@ -226,13 +226,42 @@ export const TicketViews = defineView({
226226
});
227227
```
228228

229-
```typescript title="src/apps/support.app.ts"
230-
import { defineApp } from '@objectstack/spec';
231-
232-
export const SupportApp = defineApp({
233-
name: 'support_desk_support',
234-
label: 'Support',
229+
The fourth change is an edit, not a new file. The `blank` template already
230+
ships the project's one app, `src/apps/main.app.ts` (`support_desk_main_app` once
231+
the scaffolder has renamed it), and its own comment says where a new object
232+
goes: "A package whose manifest type is 'app' holds at most one app, so this is
233+
the one: to put another object in the Console, add a navigation entry for it
234+
below (a 'group' entry with children nests them) rather than a second app". So
235+
the agent puts the **Support** group at the top of that app's `navigation` and
236+
leaves the rest of the file as it was:
237+
238+
```typescript title="src/apps/main.app.ts"
239+
import * as UI from '@objectstack/spec/ui';
240+
241+
/**
242+
* Main App
243+
*/
244+
// This project's app: what the Console lists beside the platform's own apps,
245+
// and what puts an object in the Console's navigation. An object no app lists
246+
// is still served over REST and MCP, but the Console has no route to it. A
247+
// package whose manifest type is 'app' holds at most one app, so this is the
248+
// one: to put another object in the Console, add a navigation entry for it
249+
// below (a 'group' entry with children nests them) rather than a second app,
250+
// and give it a list view — `objectstack generate view OBJECT` writes one.
251+
//
252+
// The menu is the platform's Starter app's: this project's companies,
253+
// contacts and help articles, then the platform's tasks and notes. Tasks and notes are the
254+
// platform objects `sys_task` and `sys_note`, which every environment carries;
255+
// this project declares no copy of them, so a task or a note can be about any
256+
// record without changing who may see that record. No entry carries a label:
257+
// each shows the current, localized label of what it opens.
258+
const mainApp: UI.App = {
259+
name: 'support_desk_main_app',
260+
label: 'Main',
235261
navigation: [
262+
// Added: the Support group, first in the menu. It names its own labels:
263+
// a group opens no object to take one from, and 'Open' names the one
264+
// list view of tickets it opens.
236265
{
237266
id: 'grp_support',
238267
type: 'group',
@@ -248,10 +277,24 @@ export const SupportApp = defineApp({
248277
},
249278
],
250279
},
280+
{ id: 'nav_companies', type: 'object', objectName: 'support_desk_company', icon: 'building-2' },
281+
{ id: 'nav_contacts', type: 'object', objectName: 'support_desk_contact', icon: 'contact' },
282+
{ id: 'nav_articles', type: 'object', objectName: 'support_desk_article', icon: 'book-open' },
283+
// `requiresObject` names the object again because `defineStack` refuses a
284+
// menu entry for an object the stack does not declare unless the entry
285+
// says the object comes from elsewhere — here, the platform.
286+
{ id: 'nav_tasks', type: 'object', objectName: 'sys_task', requiresObject: 'sys_task', icon: 'square-check' },
287+
{ id: 'nav_notes', type: 'object', objectName: 'sys_note', requiresObject: 'sys_note', icon: 'notebook-pen' },
251288
],
252-
});
289+
};
290+
291+
export default mainApp;
253292
```
254293

294+
A second app file, a `support.app.ts` beside it, would not get past the gate:
295+
`os validate` refuses a package whose manifest type is `app` and that defines
296+
two apps, and names both of them.
297+
255298
The **Resolve** action is a *declarative field write*: `operation: 'update'` with
256299
`patch: { status: 'resolved' }` sets the ticket's status when it is clicked.
257300
There is no handler to write or register, and the update runs as the signed-in
@@ -269,20 +312,33 @@ form is the only metadata that names it. A field that no consumer names (a view,
269312
flow, a formula or an action, among the others the rule counts) gets an advisory
270313
`field-no-consumers` warning from `os validate`.
271314

272-
The agent also **exports each new file from its directory's barrel** — the object
273-
from `src/objects/index.ts`, and the action, view and app from
274-
`src/actions/index.ts`, `src/views/index.ts` and `src/apps/index.ts`. The
275-
starter's `objectstack.config.ts` already hands every barrel to `defineStack()`
276-
through `exportsOf()`, so that export line is the whole wiring and the config is
277-
not edited; adding an `actions:` / `views:` / `apps:` key for the file instead
278-
would duplicate the key and replace that barrel's wiring. There is no
279-
filename-suffix magic: metadata exists in the app only if its barrel exports it,
280-
so if a freshly-authored action doesn't show up, its export line is the first
281-
thing to check.
282-
283-
What it does **not** touch is what the `blank` template scaffolded in step 1:
284-
the companies and contacts (`src/objects/company.object.ts` and
285-
`contact.object.ts`, seven fields each) and the help articles
315+
The agent also **exports each new file from its directory's barrel**: one line
316+
at the end of each of the three `index.ts` files, beside the lines the starter
317+
already has there.
318+
319+
```typescript
320+
// src/objects/index.ts
321+
export { Ticket } from './ticket.object.js';
322+
323+
// src/actions/index.ts
324+
export { ResolveTicketAction } from './ticket.actions';
325+
326+
// src/views/index.ts
327+
export { TicketViews } from './ticket.view';
328+
```
329+
330+
The app needs no line of its own: `src/apps/index.ts` already exports
331+
`main.app.ts`, the file the agent edited. The starter's `objectstack.config.ts`
332+
already hands every barrel to `defineStack()` through `exportsOf()`, so those
333+
export lines are the whole wiring and the config is not edited; adding an
334+
`actions:` / `views:` key for the file instead would duplicate the key and
335+
replace that barrel's wiring. There is no filename-suffix magic: metadata exists
336+
in the app only if its barrel exports it, so if a freshly-authored action
337+
doesn't show up, its export line is the first thing to check.
338+
339+
Apart from that one edit to the app, what it does **not** touch is what the
340+
`blank` template scaffolded in step 1: the companies and contacts
341+
(`src/objects/company.object.ts` and `contact.object.ts`, seven fields each) and the help articles
286342
(`article.object.ts`, four fields, with its view and sample articles). Nothing
287343
asked for them to go, so they stay in the project — which is why the counts
288344
below read **four** objects and **twenty-two** fields, not one and four. Delete
Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
/**
4+
* PIN — the "Build with Claude Code" tutorial's files, written verbatim into a
5+
* fresh `blank` scaffold, pass `os validate`, and the run prints the counts the
6+
* page shows.
7+
*
8+
* ## The defect this exists for
9+
*
10+
* The page's step 3 showed the agent writing a SECOND app, `src/apps/support.app.ts`,
11+
* beside the `src/apps/main.app.ts` the `blank` template already ships. Followed
12+
* verbatim, `os validate` exited 1 ("An 'app' package must define at most one
13+
* app", ADR-0019 D3 as amended) while the page's callout said every example on
14+
* it passes `os validate` verbatim in a freshly scaffolded project. Nothing read
15+
* the page's files against a run: the transcript drift audit reads its
16+
* `transcript=` block only. The page now shows the Support group added to the
17+
* starter's one app, and this file is what keeps the callout true.
18+
*
19+
* ## The page is the only source
20+
*
21+
* Nothing the project receives is written down here. The test reads, from the
22+
* page itself:
23+
*
24+
* - the project name, off step 1's `npm create objectstack@latest NAME`;
25+
* - every code block with a `title="PATH"`, written to PATH in the project:
26+
* a path the scaffold already has is the agent's edit (the whole file as
27+
* the agent leaves it), any other path is a new file;
28+
* - the barrel block (the `// src/DIR/index.ts` headers and their `export`
29+
* lines), each line appended to that barrel the way an author adds one;
30+
* - the validate block (the one that prints `✓ Validation passed`), whose
31+
* count lines the run must print.
32+
*
33+
* Asserted beside the run: every new file is exported by a barrel line the page
34+
* shows, in its own directory's `index.ts` (the page's rule that metadata
35+
* exists only if its barrel exports it). Exit statuses and count lines are
36+
* asserted; prose is not pinned.
37+
*
38+
* The `Runtime:` line is not compared. The project here is not installed (it
39+
* lives under this package's `node_modules`, so its imports resolve to
40+
* workspace copies), and the plugin count that line reports is a reading of an
41+
* installed project this file cannot make.
42+
*
43+
* ## Where it runs
44+
*
45+
* Named `.e2e`, so it runs in the nightly tier (`OS_TEST_TIERS=nightly`,
46+
* `vitest.config.ts`) and not in the per-PR run: one plain-node scaffold and
47+
* one oclif cold start. Spawned through `bin/run-dev.js` with this process's
48+
* own `node`, so `packages/cli/dist` need not be built; the on-ramp's `dist/`
49+
* is present because `@objectstack/cli#test` depends on `^build`. The page and
50+
* the on-ramp's `bin/` are declared cross-package inputs of this package
51+
* (scripts/cross-package-test-inputs.mjs, mirrored into turbo.json).
52+
*/
53+
54+
import { afterAll, beforeAll, describe, expect, it } from 'vitest';
55+
import { execFile } from 'node:child_process';
56+
import { appendFileSync, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
57+
import { dirname, join, posix, resolve } from 'node:path';
58+
import { fileURLToPath } from 'node:url';
59+
import { childEnv } from './helpers/serve-process.js';
60+
61+
const HERE = resolve(fileURLToPath(import.meta.url), '..');
62+
const CLI = resolve(HERE, '../bin/run-dev.js');
63+
64+
// One `resolve(HERE, …)` call per line: `check:cross-package-test-inputs`
65+
// reconstructs these reads by SOURCE SCAN.
66+
const ON_RAMP_BIN = resolve(HERE, '../../..', 'packages/create-objectstack/bin/create-objectstack.js');
67+
const PAGE = resolve(HERE, '../../..', 'content/docs/getting-started/build-with-claude-code.mdx');
68+
69+
/** One plain-node scaffold, then one oclif cold start of the source CLI. */
70+
const RUN_TIMEOUT_MS = 240_000;
71+
72+
interface Run {
73+
code: number;
74+
stdout: string;
75+
stderr: string;
76+
}
77+
78+
function run(file: string, args: string[], cwd: string): Promise<Run> {
79+
return new Promise((resolvePromise) => {
80+
execFile(
81+
file,
82+
args,
83+
{ cwd, maxBuffer: 8 * 1024 * 1024, env: childEnv({ NO_COLOR: '1' }) },
84+
(err, stdout, stderr) => {
85+
resolvePromise({
86+
// `err.code` is the real exit status; a signalled child has none and
87+
// is reported as 1, never as 0.
88+
code: err
89+
? typeof (err as { code?: unknown }).code === 'number'
90+
? (err as unknown as { code: number }).code
91+
: 1
92+
: 0,
93+
stdout: String(stdout),
94+
stderr: String(stderr),
95+
});
96+
},
97+
);
98+
});
99+
}
100+
101+
const os = (args: string[], cwd: string) => run(process.execPath, [CLI, ...args], cwd);
102+
const out = (r: Run) => r.stdout + r.stderr;
103+
/** A count line with its runs of spaces folded, so column alignment is not pinned. */
104+
const fold = (line: string) => line.trim().replace(/\s+/g, ' ');
105+
106+
// ---------------------------------------------------------------------------
107+
// The page, read once
108+
// ---------------------------------------------------------------------------
109+
110+
const page = readFileSync(PAGE, 'utf8');
111+
112+
/** Every fenced block: its info string and its body. */
113+
const FENCE = /^```([^\n]*)\n([\s\S]*?)^```[ \t]*$/gm;
114+
const blocks = [...page.matchAll(FENCE)].map((m) => ({ info: m[1], body: m[2] }));
115+
116+
/** Step 1's project name. */
117+
const projectName = /npm create objectstack@latest ([a-z0-9-]+)/.exec(page)?.[1];
118+
119+
/** The files step 3 shows, by the path in their `title`. */
120+
const titled = blocks
121+
.map((b) => ({ path: /\btitle="([^"]+)"/.exec(b.info)?.[1], body: b.body }))
122+
.filter((b): b is { path: string; body: string } => b.path !== undefined);
123+
124+
/** The barrel block: `// src/DIR/index.ts` headers, each followed by its `export` lines. */
125+
const BARREL_HEADER = /^\/\/ (src\/[\w-]+\/index\.ts)$/;
126+
const barrelBlock = blocks.find((b) => {
127+
const lines = b.body.split('\n').filter((l) => l.trim() !== '');
128+
return (
129+
lines.length > 0 &&
130+
BARREL_HEADER.test(lines[0]) &&
131+
lines.every((l) => BARREL_HEADER.test(l) || l.startsWith('export '))
132+
);
133+
});
134+
const barrelLines = new Map<string, string[]>();
135+
if (barrelBlock) {
136+
let current = '';
137+
for (const line of barrelBlock.body.split('\n')) {
138+
const header = BARREL_HEADER.exec(line);
139+
if (header) {
140+
current = header[1];
141+
barrelLines.set(current, []);
142+
} else if (line.startsWith('export ')) {
143+
barrelLines.get(current)!.push(line);
144+
}
145+
}
146+
}
147+
148+
/** The validate block's count lines, `Runtime:` aside (see the header). */
149+
const validateBlock = blocks.find((b) => b.body.includes('✓ Validation passed'));
150+
const COUNT_LINE = /^\s*(Data|UI|Logic|Security|Runtime):/;
151+
const countLines = (validateBlock?.body ?? '')
152+
.split('\n')
153+
.filter((l) => COUNT_LINE.test(l) && !/^\s*Runtime:/.test(l))
154+
.map(fold);
155+
156+
// ---------------------------------------------------------------------------
157+
// The run
158+
// ---------------------------------------------------------------------------
159+
160+
let root: string;
161+
let project: string;
162+
let scaffold: Run;
163+
let validate: Run;
164+
const edited: string[] = [];
165+
const added: string[] = [];
166+
167+
beforeAll(async () => {
168+
if (!projectName) return;
169+
root = mkdtempSync(join(HERE, '..', 'node_modules', '.getting-started-claude-code-'));
170+
project = join(root, projectName);
171+
scaffold = await run(process.execPath, [ON_RAMP_BIN, projectName, '--skip-install', '--skip-skills'], root);
172+
if (scaffold.code !== 0) return;
173+
for (const { path, body } of titled) {
174+
const target = join(project, path);
175+
(existsSync(target) ? edited : added).push(path);
176+
mkdirSync(dirname(target), { recursive: true });
177+
writeFileSync(target, body);
178+
}
179+
for (const [barrel, lines] of barrelLines) {
180+
appendFileSync(join(project, barrel), lines.map((l) => l + '\n').join(''));
181+
}
182+
validate = await os(['validate'], project);
183+
}, RUN_TIMEOUT_MS);
184+
185+
afterAll(() => {
186+
if (root) rmSync(root, { recursive: true, force: true });
187+
});
188+
189+
describe('the Build with Claude Code page, read', () => {
190+
it('names the project, shows its files, its barrel lines and its validate block', () => {
191+
expect(projectName, 'step 1 names no `npm create objectstack@latest NAME`').toBeDefined();
192+
expect(titled.map((t) => t.path)).not.toEqual([]);
193+
for (const { path } of titled) expect(path, `${path} is a project source file`).toMatch(/^src\/.+\.ts$/);
194+
expect(barrelBlock, 'the page shows no barrel block (`// src/DIR/index.ts` then `export` lines)').toBeDefined();
195+
expect(countLines, 'the validate block prints no count lines').not.toEqual([]);
196+
});
197+
});
198+
199+
describe('the page, followed verbatim in a fresh `blank` scaffold', () => {
200+
it('the on-ramp scaffolds the project the page names', () => {
201+
expect(scaffold.code, out(scaffold)).toBe(0);
202+
});
203+
204+
it('every new file is exported by a barrel line the page shows, in its own directory', () => {
205+
for (const path of added) {
206+
const barrel = posix.join(posix.dirname(path), 'index.ts');
207+
const stem = posix.basename(path).replace(/\.ts$/, '');
208+
const lines = barrelLines.get(barrel) ?? [];
209+
expect(
210+
lines.some((l) => new RegExp(`from '\\./${stem.replace(/\./g, '\\.')}(\\.js)?';$`).test(l)),
211+
`${path}: no line of the page's \`${barrel}\` block exports it`,
212+
).toBe(true);
213+
}
214+
});
215+
216+
it('`os validate` exits 0', () => {
217+
expect(validate.code, out(validate)).toBe(0);
218+
});
219+
220+
it("prints every count line of the page's validate block", () => {
221+
const printed = validate.stdout.split('\n').filter((l) => COUNT_LINE.test(l)).map(fold);
222+
for (const line of countLines) expect(printed, out(validate)).toContain(line);
223+
});
224+
});

‎scripts/check-ci-filter-parity.mjs‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,10 +2071,15 @@ export async function selfTest() {
20712071
// `docs/qa/scenarios/builds/*.json` to its provenance and its card, covered
20722072
// only through the `docs/**` root in `crosspkg` (judged per declared glob,
20732073
// like #30289's). Twenty-four.
2074+
// Plus, since #38590, the one doc page that card declared for
2075+
// @objectstack/cli: the Build with Claude Code e2e pin writes the files
2076+
// `getting-started/build-with-claude-code.mdx` shows into a fresh scaffold
2077+
// and holds its validate block to the run, covered only through the same
2078+
// `content/**` root, like #29972's. Twenty-five.
20742079
const preFix = judge(fixtureWorkflow({ core: real.filters?.core, crosspkg: ['scripts/**'] }), CROSS_PACKAGE_TEST_INPUTS);
20752080
assert(
2076-
new Set(uncoveredGlobs(preFix)).size === 24,
2077-
`rolling \`crosspkg\` back to its pre-#10015 list uncovers the ten it fixed plus #10848's one plus #10178's two plus #12201's one plus #12924's one plus #14561's one plus #14824's three plus #15818's two plus #18650's one plus #29972's one plus #30289's one plus #31017's one plus #31729's one plus #34920's one, minus the three under the \`skills/**\` build input \`core\` now covers -- got ${new Set(uncoveredGlobs(preFix)).size}`,
2081+
new Set(uncoveredGlobs(preFix)).size === 25,
2082+
`rolling \`crosspkg\` back to its pre-#10015 list uncovers the ten it fixed plus #10848's one plus #10178's two plus #12201's one plus #12924's one plus #14561's one plus #14824's three plus #15818's two plus #18650's one plus #29972's one plus #30289's one plus #31017's one plus #31729's one plus #34920's one plus #38590's one, minus the three under the \`skills/**\` build input \`core\` now covers -- got ${new Set(uncoveredGlobs(preFix)).size}`,
20782083
);
20792084
assert(
20802085
!uncoveredGlobs(preFix).includes('skills/**'),

‎scripts/cross-package-test-inputs.mjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ export const CROSS_PACKAGE_TEST_INPUTS = {
587587
'content/docs/deployment/index.mdx',
588588
'content/docs/deployment/troubleshooting.mdx',
589589
'content/docs/getting-started/index.mdx',
590+
'content/docs/getting-started/build-with-claude-code.mdx',
590591
'content/docs/permissions/authentication.mdx',
591592
'content/docs/plugins/index.mdx',
592593
'content/docs/protocol/kernel/index.mdx',

‎turbo.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@
288288
"$TURBO_ROOT$/content/docs/deployment/index.mdx",
289289
"$TURBO_ROOT$/content/docs/deployment/troubleshooting.mdx",
290290
"$TURBO_ROOT$/content/docs/getting-started/index.mdx",
291+
"$TURBO_ROOT$/content/docs/getting-started/build-with-claude-code.mdx",
291292
"$TURBO_ROOT$/content/docs/permissions/authentication.mdx",
292293
"$TURBO_ROOT$/content/docs/plugins/index.mdx",
293294
"$TURBO_ROOT$/content/docs/protocol/kernel/index.mdx",

0 commit comments

Comments
 (0)