Skip to content

Commit 3d2d9bf

Browse files
authored
chore(public-docsite-v9-headless): remove just-scripts, fix missing snapshot update (#35993)
1 parent fe3a564 commit 3d2d9bf

File tree

6 files changed

+25
-13
lines changed

6 files changed

+25
-13
lines changed

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": ["react-storybook-addon", "react-storybook-addon-export-to-sandbox", "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: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
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+
"postbuild-storybook:docsite": "yarn postbuild-storybook",
11+
"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.\"",
1312
"start": "yarn storybook:docs",
1413
"storybook": "storybook dev --port 3000",
15-
"storybook:docs": "yarn storybook --docs",
16-
"test": "jest --passWithNoTests"
14+
"storybook:docs": "yarn storybook --docs"
1715
},
1816
"dependencies": {
1917
"@fluentui/react-headless-components-preview": "*",

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@
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"],
12+
"target": "build"
13+
}
14+
]
15+
},
16+
"build-storybook:docsite": {
17+
"dependsOn": [
18+
{
19+
"projects": ["react-storybook-addon", "react-storybook-addon-export-to-sandbox", "storybook-llms-extractor"],
1220
"target": "build"
1321
}
1422
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {};

nx.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,13 @@
154154
"babel-preset-global-context",
155155
"eslint-plugin-react-components",
156156
"react-migration-v0-v9",
157-
"react-migration-v0-v9-stories"
157+
"react-migration-v0-v9-stories",
158+
"public-docsite-v9-headless"
158159
]
159160
}
160161
},
161162
"include": [
163+
"apps/public-docsite-v9-headless/**",
162164
"apps/rit-tests-v9/*",
163165
"apps/rit-tests-v8/*",
164166

0 commit comments

Comments
 (0)