Skip to content

Commit

Permalink
fix JS dist artifacts (#963)
Browse files Browse the repository at this point in the history
* fix reactpy client dist

* bump event to object too
  • Loading branch information
rmorshea committed Apr 2, 2023
1 parent 3a009b6 commit b15b43d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def prepare_javascript_release(
session.error("NODE_AUTH_TOKEN environment variable must be set")

session.run("npm", "ci", external=True)
session.run("npm", "run", "build", external=True)

def publish(dry_run: bool) -> None:
if dry_run:
Expand Down
4 changes: 2 additions & 2 deletions src/client/packages/@reactpy/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"license": "MIT",
"name": "@reactpy/client",
"type": "module",
"version": "0.2.0",
"version": "0.2.1",
"dependencies": {
"event-to-object": "^0.1.1",
"event-to-object": "^0.1.2",
"json-pointer": "^0.6.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/client/packages/event-to-object/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "event-to-object",
"description": "Convert native events to JSON serializable objects",
"type": "module",
"version": "0.1.1",
"version": "0.1.2",
"dependencies": {
"json-pointer": "^0.6.2"
},
Expand Down
7 changes: 5 additions & 2 deletions src/client/tsconfig.package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"jsx": "react",
"lib": ["DOM", "DOM.Iterable", "esnext"],
"lib": [
"DOM",
"DOM.Iterable",
"esnext"
],
"module": "esnext",
"moduleResolution": "node",
"noEmit": false,
"resolveJsonModule": true,
"skipLibCheck": false,
"strict": true,
Expand Down

0 comments on commit b15b43d

Please sign in to comment.