Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pnpm/pn

This is an experimental wrapper over the pnpm CLI written in Rust
https://github.com/pnpm/pn

fix: introduce ShellQuoted to avoid shell quoting issues (#56)

There was a shell quoting issue here:
https://github.com/pnpm/pn/blob/9c9654ac4e6501386e6f0782f...

3943d6ed28bcff25d71dde2f4c7892c1d6e7abd9 authored about 1 year ago by vemoo <[email protected]>
chore(deps): bump actions/cache from 3.3.1 to 3.3.2 (#55)

d9800a00607ad95f9057f139df938a4d289a40c8 authored about 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(deps): bump actions/checkout from 3 to 4 (#54)

ca22c361957be44aedc63bf49cb2a79b0ba32645 authored about 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(deps): bump actions/checkout from 2 to 3 (#53)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <496993...

9c9654ac4e6501386e6f0782f6ee24d7aa8dad95 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(deps): bump actions/cache from 2.1.5 to 3.3.1 (#52)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to
3.3.1.
<details>
<summa...

70b101ccba28c90344f52c190ab2a82d71f7e6ad authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
ci: fix dependabot (#50)

fixes https://github.com/pnpm/pn/issues/31

f7dd420304ad2288832ddd3c7cff8b62b416b7bf authored over 1 year ago by Khải <[email protected]>
docs: fix a code snippet (#51)

99d93369e849e3679523c5f257ab801e521cc646 authored over 1 year ago by Khải <[email protected]>
ci: configure dependabot

close #31

5a4635489de4f302d03142bfe1b1d68491a49b69 authored over 1 year ago by Zoltan Kochan <[email protected]>
docs: add LICENSE

close #38

8174e6885b6a1381e90835cdcb58b1607e1480e5 authored over 1 year ago by Zoltan Kochan <[email protected]>
feat: pass args to scripts (#49)

Pass any additional arguments passed after script name in command
invocation to the script.

...

0bd5a5c23151f7fe7f84f28be5084b1168456847 authored over 1 year ago by Yakiyo <[email protected]>
feat: run script if exists (#47)

pnpm can run scripts even without the `run` subcommand. As in `pnpm run
test` and `pnpm test` b...

8ed5abaaa90e3dcae783f763cdad3e289dbaca5e authored over 1 year ago by Yakiyo <[email protected]>
fix: replace `PnError::Other` with helpful variants (#46)

Fixes https://github.com/pnpm/pn/issues/16

f3442a0315493856ae22780a4a2feeab55644d3f authored over 1 year ago by Khải <[email protected]>
feat: script name, version and path (#43)

## Changed
This changes the script runner to print the script name, version and
current workin...

139b0f7ca8f283e465102b3ba1619391507cbfe0 authored over 1 year ago by Yakiyo <[email protected]>
refactor: create a testable `list_scripts` (#44)

Testing the `list_scripts` function does not require e2e.

3f72e7c90751e9ab636e3d0a83852b4a96b79cf6 authored over 1 year ago by Khải <[email protected]>
feat: list commands (#36)

List all scripts name when call `pn run` without arguments.

f7228b0c29a8de67954b3d45b24e05f54ec08736 authored over 1 year ago by Khải <[email protected]>
fix: replace `ansi_term` with `yansi` (#37)

`ansi_term` is unmaintained

cce461c492746f5c3b566accd923435db4a72e9d authored over 1 year ago by Khải <[email protected]>
ci: replace `actions-rs/clippy-check` github action with `cargo clippy` command (#35)

Although the GitHub action gives us nice annotations in our code, it can
sometimes fail unexpec...

0cc06d32b01e6e8fc64b1aa178dbb2beaf1abef0 authored over 1 year ago by Khải <[email protected]>
refactor: move tests in main into `tests` module (#34)

5a2ae18150f45fb19d4d752ec47a0e0e50b1cc10 authored over 1 year ago by Khải <[email protected]>
docs: fix another mistake in some code snippets (#33)

I just detected some nonsense in my code snippets after re-reading it.

45d81d7c2ac54419b1ca83909cff7943fdaaa81f authored over 1 year ago by Khải <[email protected]>
docs: add a code style guide to help Rust beginners (#30)

This guide will hopefully reduce the number of code reviews and change
requests in the future, ...

f42432f01fc466c76e2f34234ab3bfeec6594432 authored over 1 year ago by Khải <[email protected]>
Use `pretty_assertions::assert_eq` (#32)

545707f78c324fe6eb69513aafdc96388d31fd47 authored over 1 year ago by Khải <[email protected]>
feat: throw a meaningful error when missing package.json (#25)

### Summary

Closes https://github.com/pnpm/pn/issues/14

---------

Co-authored-by: Cheng...

2a136d2d5f1710d386f3c1cc14fc8bfcc0f68419 authored over 1 year ago by Cheng <[email protected]>
style: fix documentation mistake (#29)

23c92053dd4c77369cfbeeb5cfad5f4aecf2eb1a authored over 1 year ago by Khải <[email protected]>
Merge pull request #28 from pnpm/feat-17-reduce-branch

Reduce branching

31249767ec0decb3081546591f1306fbe28903a9 authored over 1 year ago by Khải <[email protected]>
Merge remote-tracking branch 'origin/main' into feat-17-reduce-branch

0a6b47ad2983b18a2b0ca8fbabec4e1a5e0b550e authored over 1 year ago by khai96_ <[email protected]>
feat: prepend node_modules/.bin to the start of PATH (#26)

* feat: prepend node_modules/.bin to the start of PATH

* chore: cargo clippy

* feat: use j...

a8187472d3dc495b0d6aac24c30e2ecab6ba0550 authored over 1 year ago by Cheng <[email protected]>
Reduce branching

I didn't like how the test of `create_path_env` effectively only test
for one branch of the `if ...

19834fbcfc4c4ae79d36f7b41da391a43438050c authored over 1 year ago by khai96_ <[email protected]>
Propagate JoinPathsError

3054088e8b16015b12efb387d941f1e22992e606 authored over 1 year ago by khai96_ <[email protected]>
Add missing document

09163b29c0ab1de52e67ded2d1e2c934d1f571bb authored over 1 year ago by khai96_ <[email protected]>
Merge pull request #27 from pnpm/feat-17-change-proposal

Stop repeating `Path::new("node_modules").join(".bin")`

fb614c4622c1dbccfa458762b815f92f462bf7b2 authored over 1 year ago by Cheng <[email protected]>
refactor: Shorten some variable names

f83b1b489f1f471e1e81869f2ce68a3392c6929f authored over 1 year ago by khai96_ <[email protected]>
Stop repeating `Path::new("node_modules").join(".bin")`

0aa6086053d1dbce20542d86c4ea4bce2189480f authored over 1 year ago by khai96_ <[email protected]>
refactor: Use a more natural looking name

a23eef75297f45c205f7cf664556bb97db35ff7f authored over 1 year ago by khai96_ <[email protected]>
Reduce unnecessary copy in main code

`prepend_path` was inputted as a reference, but it was immediately cloned
right after with `Path...

4178a4f1db23525e21b9d62db7063de546f17f15 authored over 1 year ago by khai96_ <[email protected]>
refact: get_prepended_path_env input type

a7a98d83541f38ee66cb28877865209c39f5032f authored over 1 year ago by Cheng <[email protected]>
Apply suggestions from code review

Co-authored-by: Khải <[email protected]>

1f9d356fb0c0eb5967d7e19b47b49e76246dcb4b authored over 1 year ago by Cheng <[email protected]>
feat: use join_paths for cross platform compatibility

ee935639e8f99f32c9d07b5a5d8c4657a9d35f86 authored over 1 year ago by Cheng <[email protected]>
chore: cargo clippy

578691bd977c2dc30c113800d5f49158766d2836 authored over 1 year ago by Cheng <[email protected]>
feat: prepend node_modules/.bin to the start of PATH

d36f709b4c35bcf972a83d4975b151f6368890d2 authored over 1 year ago by Cheng <[email protected]>
test: update `build-fs-tree` (#24)

* Update `build-fs-tree`

* refactor: Replace `.path()` with `&`

49b01a4554a3ece80c239817535621c2ad2144fa authored over 1 year ago by Khải <[email protected]>
refactor: Remove star import (#23)

cf7df59a990ceba79697684d578e9e43c2fa3bce authored over 1 year ago by Khải <[email protected]>
feat: --workspace-root (#15)

* feat: --workspace-root

* add test

* refactor: test

* test: add new test

* refactor...

460a15f587affe3551b48091b729d9ee2b47c2e3 authored over 1 year ago by Zoltan Kochan <[email protected]>
style: change code style (#11)

87b0bc9d9bd1bae2a672c3d0149d5fe7c2aadfb6 authored over 1 year ago by Khải <[email protected]>
Add an integration test (#10)

Co-authored-by: khai96_ <[email protected]>

1dbf95da267d80490cba833fd6808a230aa1808d authored over 1 year ago by Zoltan Kochan <[email protected]>
docs(readme): add description

a85b722ebc6993b0f4359a3d174b603b4e193cf3 authored over 3 years ago by Zoltan Kochan <[email protected]>
fix: use same error messages as pnpm

1870335e0c5c219f5fcb5ee7ea85ed692ab96fb1 authored over 3 years ago by Zoltan Kochan <[email protected]>
Non-zero status code should cause errors (#9)

* Move all import statements to one place

* Non-zero status code should cause errors

* Rew...

e8bc8ab8694e3944963c1bc36c97ea5d8769c399 authored over 3 years ago by Khải <[email protected]>
Remove `#[derive(serde::Serialized)]` since it is unused (#6)

129b66e81c102047d558229e4829bc41d169fbf4 authored over 3 years ago by Khải <[email protected]>
Control how error messages are displayed (#5)

* Control how error messages are displayed

* Use the same formatting as pnpm CLI

* Paint e...

9329364d720c8bff830ffb145474ab45c13531ab authored over 3 years ago by Khải <[email protected]>
I recommend merging imports together (you may reject this PR if you disagree) (#4)

* Merge imports

* Fix error

0a1e77dbec679b51d464d838d3a8ed40d9ab1b68 authored over 3 years ago by Khải <[email protected]>
Declare the structure of `package.json` instead of duck-typing (#3)

* Run `cargo fmt`

* Declare the structure of `package.json`

baa8a552851a1ce17c0decb39b525efb76f162f8 authored over 3 years ago by Khải <[email protected]>
style: fix

62771ec15ae9068c6773a297063bb7f585527737 authored over 3 years ago by Zoltan Kochan <[email protected]>
Setup testing CI (#2)

* Create rust-toolchain file to manage compiler versions

Cargo should read the rust-toolchain...

90a829f1ef0a18f68787df6bc620360a3c611d51 authored over 3 years ago by Khải <[email protected]>
refactor: running script

a38995c46c41b59ffbcddc1db38a4fa0d014473a authored over 3 years ago by Zoltan Kochan <[email protected]>
feat: run local command

27e1465396514c7f5a502d38a6002d9c4a23623b authored over 3 years ago by Zoltan Kochan <[email protected]>
docs(readme): add dev instructions

4d359c06a4c25479299915ea8634dda30bca5fb3 authored over 3 years ago by Zoltan Kochan <[email protected]>
Merge pull request #1 from KSXGitHub/improve

Some of my opinions on Rust code style

f42f8d7021c2a211bd1ce8c74fbb8507bd9b0c20 authored over 3 years ago by Zoltan Kochan <[email protected]>
Also inherit stdin and stderr

00ac949a7ca714442a4189d5720c9bd89f06e2eb authored over 3 years ago by khai96_ <[email protected]>
Reduce indentation level with `if let`

7cdbf8bb735ee4a0f9bd4623991e462800d637f0 authored over 3 years ago by khai96_ <[email protected]>
Reduce indentation level with `if let`

cc875781e80ab31f48854282dabf0b0001eaf719 authored over 3 years ago by khai96_ <[email protected]>
Also set stdin and stderr to inherit

0f4352c997a3b86e8df1a6fa4679fbd13aeec791 authored over 3 years ago by khai96_ <[email protected]>
Use eprint/eprintln to log to stderr

803794f012cdec6fda163203f5b581aa701b3487 authored over 3 years ago by khai96_ <[email protected]>
Use OsString to support non-UTF8 path

05f7ebc60e66cf4b7220c97a771e24c8de230dda authored over 3 years ago by khai96_ <[email protected]>
Don't use env! macro, it reads env in build time (from dev machine), not runtime (from user machine)

892233a220ed95a131be1842ab4a6c6e77abd19a authored over 3 years ago by khai96_ <[email protected]>
Run clippy and rustfmt

4dfc3791ae8fe1aec1eccaa85f3651093975c1ea authored over 3 years ago by khai96_ <[email protected]>
Better missing script error

e74d440b6465cdbb276fd82c8c9694c805181b7c authored over 3 years ago by Zoltan Kochan <[email protected]>
Pass through to pnpm on non-run command

4da132b7a2ebd182c20ba327f26c34e5803e050e authored over 3 years ago by Zoltan Kochan <[email protected]>
first commit

bc64f6a8d12f92a8f419362cdf0f7299944eb561 authored over 3 years ago by Zoltan Kochan <[email protected]>