diff --git a/packages/duckdb-server-rust/Readme.md b/packages/duckdb-server-rust/Readme.md index 6b87e2db..9f394fcd 100644 --- a/packages/duckdb-server-rust/Readme.md +++ b/packages/duckdb-server-rust/Readme.md @@ -112,10 +112,10 @@ Run the benchmarks with cargo bench ``` -### Update dependencies +### Update Dependencies Update the lockfile with `cargo update` and look for outdated dependencies with [cargo-outdated](https://github.com/kbknapp/cargo-outdated) `cargo outdated -d 1`. -### Release +### Publishing Bump the version in `Cargo.toml` and then run `cargo publish`. diff --git a/packages/duckdb-server/README.md b/packages/duckdb-server/README.md index 307b4134..ccbe8d8c 100644 --- a/packages/duckdb-server/README.md +++ b/packages/duckdb-server/README.md @@ -58,4 +58,4 @@ Loads the bundled results. ## Publishing -Run the build with `uv build`. Then publish with `uvx twine upload --skip-existing dist/*`. We publish using tokens so when asked, set the username to `__token__` and then use your token as the password. Alternatively, create a [`.pypirc` file](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account). +Run the build with `uv build`. Then publish with `uvx twine upload --skip-existing ../../dist/*`. We publish using tokens so when asked, set the username to `__token__` and then use your token as the password. Alternatively, create a [`.pypirc` file](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account). diff --git a/packages/duckdb-server/package.json b/packages/duckdb-server/package.json index 97e32bab..15e41261 100644 --- a/packages/duckdb-server/package.json +++ b/packages/duckdb-server/package.json @@ -3,9 +3,8 @@ "version": "0.12.1", "private": true, "scripts": { - "prepublishOnly": "uv run pytest && uv run ruff check && uv run ruff format --check", - "publish": "uv build && uvx twine upload --skip-existing dist/*", - "release": "npm run prepublishOnly && npm run publish", - "dev": "uv run watchmedo auto-restart --pattern '*.py' --recursive --signal SIGTERM uv run duckdb-server" + "dev": "uv run watchmedo auto-restart --pattern '*.py' --recursive --signal SIGTERM uv run duckdb-server", + "prerelease": "uv run pytest && uv run ruff check && uv run ruff format --check", + "release": "uv build && uvx twine upload --skip-existing ../../dist/mosaic_widget*" } } diff --git a/packages/widget/README.md b/packages/widget/README.md index 40a27060..54eb2fbf 100644 --- a/packages/widget/README.md +++ b/packages/widget/README.md @@ -18,4 +18,4 @@ Run `uv run ruff check --fix` and `uv run ruff format` to lint the code. ## Publishing -Run the build with `uv build`. Then publish with `uvx twine upload --skip-existing dist/*`. We publish using tokens so when asked, set the username to `__token__` and then use your token as the password. Alternatively, create a [`.pypirc` file](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account). +Run the build with `uv build`. Then publish with `uvx twine upload --skip-existing ../../dist/*`. We publish using tokens so when asked, set the username to `__token__` and then use your token as the password. Alternatively, create a [`.pypirc` file](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#create-an-account). diff --git a/packages/widget/package.json b/packages/widget/package.json index e4137e12..e25ddd20 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -14,9 +14,8 @@ "dev": "npm run build -- --watch", "test": "tsc -p jsconfig.json", "lint": "eslint src", - "prepublishOnly": "npm run test && npm run lint && uv run ruff check && uv run ruff format --check && npm run build", - "publish": "uv build && uvx twine upload --skip-existing dist/*", - "release": "npm run prepublishOnly && npm run publish" + "prerelease": "npm run test && npm run lint && uv run ruff check && uv run ruff format --check && npm run build", + "release": "uv build && uvx twine upload --skip-existing ../../dist/mosaic_widget*" }, "dependencies": { "@uwdata/mosaic-core": "^0.12.2",