feat(examples): use npm/PyPI packages by default, local builds in CI#643
Merged
feat(examples): use npm/PyPI packages by default, local builds in CI#643
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/package.jsonwith@everruns/bashkitfrom npm + AI SDK devDependencies so users just runcd examples && npm installbash_basics.pyandk8s_orchestrator.pyso they work withuv runfrom PyPIbashkit-pi/package.jsonto reference npm instead of localfile:pathexamples/package.jsonthen symlink local NAPI buildk8s_orchestrator.pyexampleexamples/README.mdwith simplified install instructionsTest plan
bash_basics.mjs,data_pipeline.mjs,llm_tool.mjs)bash_basics.py,k8s_orchestrator.py)cargo test --all-featurespassescargo fmt --check+cargo clippycleanruff check+ruff format --checkclean--no-index --find-links(Python)