Skip to content

Commit b15b43d

Browse files
authored
fix JS dist artifacts (#963)
* fix reactpy client dist * bump event to object too
1 parent 3a009b6 commit b15b43d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

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:

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"license": "MIT",
77
"name": "@reactpy/client",
88
"type": "module",
9-
"version": "0.2.0",
9+
"version": "0.2.1",
1010
"dependencies": {
11-
"event-to-object": "^0.1.1",
11+
"event-to-object": "^0.1.2",
1212
"json-pointer": "^0.6.2"
1313
},
1414
"devDependencies": {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "event-to-object",
77
"description": "Convert native events to JSON serializable objects",
88
"type": "module",
9-
"version": "0.1.1",
9+
"version": "0.1.2",
1010
"dependencies": {
1111
"json-pointer": "^0.6.2"
1212
},

src/client/tsconfig.package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@
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,

0 commit comments

Comments
 (0)