Skip to content

Commit 81a0123

Browse files
committed
chore(public-docsite-v9-headless): remove just-scripts, fix CI, add LLM docs
1 parent e367467 commit 81a0123

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

apps/chart-docsite/project.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
"target": "build"
1313
}
1414
]
15+
},
16+
"build-storybook:docsite": {
17+
"dependsOn": [
18+
{
19+
"projects": ["storybook-llms-extractor"],
20+
"target": "build"
21+
}
22+
]
1523
}
1624
}
1725
}

apps/public-docsite-v9-headless/just.config.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/public-docsite-v9-headless/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@
66
"scripts": {
77
"build-storybook": "storybook build -o ./dist/storybook --docs",
88
"build-storybook:docsite": "cross-env DEPLOY_PATH=/headless/ storybook build -o ./dist/storybook --docs",
9-
"clean": "just-scripts clean",
10-
"code-style": "just-scripts code-style",
11-
"just": "just-scripts",
12-
"type-check": "just-scripts type-check",
9+
"postbuild-storybook": "yarn generate-llms-docs",
10+
"generate-llms-docs": "yarn storybook-llms-extractor --distPath ./dist/storybook --summaryBaseUrl \"https://storybooks.fluentui.dev/headless/\" --summaryTitle \"Fluent UI React Headless Components\" --summaryDescription \"Fluent UI React headless components provide unstyled, accessible component primitives that can be styled with any CSS approach.\"",
1311
"start": "yarn storybook:docs",
1412
"storybook": "storybook dev --port 3000",
15-
"storybook:docs": "yarn storybook --docs",
16-
"test": "jest --passWithNoTests"
13+
"storybook:docs": "yarn storybook --docs"
1714
},
1815
"dependencies": {
1916
"@fluentui/react-headless-components-preview": "*",

apps/public-docsite-v9-headless/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build-storybook": {
99
"dependsOn": [
1010
{
11-
"projects": ["react-storybook-addon", "react-storybook-addon-export-to-sandbox"],
11+
"projects": ["react-storybook-addon", "react-storybook-addon-export-to-sandbox", "storybook-llms-extractor"],
1212
"target": "build"
1313
}
1414
]

packages/react-components/react-headless-components-preview/library/src/components/Accordion/Accordion.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ describe('Accordion', () => {
8383
</div>
8484
<div
8585
class="accordion-panel"
86+
inert=""
87+
tabindex="-1"
8688
>
8789
Item #2 Panel
8890
</div>

0 commit comments

Comments
 (0)