From b96ea570ed3ff9d381176ceac8600b3ae7cff6ff Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Tue, 22 Jul 2025 22:17:11 +0200 Subject: [PATCH 1/2] upgrade biome --- package.json | 2 +- pnpm-lock.yaml | 74 +++++++++++++++++++++++++------------------------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index bacaa966..a56eb759 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@babel/cli": "^7.28.0", "@babel/core": "^7.28.0", - "@biomejs/biome": "2.0.6", + "@biomejs/biome": "^2.1.2", "@changesets/cli": "^2.29.5", "@graphprotocol/grc-20": "^0.21.6", "babel-plugin-annotate-pure-calls": "^0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 17e69938..648391e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^7.28.0 version: 7.28.0 '@biomejs/biome': - specifier: 2.0.6 - version: 2.0.6 + specifier: ^2.1.2 + version: 2.1.2 '@changesets/cli': specifier: ^2.29.5 version: 2.29.5 @@ -1761,8 +1761,8 @@ packages: engines: {node: '>=14.21.3'} hasBin: true - '@biomejs/biome@2.0.6': - resolution: {integrity: sha512-RRP+9cdh5qwe2t0gORwXaa27oTOiQRQvrFf49x2PA1tnpsyU7FIHX4ZOFMtBC4QNtyWsN7Dqkf5EDbg4X+9iqA==} + '@biomejs/biome@2.1.2': + resolution: {integrity: sha512-yq8ZZuKuBVDgAS76LWCfFKHSYIAgqkxVB3mGVVpOe2vSkUTs7xG46zXZeNPRNVjiJuw0SZ3+J2rXiYx0RUpfGg==} engines: {node: '>=14.21.3'} hasBin: true @@ -1772,8 +1772,8 @@ packages: cpu: [arm64] os: [darwin] - '@biomejs/cli-darwin-arm64@2.0.6': - resolution: {integrity: sha512-AzdiNNjNzsE6LfqWyBvcL29uWoIuZUkndu+wwlXW13EKcBHbbKjNQEZIJKYDc6IL+p7bmWGx3v9ZtcRyIoIz5A==} + '@biomejs/cli-darwin-arm64@2.1.2': + resolution: {integrity: sha512-leFAks64PEIjc7MY/cLjE8u5OcfBKkcDB0szxsWUB4aDfemBep1WVKt0qrEyqZBOW8LPHzrFMyDl3FhuuA0E7g==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [darwin] @@ -1784,8 +1784,8 @@ packages: cpu: [x64] os: [darwin] - '@biomejs/cli-darwin-x64@2.0.6': - resolution: {integrity: sha512-wJjjP4E7bO4WJmiQaLnsdXMa516dbtC6542qeRkyJg0MqMXP0fvs4gdsHhZ7p9XWTAmGIjZHFKXdsjBvKGIJJQ==} + '@biomejs/cli-darwin-x64@2.1.2': + resolution: {integrity: sha512-Nmmv7wRX5Nj7lGmz0FjnWdflJg4zii8Ivruas6PBKzw5SJX/q+Zh2RfnO+bBnuKLXpj8kiI2x2X12otpH6a32A==} engines: {node: '>=14.21.3'} cpu: [x64] os: [darwin] @@ -1796,8 +1796,8 @@ packages: cpu: [arm64] os: [linux] - '@biomejs/cli-linux-arm64-musl@2.0.6': - resolution: {integrity: sha512-CVPEMlin3bW49sBqLBg2x016Pws7eUXA27XYDFlEtponD0luYjg2zQaMJ2nOqlkKG9fqzzkamdYxHdMDc2gZFw==} + '@biomejs/cli-linux-arm64-musl@2.1.2': + resolution: {integrity: sha512-qgHvafhjH7Oca114FdOScmIKf1DlXT1LqbOrrbR30kQDLFPEOpBG0uzx6MhmsrmhGiCFCr2obDamu+czk+X0HQ==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -1808,8 +1808,8 @@ packages: cpu: [arm64] os: [linux] - '@biomejs/cli-linux-arm64@2.0.6': - resolution: {integrity: sha512-ZSVf6TYo5rNMUHIW1tww+rs/krol7U5A1Is/yzWyHVZguuB0lBnIodqyFuwCNqG9aJGyk7xIMS8HG0qGUPz0SA==} + '@biomejs/cli-linux-arm64@2.1.2': + resolution: {integrity: sha512-NWNy2Diocav61HZiv2enTQykbPP/KrA/baS7JsLSojC7Xxh2nl9IczuvE5UID7+ksRy2e7yH7klm/WkA72G1dw==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [linux] @@ -1820,8 +1820,8 @@ packages: cpu: [x64] os: [linux] - '@biomejs/cli-linux-x64-musl@2.0.6': - resolution: {integrity: sha512-mKHE/e954hR/hSnAcJSjkf4xGqZc/53Kh39HVW1EgO5iFi0JutTN07TSjEMg616julRtfSNJi0KNyxvc30Y4rQ==} + '@biomejs/cli-linux-x64-musl@2.1.2': + resolution: {integrity: sha512-xlB3mU14ZUa3wzLtXfmk2IMOGL+S0aHFhSix/nssWS/2XlD27q+S6f0dlQ8WOCbYoXcuz8BCM7rCn2lxdTrlQA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -1832,8 +1832,8 @@ packages: cpu: [x64] os: [linux] - '@biomejs/cli-linux-x64@2.0.6': - resolution: {integrity: sha512-geM1MkHTV1Kh2Cs/Xzot9BOF3WBacihw6bkEmxkz4nSga8B9/hWy5BDiOG3gHDGIBa8WxT0nzsJs2f/hPqQIQw==} + '@biomejs/cli-linux-x64@2.1.2': + resolution: {integrity: sha512-Km/UYeVowygTjpX6sGBzlizjakLoMQkxWbruVZSNE6osuSI63i4uCeIL+6q2AJlD3dxoiBJX70dn1enjQnQqwA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [linux] @@ -1844,8 +1844,8 @@ packages: cpu: [arm64] os: [win32] - '@biomejs/cli-win32-arm64@2.0.6': - resolution: {integrity: sha512-290V4oSFoKaprKE1zkYVsDfAdn0An5DowZ+GIABgjoq1ndhvNxkJcpxPsiYtT7slbVe3xmlT0ncdfOsN7KruzA==} + '@biomejs/cli-win32-arm64@2.1.2': + resolution: {integrity: sha512-G8KWZli5ASOXA3yUQgx+M4pZRv3ND16h77UsdunUL17uYpcL/UC7RkWTdkfvMQvogVsAuz5JUcBDjgZHXxlKoA==} engines: {node: '>=14.21.3'} cpu: [arm64] os: [win32] @@ -1856,8 +1856,8 @@ packages: cpu: [x64] os: [win32] - '@biomejs/cli-win32-x64@2.0.6': - resolution: {integrity: sha512-bfM1Bce0d69Ao7pjTjUS+AWSZ02+5UHdiAP85Th8e9yV5xzw6JrHXbL5YWlcEKQ84FIZMdDc7ncuti1wd2sdbw==} + '@biomejs/cli-win32-x64@2.1.2': + resolution: {integrity: sha512-9zajnk59PMpjBkty3bK2IrjUsUHvqe9HWwyAWQBjGLE7MIBjbX2vwv1XPEhmO2RRuGoTkVx3WCanHrjAytICLA==} engines: {node: '>=14.21.3'} cpu: [x64] os: [win32] @@ -14028,63 +14028,63 @@ snapshots: '@biomejs/cli-win32-arm64': 1.9.4 '@biomejs/cli-win32-x64': 1.9.4 - '@biomejs/biome@2.0.6': + '@biomejs/biome@2.1.2': optionalDependencies: - '@biomejs/cli-darwin-arm64': 2.0.6 - '@biomejs/cli-darwin-x64': 2.0.6 - '@biomejs/cli-linux-arm64': 2.0.6 - '@biomejs/cli-linux-arm64-musl': 2.0.6 - '@biomejs/cli-linux-x64': 2.0.6 - '@biomejs/cli-linux-x64-musl': 2.0.6 - '@biomejs/cli-win32-arm64': 2.0.6 - '@biomejs/cli-win32-x64': 2.0.6 + '@biomejs/cli-darwin-arm64': 2.1.2 + '@biomejs/cli-darwin-x64': 2.1.2 + '@biomejs/cli-linux-arm64': 2.1.2 + '@biomejs/cli-linux-arm64-musl': 2.1.2 + '@biomejs/cli-linux-x64': 2.1.2 + '@biomejs/cli-linux-x64-musl': 2.1.2 + '@biomejs/cli-win32-arm64': 2.1.2 + '@biomejs/cli-win32-x64': 2.1.2 '@biomejs/cli-darwin-arm64@1.9.4': optional: true - '@biomejs/cli-darwin-arm64@2.0.6': + '@biomejs/cli-darwin-arm64@2.1.2': optional: true '@biomejs/cli-darwin-x64@1.9.4': optional: true - '@biomejs/cli-darwin-x64@2.0.6': + '@biomejs/cli-darwin-x64@2.1.2': optional: true '@biomejs/cli-linux-arm64-musl@1.9.4': optional: true - '@biomejs/cli-linux-arm64-musl@2.0.6': + '@biomejs/cli-linux-arm64-musl@2.1.2': optional: true '@biomejs/cli-linux-arm64@1.9.4': optional: true - '@biomejs/cli-linux-arm64@2.0.6': + '@biomejs/cli-linux-arm64@2.1.2': optional: true '@biomejs/cli-linux-x64-musl@1.9.4': optional: true - '@biomejs/cli-linux-x64-musl@2.0.6': + '@biomejs/cli-linux-x64-musl@2.1.2': optional: true '@biomejs/cli-linux-x64@1.9.4': optional: true - '@biomejs/cli-linux-x64@2.0.6': + '@biomejs/cli-linux-x64@2.1.2': optional: true '@biomejs/cli-win32-arm64@1.9.4': optional: true - '@biomejs/cli-win32-arm64@2.0.6': + '@biomejs/cli-win32-arm64@2.1.2': optional: true '@biomejs/cli-win32-x64@1.9.4': optional: true - '@biomejs/cli-win32-x64@2.0.6': + '@biomejs/cli-win32-x64@2.1.2': optional: true '@bufbuild/protobuf@1.10.1': {} From 070e670b1faadab9660fe3fe82f4254ddc4a2151 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Tue, 22 Jul 2025 22:18:22 +0200 Subject: [PATCH 2/2] biome updates --- biome.jsonc | 2 +- .../src/components/publish-diff/entity-card.tsx | 1 - .../src/components/publish-diff/updated-entity-card.tsx | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/biome.jsonc b/biome.jsonc index 378cbd6f..5dbe4e5c 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json", + "$schema": "https://biomejs.dev/schemas/2.1.2/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/packages/hypergraph-react/src/components/publish-diff/entity-card.tsx b/packages/hypergraph-react/src/components/publish-diff/entity-card.tsx index b8cc7c09..898f7e7e 100644 --- a/packages/hypergraph-react/src/components/publish-diff/entity-card.tsx +++ b/packages/hypergraph-react/src/components/publish-diff/entity-card.tsx @@ -17,7 +17,6 @@ export const EntityCard = ({ entity, type }: EntityCardProps) => { return (
{/* biome-ignore lint/a11y/noStaticElementInteractions: EntityCard has keyboard support via Enter key */} - {/* biome-ignore lint/a11y/useKeyWithClickEvents: EntityCard has keyboard support via Enter key */}
setIsExpanded(!isExpanded)} diff --git a/packages/hypergraph-react/src/components/publish-diff/updated-entity-card.tsx b/packages/hypergraph-react/src/components/publish-diff/updated-entity-card.tsx index e394b936..d787c3fc 100644 --- a/packages/hypergraph-react/src/components/publish-diff/updated-entity-card.tsx +++ b/packages/hypergraph-react/src/components/publish-diff/updated-entity-card.tsx @@ -22,7 +22,6 @@ export const UpdatedEntityCard = ({ entity }: UpdatedEntityCardProps) => { return (
{/* biome-ignore lint/a11y/noStaticElementInteractions: UpdatedEntityCard has keyboard support via Enter key */} - {/* biome-ignore lint/a11y/useKeyWithClickEvents: UpdatedEntityCard has keyboard support via Enter key */}
setIsExpanded(!isExpanded)}