Skip to content

Commit

Permalink
docs: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Jul 15, 2024
1 parent bc4814a commit a738dda
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 157 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
root: ~/welcome-ui
paths:
- node_modules
- website/node_modules

lint:
<<: *defaults
Expand Down
4 changes: 3 additions & 1 deletion website/build-app/utils/page-tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export type Toc = TocItem & {
export function getPageTree(content: string, isOverview?: boolean) {
if (!content) return

const tree = unified().use(rehypeParse, { fragment: true }).parse(marked(content))
const tree = unified()
.use(rehypeParse, { fragment: true })
.parse(marked(content) as string)

const tableOfContents = [] as Toc[]

Expand Down
24 changes: 12 additions & 12 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@
},
"dependencies": {
"@stackblitz/sdk": "^1.10.0",
"@types/lodash": "4.14.199",
"@types/node": "20.8.0",
"@types/react": "18.2.23",
"@types/react-dom": "18.2.8",
"@types/lodash": "4.17.6",
"@types/node": "20.14.10",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"eslint": "8.50.0",
"eslint-config-next": "14.1.3",
"eslint-config-next": "14.2.5",
"gray-matter": "4.0.3",
"lodash": "4.17.21",
"marked": "9.0.3",
"next": "14.1.3",
"prism-react-renderer": "2.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "9.0.0",
"marked": "13.0.2",
"next": "14.2.5",
"prism-react-renderer": "2.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-markdown": "9.0.1",
"rehype-parse": "9.0.0",
"rehype-raw": "7.0.0",
"remark-gfm": "4.0.0",
"typescript": "5.2.2",
"typescript": "5.5.3",
"unified": "11.0.3",
"unist-util-visit": "5.0.0"
}
Expand Down
Loading

0 comments on commit a738dda

Please sign in to comment.