Skip to content

Commit 83c7e4b

Browse files
dougfabrisggazzo
authored andcommitted
fix: build-storybook layout
1 parent d418221 commit 83c7e4b

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

.github/workflows/cd.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ jobs:
4545
path: |
4646
packages/fuselage/storybook-static
4747
packages/fuselage-ui-kit/storybook-static
48-
packages/onboarding-ui/storybook-static
4948
packages/uikit-playground/build
49+
packages/onboarding-ui/storybook-static
50+
packages/layout/storybook-static
5051
- if: github.ref == 'refs/heads/master'
5152
uses: actions/upload-artifact@v2
5253
with:
@@ -126,10 +127,10 @@ jobs:
126127
- run: |
127128
rm -rf "fuselage/${{ needs.build-and-test.outputs.branch-name }}" "layout/${{ needs.build-and-test.outputs.branch-name }}" "uikit-playground/${{ needs.build-and-test.outputs.branch-name }}" "fuselage-ui-kit/${{ needs.build-and-test.outputs.branch-name }}" "onboarding-ui/${{ needs.build-and-test.outputs.branch-name }}"
128129
mv -v "packages/fuselage/storybook-static" "fuselage/${{ needs.build-and-test.outputs.branch-name }}"
129-
mv -v "packages/layout/storybook-static" "layout/${{ needs.build-and-test.outputs.branch-name }}"
130130
mv -v "packages/uikit-playground/build" "uikit-playground/${{ needs.build-and-test.outputs.branch-name }}"
131131
mv -v "packages/fuselage-ui-kit/storybook-static" "fuselage-ui-kit/${{ needs.build-and-test.outputs.branch-name }}"
132132
mv -v "packages/onboarding-ui/storybook-static" "onboarding-ui/${{ needs.build-and-test.outputs.branch-name }}"
133+
mv -v "packages/layout/storybook-static" "layout/${{ needs.build-and-test.outputs.branch-name }}"
133134
rm -rf packages
134135
- uses: crazy-max/ghaction-github-pages@v2
135136
with:

.github/workflows/ci-pr-closed.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
with:
1515
ref: gh-pages
16-
- run: rm -rf "fuselage/${{ github.event.number }}" "layout/${{ github.event.number }}" "fuselage-ui-kit/${{ github.event.number }}" "uikit-playground/${{ github.event.number }}" "onboarding-ui/${{ github.event.number }}"
16+
- run: rm -rf "fuselage/${{ github.event.number }}" "layout/${{ github.event.number }}" "fuselage-ui-kit/${{ github.event.number }}" "uikit-playground/${{ github.event.number }}" "onboarding-ui/${{ github.event.number }}"
1717
- uses: crazy-max/ghaction-github-pages@v2
1818
with:
1919
target_branch: gh-pages

.github/workflows/ci-pr-opened.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
uikit-playground/build
4646
fuselage-ui-kit/storybook-static
4747
onboarding-ui/storybook-static
48+
layout/storybook-static
4849
publish-to-gh-pages:
4950
name: Publish to GitHub Pages
5051
needs:
@@ -64,10 +65,10 @@ jobs:
6465
- run: |
6566
rm -rf "fuselage/${{ needs.download-artifact.outputs.pr-number }}" "layout/${{ needs.download-artifact.outputs.pr-number }}" "uikit-playground/${{ needs.download-artifact.outputs.pr-number }}" "fuselage-ui-kit/${{ needs.download-artifact.outputs.pr-number }}" "onboarding-ui/${{ needs.download-artifact.outputs.pr-number }}"
6667
mv -v packages/fuselage/storybook-static "fuselage/${{ needs.download-artifact.outputs.pr-number }}"
67-
mv -v packages/layout/storybook-static "layout/${{ needs.download-artifact.outputs.pr-number }}"
6868
mv -v packages/uikit-playground/build "uikit-playground/${{ needs.download-artifact.outputs.pr-number }}"
6969
mv -v packages/fuselage-ui-kit/storybook-static "fuselage-ui-kit/${{ needs.download-artifact.outputs.pr-number }}"
7070
mv -v packages/onboarding-ui/storybook-static "onboarding-ui/${{ needs.download-artifact.outputs.pr-number }}"
71+
mv -v packages/layout/storybook-static "layout/${{ needs.download-artifact.outputs.pr-number }}"
7172
rm -rf packages
7273
- uses: crazy-max/ghaction-github-pages@v2
7374
with:

