Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/hash-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
"prosemirror-state": "1.4.3",
"prosemirror-transform": "1.7.0",
"prosemirror-view": "patch:prosemirror-view@npm%3A1.29.1#~/.yarn/patches/prosemirror-view-npm-1.29.1-ff37db4eea.patch",
"react": "19.2.6",
"react": "19.2.7",
"react-beautiful-dnd": "13.1.1",
"react-dom": "19.2.6",
"react-dom": "19.2.7",
"react-dropzone": "14.3.8",
"react-full-screen": "1.1.1",
"react-hook-form": "7.65.0",
Expand Down
23 changes: 12 additions & 11 deletions apps/petrinaut-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,23 @@
"@sentry/react": "10.54.0",
"ai": "6.0.182",
"immer": "10.1.3",
"react": "19.2.6",
"react-dom": "19.2.6",
"react-icons": "5.5.0",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-icons": "5.6.0",
"zod": "4.4.3"
},
"devDependencies": {
"@rolldown/plugin-babel": "0.2.1",
"@types/react": "19.2.14",
"@babel/core": "7.29.7",
"@rolldown/plugin-babel": "0.2.3",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260511.1",
"@vitejs/plugin-react": "6.0.1",
"@whatwg-node/server": "0.10.18",
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"@vitejs/plugin-react": "6.0.2",
"@whatwg-node/server": "0.11.0",
"babel-plugin-react-compiler": "1.0.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"sharp": "0.34.5",
"vite": "8.0.12"
"vite": "8.0.16"
}
}
4 changes: 2 additions & 2 deletions apps/plugin-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"fractional-indexing": "3.2.0",
"graphql": "16.11.0",
"lodash.debounce": "4.0.8",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"uuid": "14.0.0",
"webextension-polyfill": "0.12.0",
"ws": "8.20.1"
Expand Down
2 changes: 1 addition & 1 deletion libs/@blockprotocol/type-system/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@types/semver": "7.7.1",
"@vitest/coverage-istanbul": "4.1.7",
"eslint": "9.39.4",
"react": "19.2.6",
"react": "19.2.7",
"rimraf": "6.1.3",
"rollup": "4.59.0",
"tslib": "2.8.1",
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/block-design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@types/react-dom": "19.2.3",
"@types/react-syntax-highlighter": "15.5.13",
"eslint": "9.39.4",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"typescript": "5.9.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"eslint": "9.39.4",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"typescript": "5.9.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/ds-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@
"lorem-ipsum": "2.0.8",
"lucide-react": "0.544.0",
"npm-run-all": "4.1.5",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"tsup": "^8.5.1",
"tsx": "4.20.6",
"typescript": "5.9.3",
Expand Down
18 changes: 9 additions & 9 deletions libs/@hashintel/petrinaut-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"test:unit": "vitest"
},
"dependencies": {
"@babel/standalone": "7.28.5",
"@babel/standalone": "7.29.7",
"elkjs": "0.11.0",
"immer": "10.1.3",
"uuid": "14.0.0",
Expand All @@ -70,13 +70,13 @@
"devDependencies": {
"@types/babel__standalone": "7.1.9",
"@types/node": "22.18.13",
"@typescript/native-preview": "7.0.0-dev.20260511.1",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
"rolldown": "1.0.0",
"rolldown-plugin-dts": "0.25.0",
"typescript": "5.9.3",
"vite": "8.0.12",
"vitest": "4.1.7"
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"rolldown": "1.0.3",
"rolldown-plugin-dts": "0.25.2",
"typescript": "6.0.3",
"vite": "8.0.16",
"vitest": "4.1.8"
}
}
5 changes: 5 additions & 0 deletions libs/@hashintel/petrinaut-core/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ export default defineConfig(({ command }) => ({
external: ["typescript"],
}),

// The `enforce: "pre"` remap below is still required in Vite 8, despite
// upstream recommending `oxc: { exclude }` instead (sxzz/rolldown-plugin-dts#201):
// tested 2026-06-12 with vite 8.0.16 + rolldown-plugin-dts 0.25.2, the
// exclude-based setup silently emits dts chunks without their local
// declarations (e.g. `index.d.d.ts` went missing entirely).
command === "build" &&
dts({ tsgo: true }).map((plugin) =>
plugin.name.endsWith("fake-js")
Expand Down
39 changes: 20 additions & 19 deletions libs/@hashintel/petrinaut/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"test:unit": "vitest"
},
"dependencies": {
"@ai-sdk/react": "3.0.184",
"@ai-sdk/react": "3.0.201",
"@ark-ui/react": "5.26.2",
"@babel/standalone": "7.28.5",
"@babel/standalone": "7.29.7",
"@fontsource-variable/inter": "5.2.8",
"@fontsource-variable/inter-tight": "5.2.7",
"@fontsource-variable/jetbrains-mono": "5.2.8",
Expand All @@ -63,41 +63,42 @@
"@hashintel/refractive": "workspace:^",
"@monaco-editor/react": "4.8.0-rc.3",
"@tanstack/react-form": "1.29.0",
"@xyflow/react": "12.10.1",
"@xyflow/react": "12.11.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split ai package versions

Medium Severity

Bumping @ai-sdk/react to 3.0.201 pulls in ai@6.0.199, but the package still declares ai@6.0.182, so the workspace installs two ai copies. The AI assistant passes lastAssistantMessageIsCompleteWithToolCalls from the older copy into useChat, which can break automatic follow-up sends after tool calls if those patch releases diverge.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 6ff32bd. Configure here.

"ai": "6.0.182",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

"fuzzysort": "3.1.0",
"lodash-es": "4.18.1",
"monaco-editor": "0.55.1",
"react-markdown": "10.1.0",
"react-resizable-panels": "4.6.5",
"react-resizable-panels": "4.11.2",
"uplot": "1.6.32",
"use-sync-external-store": "1.6.0",
"uuid": "14.0.0"
},
"devDependencies": {
"@babel/core": "7.29.7",
"@hashintel/ds-helpers": "workspace:*",
"@pandacss/dev": "1.11.1",
"@rolldown/plugin-babel": "0.2.1",
"@storybook/react-vite": "10.2.19",
"@rolldown/plugin-babel": "0.2.3",
"@storybook/react-vite": "10.4.3",
"@testing-library/dom": "10.4.1",
"@testing-library/react": "16.3.2",
"@types/babel__standalone": "7.1.9",
"@types/lodash-es": "4.17.12",
"@types/react": "19.2.14",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260511.1",
"@vitejs/plugin-react": "6.0.1",
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"@vitejs/plugin-react": "6.0.2",
"babel-plugin-react-compiler": "1.0.0",
"jsdom": "24.1.3",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
"react": "19.2.6",
"react-dom": "19.2.6",
"rolldown": "1.0.0",
"rolldown-plugin-dts": "0.25.0",
"storybook": "10.3.6",
"vite": "8.0.12",
"vitest": "4.1.7"
"jsdom": "29.1.1",
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"react": "19.2.7",
"react-dom": "19.2.7",
"rolldown": "1.0.3",
"rolldown-plugin-dts": "0.25.2",
"storybook": "10.4.3",
"vite": "8.0.16",
"vitest": "4.1.8"
},
"peerDependencies": {
"@hashintel/ds-components": "workspace:^",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ export const Spreadsheet: React.FC<SpreadsheetProps> = ({
) : isEditing ? (
<input
ref={inputRef}
aria-label="Cell value"
type="number"
value={editingValue}
onChange={(event) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ export const SimulationControls: React.FC<SimulationControlsProps> = ({
</div>

<input
aria-label="Simulation timeline"
type="range"
min="0"
max={Math.max(0, totalFrames - 1)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ const SearchTitle: React.FC = () => {
return (
<input
ref={searchInputRef}
aria-label="Search"
type="text"
placeholder="Find anything…"
className={searchInputStyle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ const MetricFormSections = ({
</label>
<textarea
id={`${idPrefix}metric-description`}
aria-label="Description"
className={textareaStyle}
value={state.description}
Comment thread
kube marked this conversation as resolved.
onChange={(e) => callbacks.onDescriptionChange(e.target.value)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ const ScenarioFormSections = ({
</label>
<textarea
id={`${idPrefix}scenario-description`}
aria-label="Description"
className={textareaStyle}
value={state.description}
Comment thread
kube marked this conversation as resolved.
onChange={(e) => callbacks.onDescriptionChange(e.target.value)}
Expand Down
5 changes: 5 additions & 0 deletions libs/@hashintel/petrinaut/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ export default defineConfig(({ command }) => ({
],
}),

// The `enforce: "pre"` remap below is still required in Vite 8, despite
// upstream recommending `oxc: { exclude }` instead (sxzz/rolldown-plugin-dts#201):
// tested 2026-06-12 with vite 8.0.16 + rolldown-plugin-dts 0.25.2, the
// exclude-based setup drops all local declarations from the emitted dts
// chunks (multi-entry lib builds come out as bare re-export stubs).
command === "build" &&
dts({ tsgo: true }).map((plugin) =>
// Ensure runs before Vite's native TypeScript transform
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/query-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"@mui/system": "5.18.0",
"eslint": "9.39.4",
"eslint-plugin-storybook": "10.3.1",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-hook-form": "7.65.0",
"storybook": "9.1.19",
"typescript": "5.9.3"
Expand Down
22 changes: 12 additions & 10 deletions libs/@hashintel/refractive/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,20 @@
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@rolldown/plugin-babel": "0.2.1",
"@storybook/react-vite": "10.2.19",
"@types/react": "19.2.14",
"@babel/core": "7.29.7",
"@rolldown/plugin-babel": "0.2.3",
"@storybook/react-vite": "10.4.3",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@typescript/native-preview": "7.0.0-dev.20260511.1",
"@vitejs/plugin-react": "6.0.1",
"@typescript/native-preview": "7.0.0-dev.20260610.1",
"@vitejs/plugin-react": "6.0.2",
"babel-plugin-react-compiler": "1.0.0",
"oxlint": "1.63.0",
"oxlint-tsgolint": "0.22.1",
"rolldown-plugin-dts": "0.25.0",
"storybook": "10.2.19",
"vite": "8.0.12"
"oxlint": "1.69.0",
"oxlint-tsgolint": "0.23.0",
"rolldown": "1.0.3",
"rolldown-plugin-dts": "0.25.2",
"storybook": "10.4.3",
"vite": "8.0.16"
},
"peerDependencies": {
"react": "^19.0.0",
Expand Down
4 changes: 4 additions & 0 deletions libs/@hashintel/refractive/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export default defineConfig(({ command }) => ({
],
}),

// The `enforce: "pre"` remap below is still required in Vite 8, despite
// upstream recommending `oxc: { exclude }` instead (sxzz/rolldown-plugin-dts#201):
// tested 2026-06-12 with vite 8.0.16 + rolldown-plugin-dts 0.25.2, the
// exclude-based setup drops local declarations from the emitted dts chunks.
command === "build" &&
dts({ tsgo: true }).map((plugin) =>
// Ensure runs before Vite's native TypeScript transform
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/type-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"@types/lodash.uniqueid": "4.0.9",
"eslint": "9.39.4",
"eslint-plugin-storybook": "10.3.1",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-hook-form": "7.65.0",
"storybook": "9.1.19",
"typescript": "5.9.3"
Expand Down
2 changes: 1 addition & 1 deletion libs/@local/advanced-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@local/eslint": "workspace:*",
"@local/tsconfig": "workspace:*",
"eslint": "9.39.4",
"react": "19.2.6",
"react": "19.2.7",
"rimraf": "6.1.3",
"typescript": "5.9.3"
}
Expand Down
2 changes: 1 addition & 1 deletion libs/@local/hash-isomorphic-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"eslint": "9.39.4",
"graphql": "16.11.0",
"next": "15.5.18",
"react": "19.2.6",
"react": "19.2.7",
"rimraf": "6.1.3",
"typescript": "5.9.3",
"vitest": "4.1.7"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@
"prosemirror-view@npm:^1.1.0": "patch:prosemirror-view@npm%3A1.29.1#~/.yarn/patches/prosemirror-view-npm-1.29.1-ff37db4eea.patch",
"prosemirror-view@npm:^1.27.0": "patch:prosemirror-view@npm%3A1.29.1#~/.yarn/patches/prosemirror-view-npm-1.29.1-ff37db4eea.patch",
"qs": "6.15.2",
"react": "19.2.6",
"react-dom": "19.2.6",
"react": "19.2.7",
"react-dom": "19.2.7",
"underscore": "1.13.8"
},
"engines": {
Expand Down
6 changes: 6 additions & 0 deletions yarn.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ const ignoredDependencies = [
"vitest",
"@dnd-kit/sortable",
"@babel/core",
// Petrinaut + refractive use @types/react 19.2.17; other workspaces are on 19.2.14
"@types/react",
// petrinaut-core bundles TypeScript 6 into its LSP worker; the rest of the repo is on 5.9
"typescript",
// Petrinaut tests run on jsdom 29; hash-ai-worker-ts is still on 24
"jsdom",
Comment on lines +35 to +40

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't the other workspaces also be upgraded?

Adding things to this array is a very blunt instrument which means we don't get any linting against packages ending up on different versions, we should only use it if there is some real difficulty in just upgrading everything else at the same time.

@kube kube Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it would be a lot of work (for TypeScript) to make sure that all packages still pass the linting, and update them without worrying that we wouldn't break things.

For Petrinaut, it's just a runtime dependency.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And for the others? And what is the motivation for upgrading Petrinaut to TypeScript 6?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be really good reasons for just giving up on version consistency for packages

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Petrinaut lints User Code with TypeScript
  • Other packages lint their own code with TypeScript

So I think it's safe to assume they are not the same version, and make sure that new user-code is linted with latest language.

];
const ignoredWorkspaces = [];

Expand Down
Loading
Loading