Skip to content

Commit c15ee2a

Browse files
Add build docs to prepublishScript (#1915)
* Build docs on prepublish * Create wise-monkeys-ring.md
1 parent 8183be9 commit c15ee2a

File tree

2 files changed

+62
-1
lines changed

2 files changed

+62
-1
lines changed

.changeset/wise-monkeys-ring.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
'@leafygreen-ui/a11y': patch
3+
'@leafygreen-ui/badge': patch
4+
'@leafygreen-ui/banner': patch
5+
'@leafygreen-ui/box': patch
6+
'@leafygreen-ui/button': patch
7+
'@leafygreen-ui/callout': patch
8+
'@leafygreen-ui/card': patch
9+
'@leafygreen-ui/checkbox': patch
10+
'@leafygreen-ui/code': patch
11+
'@leafygreen-ui/combobox': patch
12+
'@leafygreen-ui/confirmation-modal': patch
13+
'@leafygreen-ui/copyable': patch
14+
'@leafygreen-ui/emotion': patch
15+
'@leafygreen-ui/empty-state': patch
16+
'@leafygreen-ui/expandable-card': patch
17+
'@leafygreen-ui/form-footer': patch
18+
'@leafygreen-ui/guide-cue': patch
19+
'@leafygreen-ui/hooks': patch
20+
'@leafygreen-ui/icon': patch
21+
'@leafygreen-ui/icon-button': patch
22+
'@leafygreen-ui/inline-definition': patch
23+
'@leafygreen-ui/input-option': patch
24+
'@leafygreen-ui/leafygreen-provider': patch
25+
'@leafygreen-ui/lib': patch
26+
'@leafygreen-ui/loading-indicator': patch
27+
'@leafygreen-ui/logo': patch
28+
'@leafygreen-ui/marketing-modal': patch
29+
'@leafygreen-ui/menu': patch
30+
'@leafygreen-ui/modal': patch
31+
'@leafygreen-ui/number-input': patch
32+
'@leafygreen-ui/pagination': patch
33+
'@leafygreen-ui/palette': patch
34+
'@leafygreen-ui/password-input': patch
35+
'@leafygreen-ui/pipeline': patch
36+
'@leafygreen-ui/polymorphic': patch
37+
'@leafygreen-ui/popover': patch
38+
'@leafygreen-ui/portal': patch
39+
'@leafygreen-ui/radio-box-group': patch
40+
'@leafygreen-ui/radio-group': patch
41+
'@leafygreen-ui/ripple': patch
42+
'@leafygreen-ui/search-input': patch
43+
'@leafygreen-ui/segmented-control': patch
44+
'@leafygreen-ui/select': patch
45+
'@leafygreen-ui/side-nav': patch
46+
'@leafygreen-ui/skeleton-loader': patch
47+
'@leafygreen-ui/split-button': patch
48+
'@leafygreen-ui/stepper': patch
49+
'@leafygreen-ui/table': patch
50+
'@leafygreen-ui/tabs': patch
51+
'@leafygreen-ui/testing-lib': patch
52+
'@leafygreen-ui/text-area': patch
53+
'@leafygreen-ui/text-input': patch
54+
'@leafygreen-ui/toast': patch
55+
'@leafygreen-ui/toggle': patch
56+
'@leafygreen-ui/tokens': patch
57+
'@leafygreen-ui/tooltip': patch
58+
'@leafygreen-ui/typography': patch
59+
---
60+
61+
Fixes missing documentation file

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"fix": "lg lint --fix",
2323
"link": "lg link",
2424
"lint": "lg lint",
25-
"prepublishOnly": "yarn build",
25+
"prepublishOnly": "yarn build && turbo run docs",
2626
"publish": "yarn changeset publish --public",
2727
"slackbot": "lg slackbot release",
2828
"start": "storybook dev -p 9001 --no-version-updates",

0 commit comments

Comments
 (0)