Skip to content

Commit

Permalink
node v22; use "import ... with" syntax in content
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Dec 27, 2024
1 parent 3e9db1b commit 7821da7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"engines": {
"node": "20.x"
"node": "22.x"
},
"scripts": {
"db:migrate:dev": "PRISMA_HIDE_UPDATE_MESSAGE=1 prisma migrate dev",
Expand Down
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "MIT",
"engines": {
"node": "20.x"
"node": "22.x"
},
"scripts": {
"dev": "next dev --turbo",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"private": true,
"engines": {
"node": "=20.x"
"node": "22.x"
},
"scripts": {
"dev": "content-collections watch",
Expand Down
2 changes: 1 addition & 1 deletion internal-packages/content/src/collections/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TransformOptions } from "@fumadocs/content-collections/configuration";
import rehypeKatex from "rehype-katex";
import remarkMath from "remark-math";

import squiggleGrammar from "@quri/squiggle-textmate-grammar/dist/squiggle.tmLanguage.json" assert { type: "json" };
import squiggleGrammar from "@quri/squiggle-textmate-grammar/dist/squiggle.tmLanguage.json" with { type: "json" };

export const mdxOptions: TransformOptions = {
// https://fumadocs.vercel.app/docs/ui/math#add-plugins
Expand Down
3 changes: 0 additions & 3 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "@quri/squiggle-components",
"version": "0.10.1-0",
"license": "MIT",
"engines": {
"node": "20.x"
},
"repository": {
"type": "git",
"url": "https://github.com/quantified-uncertainty/squiggle.git",
Expand Down
3 changes: 0 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "@quri/ui",
"version": "0.2.3",
"license": "MIT",
"engines": {
"node": ">=20.x"
},
"repository": {
"type": "git",
"url": "https://github.com/quantified-uncertainty/squiggle.git",
Expand Down

0 comments on commit 7821da7

Please sign in to comment.