Skip to content

Commit eb5a2bc

Browse files
committed
fix reactpy client dist
1 parent 3a009b6 commit eb5a2bc

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Diff for: noxfile.py

+1
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,7 @@ def prepare_javascript_release(
363363
session.error("NODE_AUTH_TOKEN environment variable must be set")
364364

365365
session.run("npm", "ci", external=True)
366+
session.run("npm", "run", "build", external=True)
366367

367368
def publish(dry_run: bool) -> None:
368369
if dry_run:

Diff for: src/client/packages/@reactpy/client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"name": "@reactpy/client",
88
"type": "module",
9-
"version": "0.2.0",
9+
"version": "0.2.1",
1010
"dependencies": {
1111
"event-to-object": "^0.1.1",
1212
"json-pointer": "^0.6.2"
@@ -34,4 +34,4 @@
3434
"check:tests": "echo 'no tests'",
3535
"check:types": "tsc --noEmit"
3636
}
37-
}
37+
}

Diff for: src/client/tsconfig.package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@
88
"forceConsistentCasingInFileNames": true,
99
"isolatedModules": true,
1010
"jsx": "react",
11-
"lib": ["DOM", "DOM.Iterable", "esnext"],
11+
"lib": [
12+
"DOM",
13+
"DOM.Iterable",
14+
"esnext"
15+
],
1216
"module": "esnext",
1317
"moduleResolution": "node",
14-
"noEmit": false,
1518
"resolveJsonModule": true,
1619
"skipLibCheck": false,
1720
"strict": true,
1821
"target": "esnext"
1922
}
20-
}
23+
}

0 commit comments

Comments
 (0)