Skip to content

Commit

Permalink
🚀 Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Jul 14, 2023
1 parent 00b4d6a commit eeed059
Show file tree
Hide file tree
Showing 11 changed files with 8,808 additions and 3,128 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-carpets-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/jupyter': patch
---

Change to ThebeMarkdownCell
11,871 changes: 8,773 additions & 3,098 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/jupyter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"ansi-to-react": "^6.1.6",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-frontmatter": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"myst-frontmatter": "^1.0.4",
"myst-spec": "^0.0.4",
"myst-to-react": "^0.3.8",
"nanoid": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter/src/execute/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function notebookFromMdast(
} else {
// assume content - concatenate it
// TODO inject cell metadata
const cell = new core.ThebeNonExecutableCell(
const cell = new core.ThebeMarkdownCell(
block.key,
notebook.id,
block.children.reduce((acc, child) => acc + '\n' + (child.value ?? ''), ''),
Expand Down
28 changes: 14 additions & 14 deletions packages/myst-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@
"@heroicons/react": "^2.0.13",
"classnames": "^2.3.2",
"js-yaml": "^4.1.0",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-directives": "^1.0.1",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"myst-directives": "^1.0.3",
"myst-ext-card": "^1.0.0",
"myst-ext-exercise": "^1.0.0",
"myst-ext-grid": "^1.0.0",
"myst-ext-proof": "^1.0.0",
"myst-ext-tabs": "^1.0.0",
"myst-frontmatter": "^1.0.0",
"myst-parser": "^1.0.1",
"myst-ext-exercise": "^1.0.1",
"myst-ext-grid": "^1.0.1",
"myst-ext-proof": "^1.0.1",
"myst-ext-tabs": "^1.0.1",
"myst-frontmatter": "^1.0.4",
"myst-parser": "^1.0.3",
"myst-spec": "^0.0.4",
"myst-to-docx": "^1.0.0",
"myst-to-html": "^1.0.1",
"myst-to-jats": "^1.0.2",
"myst-to-docx": "^1.0.1",
"myst-to-html": "^1.0.3",
"myst-to-jats": "^1.0.5",
"myst-to-react": "^0.3.8",
"myst-to-tex": "^1.0.0",
"myst-transforms": "^1.0.0",
"myst-to-tex": "^1.0.3",
"myst-transforms": "^1.0.3",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/myst-to-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@radix-ui/react-hover-card": "^1.0.6",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"myst-spec": "^0.0.4",
"nanoid": "^4.0.2",
"react-syntax-highlighter": "^15.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/myst-to-react/src/components/LinkCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function LinkCard({
loading?: boolean;
title: React.ReactNode;
description?: React.ReactNode;
thumbnail?: string;
thumbnail?: string | null;
className?: string;
}) {
const Link = useLinkProvider();
Expand Down
6 changes: 3 additions & 3 deletions packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"peerDependencies": {
"@types/react": "^16.8 || ^17.0 || ^18.0",
"@types/react-dom": "^16.8 || ^17.0 || ^18.0",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-frontmatter": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"myst-frontmatter": "^1.0.4",
"react": "^16.8 || ^17.0 || ^18.0",
"react-dom": "^16.8 || ^17.0 || ^18.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@myst-theme/providers": "^0.3.8",
"classnames": "^2.3.2",
"lodash.throttle": "^4.1.1",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"myst-demo": "^0.3.8",
"myst-to-react": "^0.3.8",
"nbtx": "^0.2.3",
Expand Down
4 changes: 2 additions & 2 deletions themes/article/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@remix-run/node": "^1.17.0",
"@remix-run/react": "^1.17.0",
"@remix-run/vercel": "^1.17.0",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"node-fetch": "^2.6.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 2 additions & 2 deletions themes/book/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"@remix-run/node": "^1.17.0",
"@remix-run/react": "^1.17.0",
"@remix-run/vercel": "^1.17.0",
"myst-common": "^1.0.1",
"myst-config": "^1.0.0",
"myst-common": "^1.0.3",
"myst-config": "^1.0.2",
"node-fetch": "^2.6.11",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down

0 comments on commit eeed059

Please sign in to comment.