diff --git a/apps/hub/package.json b/apps/hub/package.json index 11ec078c25..d5f4377541 100644 --- a/apps/hub/package.json +++ b/apps/hub/package.json @@ -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", diff --git a/apps/website/package.json b/apps/website/package.json index a50dad5d71..6434214ddc 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -4,7 +4,7 @@ "private": true, "license": "MIT", "engines": { - "node": "20.x" + "node": "22.x" }, "scripts": { "dev": "next dev --turbo", diff --git a/internal-packages/content/package.json b/internal-packages/content/package.json index 68d95e9390..7f97dfba33 100644 --- a/internal-packages/content/package.json +++ b/internal-packages/content/package.json @@ -3,7 +3,7 @@ "type": "module", "private": true, "engines": { - "node": "=20.x" + "node": "22.x" }, "scripts": { "dev": "content-collections watch", diff --git a/internal-packages/content/src/collections/utils.ts b/internal-packages/content/src/collections/utils.ts index 203ebc81e9..26ef21bbd3 100644 --- a/internal-packages/content/src/collections/utils.ts +++ b/internal-packages/content/src/collections/utils.ts @@ -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 diff --git a/packages/components/package.json b/packages/components/package.json index 112f0596ab..4c481ff8b5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -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", diff --git a/packages/ui/package.json b/packages/ui/package.json index ffc2f2d83a..f6b563711c 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -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", diff --git a/packages/ui/tailwind.config.js b/packages/ui/tailwind.config.js index 6a22627439..fdce7dfdaf 100644 --- a/packages/ui/tailwind.config.js +++ b/packages/ui/tailwind.config.js @@ -1,6 +1,8 @@ +import formsPlugin from "@tailwindcss/forms"; + const config = { content: ["./src/**/*.tsx"], - plugins: [require("@tailwindcss/forms")], + plugins: [formsPlugin], }; export default config;