Skip to content

Commit e16a9e8

Browse files
committed
revert aaf86a2
1 parent 655c2a1 commit e16a9e8

File tree

7 files changed

+4
-160
lines changed

7 files changed

+4
-160
lines changed

.github/workflows/docs-stable.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,10 @@ jobs:
4040
env:
4141
NODE_OPTIONS: '--max-old-space-size=4096'
4242

43-
- name: Build Storybook (reordered)
44-
run: |
45-
yarn build:storybook-reorder
46-
env:
47-
NODE_OPTIONS: '--max-old-space-size=4096'
48-
4943
- name: Deploy Docs
5044
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
5145
with:
5246
branch: gh-pages # The branch the action should deploy to.
5347
folder: .out # The folder the action should deploy.
5448
target-folder: v${{ env.MAJOR_VERSION }}
5549
clean: true
56-
57-
- name: Deploy Docs (reordered)
58-
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
59-
with:
60-
branch: gh-pages
61-
folder: .out-reorder
62-
target-folder: reordered
63-
clean: true

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ yarn-error.log
77
@types
88
.cache
99
.out
10-
.out-reorder
1110
lerna-debug.log
1211
/temp
1312
*.tsbuildinfo

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ yarn.lock
66
dist
77
temp
88
.out
9-
.out-reorderd
109

1110
.nx

.storybook/main.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { mergeConfig } from 'vite';
66
import { isChromatic } from './utils.ts';
77

88
const isDevMode = process.env.NODE_ENV === 'development';
9-
const useReorder = process.env.STORYBOOK_REORDER === 'true';
109

1110
const storyList: StoriesEntry[] = isChromatic
1211
? ['../packages/main/src/components/**/*.stories.@(tsx|jsx)']
@@ -20,12 +19,12 @@ const storyList: StoriesEntry[] = isChromatic
2019
{
2120
directory: '../packages/charts/src/components',
2221
files: '**/*.@(mdx|stories.@(mdx|tsx))',
23-
titlePrefix: useReorder ? 'ui5-webcomponents-react-charts' : 'Charts',
22+
titlePrefix: 'Charts',
2423
},
2524
{
2625
directory: '../packages/base',
2726
files: '*.@(tsx|jsx)',
28-
titlePrefix: useReorder ? 'ui5-webcomponents-react-base ' : 'Base',
27+
titlePrefix: 'Base',
2928
},
3029
{
3130
directory: '../packages/cypress-commands',
@@ -37,12 +36,12 @@ const storyList: StoriesEntry[] = isChromatic
3736
{
3837
directory: '../packages/ai',
3938
files: '**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))',
40-
titlePrefix: useReorder ? 'ui5-webcomponents-ai-react / ui5-webcomponents-ai' : 'AI',
39+
titlePrefix: 'AI',
4140
},
4241
{
4342
directory: '../packages/compat',
4443
files: '**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))',
45-
titlePrefix: useReorder ? 'ui5-webcomponents-react-compat' : 'Legacy Components',
44+
titlePrefix: 'Legacy Components',
4645
},
4746
{
4847
directory: '../patterns',
@@ -65,7 +64,6 @@ const addons = [
6564
},
6665
},
6766
];
68-
6967
if (isDevMode) {
7068
addons.push('@storybook/addon-a11y');
7169
}

.storybook/preview.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ const preview: Preview = {
156156
'AI',
157157
['Docs'],
158158
'Legacy Components',
159-
// only relevant for reordered sb
160-
'ui5-webcomponents-react',
161-
['ui5-webcomponents', 'ui5-webcomponents-fiori'],
162159
],
163160
},
164161
},

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"setup": "lerna run build:i18n && lerna run build:css && lerna run build:css-bundle && lerna run build:version-info && rimraf node_modules/@types/mocha",
1313
"build": "yarn setup && tsc --build tsconfig.build.json && lerna run build:client && lerna run build:wrapper",
1414
"build:storybook": "yarn build && yarn create-cypress-commands-docs && storybook build -o .out",
15-
"build:storybook:reorder": "yarn build && yarn create-cypress-commands-docs && node scripts/reorder-stories.js",
1615
"build:storybook-sitemap": "node ./scripts/create-storybook-sitemap.js --directory .out",
1716
"test:prepare": "rimraf temp && lerna run build",
1817
"test:open": "CYPRESS_COVERAGE=false cypress open --component --browser chrome",

scripts/reorder-stories.js

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

0 commit comments

Comments
 (0)