Skip to content

Commit ad01dcd

Browse files
authored
Fix outdated dependency test suite errors (#1305)
2 parents d463fd2 + 5ecab4f commit ad01dcd

File tree

15 files changed

+47
-34
lines changed

15 files changed

+47
-34
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ commands = [
7575
'bun run --cwd "src/js/packages/@reactpy/client" build',
7676
'bun install --cwd "src/js/packages/@reactpy/app"',
7777
'bun run --cwd "src/js/packages/@reactpy/app" build',
78-
'python "src/build_scripts/copy_dir.py" "src/js/packages/@reactpy/app/node_modules/@pyscript/core/dist" "src/reactpy/static/pyscript"',
79-
'python "src/build_scripts/copy_dir.py" "src/js/packages/@reactpy/app/node_modules/morphdom/dist" "src/reactpy/static/morphdom"',
78+
'python "src/build_scripts/copy_dir.py" "src/js/node_modules/@pyscript/core/dist" "src/reactpy/static/pyscript"',
79+
'python "src/build_scripts/copy_dir.py" "src/js/node_modules/morphdom/dist" "src/reactpy/static/morphdom"',
8080
]
8181
artifacts = []
8282

src/js/bun.lockb

17.8 KB
Binary file not shown.

src/js/package.json

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
{
2+
"workspaces": [
3+
"packages/*",
4+
"packages/@reactpy/*"
5+
],
6+
"catalog": {
7+
"preact": "^10.27.2",
8+
"@pyscript/core": "^0.7.11",
9+
"morphdom": "^2.7.7",
10+
"typescript": "^5.9.3",
11+
"json-pointer": "^0.6.2",
12+
"@types/json-pointer": "^1.0.34",
13+
"@reactpy/client": "file:./packages/@reactpy/client",
14+
"event-to-object": "file:./packages/event-to-object"
15+
},
216
"devDependencies": {
3-
"@eslint/js": "^9.29.0",
4-
"bun-types": "^1.2.16",
5-
"eslint": "^9.18.0",
6-
"globals": "^15.14.0",
7-
"prettier": "^3.4.2",
8-
"typescript-eslint": "^8.34.0"
17+
"@eslint/js": "^9.39.1",
18+
"bun-types": "^1.3.3",
19+
"eslint": "^9.39.1",
20+
"globals": "^16.5.0",
21+
"prettier": "^3.6.2",
22+
"typescript-eslint": "^8.47.0"
923
},
1024
"license": "MIT",
1125
"scripts": {
617 Bytes
Binary file not shown.

src/js/packages/@reactpy/app/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"dependencies": {
3-
"@reactpy/client": "file:../client",
4-
"event-to-object": "file:../../event-to-object",
5-
"preact": "^10.25.4"
3+
"@reactpy/client": "catalog:",
4+
"event-to-object": "catalog:",
5+
"preact": "catalog:"
66
},
77
"description": "ReactPy's client-side entry point. This is strictly for internal use and is not designed to be distributed.",
88
"devDependencies": {
9-
"@pyscript/core": "^0.6",
10-
"morphdom": "^2",
11-
"typescript": "^5.8.3"
9+
"@pyscript/core": "catalog:",
10+
"morphdom": "catalog:",
11+
"typescript": "catalog:"
1212
},
1313
"license": "MIT",
1414
"name": "@reactpy/app",
72 Bytes
Binary file not shown.

src/js/packages/@reactpy/client/package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"author": "Ryan Morshead",
33
"dependencies": {
4-
"json-pointer": "^0.6.2",
5-
"preact": "^10.26.9"
4+
"json-pointer": "catalog:",
5+
"preact": "catalog:",
6+
"event-to-object": "catalog:"
67
},
78
"description": "A client for ReactPy implemented in React",
89
"devDependencies": {
9-
"@types/json-pointer": "^1.0.34",
10-
"typescript": "^5.8.3"
10+
"@types/json-pointer": "catalog:",
11+
"typescript": "catalog:"
1112
},
1213
"keywords": [
1314
"react",
@@ -18,9 +19,6 @@
1819
"license": "MIT",
1920
"main": "dist/index.js",
2021
"name": "@reactpy/client",
21-
"peerDependencies": {
22-
"event-to-object": "<1.0.0"
23-
},
2422
"repository": {
2523
"type": "git",
2624
"url": "https://github.com/reactive-python/reactpy"
392 Bytes
Binary file not shown.

src/js/packages/event-to-object/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Ryan Morshead",
33
"dependencies": {
4-
"json-pointer": "^0.6.2"
4+
"json-pointer": "catalog:"
55
},
66
"description": "Converts a JavaScript events to JSON serializable objects.",
77
"devDependencies": {

src/reactpy/pyscript/component_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ruff: noqa: TC004, N802, N816, RUF006
1+
# ruff: noqa: N816, RUF006
22
# type: ignore
33
from typing import TYPE_CHECKING
44

0 commit comments

Comments
 (0)