Skip to content

feat(examples): use npm/PyPI packages by default, local builds in CI#643

Merged
chaliy merged 1 commit intomainfrom
claude/update-examples-npm-pypi-w2igD
Mar 15, 2026
Merged

feat(examples): use npm/PyPI packages by default, local builds in CI#643
chaliy merged 1 commit intomainfrom
claude/update-examples-npm-pypi-w2igD

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Mar 15, 2026

Summary

  • Add examples/package.json with @everruns/bashkit from npm + AI SDK devDependencies so users just run cd examples && npm install
  • Add PEP 723 inline script metadata to bash_basics.py and k8s_orchestrator.py so they work with uv run from PyPI
  • Update bashkit-pi/package.json to reference npm instead of local file: path
  • Update JS CI to install from examples/package.json then symlink local NAPI build
  • Update Python CI to also run k8s_orchestrator.py example
  • Update examples/README.md with simplified install instructions

Test plan

  • All self-contained JS examples verified against npm v0.1.10 (bash_basics.mjs, data_pipeline.mjs, llm_tool.mjs)
  • All self-contained Python examples verified against PyPI v0.1.10 (bash_basics.py, k8s_orchestrator.py)
  • cargo test --all-features passes
  • cargo fmt --check + cargo clippy clean
  • ruff check + ruff format --check clean
  • CI will validate local-build override via symlink (JS) and --no-index --find-links (Python)

- Add examples/package.json with @everruns/bashkit from npm + AI SDK deps
- Add PEP 723 inline metadata to Python examples (bash_basics.py, k8s_orchestrator.py)
- Update bashkit-pi/package.json to use npm instead of local file ref
- Update JS CI to install from examples/package.json then symlink local build
- Update Python CI to also run k8s_orchestrator.py example
- Update examples/README.md with simplified install instructions
@chaliy chaliy merged commit 4ba693a into main Mar 15, 2026
23 checks passed
@chaliy chaliy deleted the claude/update-examples-npm-pypi-w2igD branch March 15, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant