Skip to content

Commit

Permalink
ci: bring back yarn build:docs
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Aug 22, 2023
1 parent 65bf5a8 commit 18d57d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
dist/
docs/out
docs/.next
website/out
website/.next
.cache/
node_modules/
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"scripts": {
"build:core": "./scripts/core.sh",
"build:docs": "lerna run doc --concurrency 2",
"build:packages": "lerna run build --ignore docs --ignore @welcome-ui/core",
"build:packages": "lerna run build --ignore docs --ignore website --ignore @welcome-ui/core",
"build:types": "lerna run types",
"build": "yarn webfont:build && yarn build:core && yarn build:packages && yarn build:types",
"build": "yarn webfont:build && yarn build:core && yarn build:packages && yarn build:types && yarn build:docs",
"check:audit": "/bin/bash -c 'yarn audit --level critical; [[ $? -ge 16 ]] && exit 1 || exit 0'",
"clean": "lerna clean",
"docs:build": "cd website && yarn && yarn next build",
Expand Down
2 changes: 1 addition & 1 deletion website/build-app/components/Mdx/Pre.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface PreProps {
children: React.ReactNode[]
}

export function Pre({ children, ...rest }: PreProps) {
export function Pre({ children }: PreProps) {
// @ts-ignore
const [code] = children[0].props.children
const [codeUpdated, setCodeUpdate] = React.useState(code)
Expand Down

0 comments on commit 18d57d4

Please sign in to comment.