Skip to content

Commit 209fe17

Browse files
committed
Relax React version
Signed-off-by: Andrew Stein <steinlink@gmail.com>
1 parent a248b91 commit 209fe17

5 files changed

Lines changed: 15 additions & 130 deletions

File tree

pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ catalog:
3737
"d3fc": "^15.2.13"
3838
"ol": "^5.3.2"
3939
"pro_self_extracting_wasm": "0.0.9"
40-
"react-dom": "^18"
41-
"react": "^18"
40+
"react-dom": ">17 <20"
41+
"react": ">17 <20"
4242
"regular-table": "=0.8.1"
4343
"stoppable": "=1.1.0"
4444
"ws": "^8.17.0"
@@ -56,8 +56,8 @@ catalog:
5656
"@types/d3": "^7.4.3"
5757
"@types/lodash": "^4.17.20"
5858
"@types/node": ">=22"
59-
"@types/react-dom": "^18"
60-
"@types/react": "^18"
59+
"@types/react-dom": ">17 <20"
60+
"@types/react": ">17 <20"
6161
"@types/stoppable": ">=1"
6262
"@types/ws": ">=8"
6363
"@types/chroma-js": "^3.1.2"

tools/scripts/fix.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import * as url from "url";
1414
import * as dotenv from "dotenv";
1515
import { lint_js, lint_python } from "./lint.mjs";
16-
import * as cppLint from "./lint_cpp.mjs";
1716

1817
if (import.meta.url.startsWith("file:")) {
1918
if (process.argv[1] === url.fileURLToPath(import.meta.url)) {
@@ -23,6 +22,5 @@ if (import.meta.url.startsWith("file:")) {
2322
dotenv.config({ path: "./.perspectiverc", quiet: true });
2423
await lint_js(true);
2524
lint_python(true);
26-
cppLint.fixFormatting();
2725
}
2826
}

tools/scripts/lint.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import { get_scope } from "./sh_perspective.mjs";
1414
import * as url from "url";
1515
import * as dotenv from "dotenv";
16-
import * as cppLint from "./lint_cpp.mjs";
1716

1817
import "zx/globals";
1918

@@ -58,7 +57,6 @@ if (import.meta.url.startsWith("file:")) {
5857
lint_python();
5958
// }
6059

61-
cppLint.checkFormatting();
6260
process.exit(exit_code);
6361
}
6462
}

tools/scripts/lint_cpp.mjs

Lines changed: 0 additions & 111 deletions
This file was deleted.

0 commit comments

Comments
 (0)