From 23c0a77191512fe84cb04638d70a928c36c32a8a Mon Sep 17 00:00:00 2001 From: Mark Bakhit Date: Thu, 24 Oct 2024 13:58:53 -0700 Subject: [PATCH] 1.0.2 (Add bundle.js to wheel) (#45) --- CHANGELOG.md | 13 ++++++++++--- pyproject.toml | 3 +++ src/reactpy_router/__init__.py | 3 +-- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0a2658..26a01ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,12 +36,18 @@ Using the following categories, list your changes in this order: - Nothing (yet)! +## [1.0.2] - 2024-10-24 + +### Fixed + +- Fix python `wheel` missing `bundle.js` file. + ## [1.0.1] - 2024-10-24 ### Changed -- JavaScript bundle is now created using [`Bun`](https://bun.sh/) -- Python package is now built using [`Hatch`](https://hatch.pypa.io/) +- JavaScript bundle is now created using [`Bun`](https://bun.sh/). +- Python package is now built using [`Hatch`](https://hatch.pypa.io/). ## [1.0.0] - 2024-10-18 @@ -98,7 +104,8 @@ Using the following categories, list your changes in this order: - Rename `configure` to `create_router`. - Rename from `idom-router` to `reactpy-router`. -[Unreleased]: https://github.com/reactive-python/reactpy-router/compare/1.0.1...HEAD +[Unreleased]: https://github.com/reactive-python/reactpy-router/compare/1.0.2...HEAD +[1.0.2]: https://github.com/reactive-python/reactpy-router/compare/1.0.1...1.0.2 [1.0.1]: https://github.com/reactive-python/reactpy-router/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/reactive-python/reactpy-router/compare/0.1.1...1.0.0 [0.1.1]: https://github.com/reactive-python/reactpy-router/compare/0.1.0...0.1.1 diff --git a/pyproject.toml b/pyproject.toml index 5ffcba2..956b2a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,9 @@ path = "src/reactpy_router/__init__.py" include = ["/src"] artifacts = ["/src/reactpy_router/static/bundle.js"] +[tool.hatch.build.targets.wheel] +artifacts = ["/src/reactpy_router/static/bundle.js"] + [tool.hatch.metadata] license-files = { paths = ["LICENSE.md"] } diff --git a/src/reactpy_router/__init__.py b/src/reactpy_router/__init__.py index ce138fd..41a7851 100644 --- a/src/reactpy_router/__init__.py +++ b/src/reactpy_router/__init__.py @@ -1,5 +1,4 @@ -# the version is statically loaded by setup.py -__version__ = "1.0.1" +__version__ = "1.0.2" from reactpy_router.components import link, navigate, route