Replies: 1 comment
|
I checked how much of the proposed workflow pnpm --package="file:$fixture" dlx inline-probe-tool
pnpm --package="file:$fixture" dlx node user.cjsThe first command ran the CLI from the temporary installation. The second failed with Drafted and tested with OpenAI Codex (GPT-6). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Contribution
Describe the user story
brief
python + uv already support inline script metadata
nightly rust + cargo already support inline script metadata
inline script metadata
search keyword
python
https://peps.python.org/pep-0723/#example
https://packaging.python.org/en/latest/specifications/inline-script-metadata/#inline-script-metadata
https://docs.astral.sh/uv/guides/scripts/#declaring-script-dependencies
reproduce
Keeps the CWD clean.
rust
https://goals.rust-lang.org/2026/highlights.html#running-rust-scripts-will-get-more-convenient-with-cargo-script
https://rust-lang.github.io/rfcs/3424-cargo-script.html
https://rust-lang.github.io/rfcs/3424-cargo-script.html#adding-a-dependency
reproduce
Keeps the CWD clean.
Describe the solution you'd like
also support inline script metadata in Node.js + pnpm
Describe the drawbacks of your solution
No response
Describe alternatives you've considered
No response
Related
nodejs/node#68007
https://github.com/orgs/pnpm/discussions/18689
All reactions