.github/workflows/ci-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
name: "storybooks-${{ github.event.number }}"
4343
path: |
4444
packages/fuselage/storybook-static
45-
packages/layout/storybook-static
4645
packages/uikit-playground/build
4746
packages/fuselage-ui-kit/storybook-static
4847
packages/onboarding-ui/storybook-static
48+
packages/layout/storybook-static

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
| 📦 [`@rocket.chat/fuselage-tokens`](/packages/fuselage-tokens) | Design tokens for Fuselage, Rocket.Chat's design system | [![npm](https://img.shields.io/npm/v/@rocket.chat/fuselage-tokens?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Ffuselage-tokens&style=flat-square) |
2727
| 📦 [`@rocket.chat/fuselage-ui-kit`](/packages/fuselage-ui-kit) | UiKit elements for Rocket.Chat Apps built under Fuselage design system | [![npm](https://img.shields.io/npm/v/@rocket.chat/fuselage-ui-kit?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Ffuselage-ui-kit&style=flat-square) |
2828
| 📦 [`@rocket.chat/icons`](/packages/icons) | | [![npm](https://img.shields.io/npm/v/@rocket.chat/icons?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Ficons&style=flat-square) |
29-
| 📦 [`@rocket.chat/layout`](/packages/layout) | layout | [![npm](https://img.shields.io/npm/v/@rocket.chat/layout?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Flayout&style=flat-square) |
29+
| 📦 [`@rocket.chat/layout`](/packages/layout) | Shared Application Layout Components | [![npm](https://img.shields.io/npm/v/@rocket.chat/layout?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Flayout&style=flat-square) |
3030
| 📦 [`@rocket.chat/logo`](/packages/logo) | Rocket.Chat logo package | [![npm](https://img.shields.io/npm/v/@rocket.chat/logo?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Flogo&style=flat-square) |
3131
| 📦 [`@rocket.chat/memo`](/packages/memo) | Memoization utilities | [![npm](https://img.shields.io/npm/v/@rocket.chat/memo?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Fmemo&style=flat-square) |
3232
| 📦 [`@rocket.chat/message-parser`](/packages/message-parser) | Rocket.Chat parser for messages | [![npm](https://img.shields.io/npm/v/@rocket.chat/message-parser?style=flat-square)](https://www.npmjs.com/package/@rocket.chat/icons) | ![deps](https://img.shields.io/david/RocketChat/fuselage?path=packages%2Fmessage-parser&style=flat-square) |

packages/layout/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# `@rocket.chat/layout`
1010

11-
> layout
11+
> Shared Application Layout Components
1212
1313
---
1414

packages/layout/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@rocket.chat/layout",
33
"version": "0.31.18",
4-
"description": "layout",
4+
"description": "Shared Application Layout Components",
55
"author": {
66
"name": "Rocket.Chat",
77
"url": "https://rocket.chat/"
@@ -26,7 +26,6 @@
2626
"/dist"
2727
],
2828
"scripts": {
29-
"clean": "rimraf dist",
3029
"build": "run-s .:build:clean .:build:esm .:build:cjs",
3130
".:build:clean": "rimraf dist",
3231
".:build:esm": "tsc -p tsconfig-esm.json",
@@ -35,9 +34,10 @@
3534
"lint-and-fix": "lint-and-fix",
3635
"lint-staged": "lint-staged",
3736
"test": "jest --runInBand",
38-
"bump-next": "bump-next",
3937
"docs": "typedoc",
40-
"storybook": "start-storybook -p 6006"
38+
"storybook": "start-storybook -p 6006",
39+
"build-storybook": "build-storybook",
40+
"bump-next": "bump-next"
4141
},
4242
"peerDependencies": {
4343
"@rocket.chat/fuselage": "*",

0 commit comments

Comments
 (0)