Skip to content

Commit 4dfd30b

Browse files
committed
Address feedback
1 parent 46a5714 commit 4dfd30b

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

code/.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const config = defineMain({
137137
features: {
138138
developmentModeForBuild: true,
139139
experimentalTestSyntax: true,
140-
experimental_componentsManifest: true,
140+
experimentalComponentsManifest: true,
141141
},
142142
staticDirs: [{ from: './bench/bundle-analyzer', to: '/bundle-analyzer' }],
143143
viteFinal: async (viteConfig, { configType }) => {

code/core/src/core-server/build-static.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ export async function buildStaticStandalone(options: BuildStaticStandaloneOption
165165
)
166166
);
167167

168-
if (features?.experimental_componentsManifest) {
168+
if (features?.experimentalComponentsManifest) {
169169
const componentManifestGenerator: ComponentManifestGenerator = await presets.apply(
170-
'componentManifestGenerator'
170+
'experimental_componentManifestGenerator'
171171
);
172172
const indexGenerator = await initializedStoryIndexGenerator;
173173
if (componentManifestGenerator && indexGenerator) {

code/core/src/core-server/dev-server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ export async function storybookDevServer(options: Options) {
137137
}
138138

139139
const features = await options.presets.apply('features');
140-
if (features?.experimental_componentsManifest) {
140+
if (features?.experimentalComponentsManifest) {
141141
app.use('/manifests/components.json', async (req, res) => {
142142
try {
143143
const componentManifestGenerator: ComponentManifestGenerator = await options.presets.apply(
144-
'componentManifestGenerator'
144+
'experimental_componentManifestGenerator'
145145
);
146146
const indexGenerator = await initializedStoryIndexGenerator;
147147
if (componentManifestGenerator && indexGenerator) {

code/core/src/types/modules/core-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ export interface StorybookConfigRaw {
472472
/** Only show input controls in Angular */
473473
angularFilterNonInputControls?: boolean;
474474

475-
experimental_componentsManifest?: boolean;
475+
experimentalComponentsManifest?: boolean;
476476
};
477477

478478
build?: TestBuildConfig;

code/renderers/react/src/preset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const addons: PresetProperty<'addons'> = [
88
import.meta.resolve('@storybook/react-dom-shim/preset'),
99
];
1010

11-
export { componentManifestGenerator } from './componentManifest/generator';
11+
export { componentManifestGenerator as experimental_componentManifestGenerator } from './componentManifest/generator';
1212

1313
export const previewAnnotations: PresetProperty<'previewAnnotations'> = async (
1414
input = [],

0 commit comments

Comments
 (0)