Commit Graph

85 Commits

Author SHA1 Message Date
Zoltan Kochan
8103f92bd6 fix: deprecation warnings on Node.js 16 (#5150) 2022-08-03 17:42:00 +03:00
Zoltan Kochan
0e9fa30ac5 fix: running exec/run/dlx with --use-node-version
ref #3595
2022-07-16 17:34:55 +03:00
Zoltan Kochan
5f643f23b0 fix(deps): update ramda to v0.28 2022-06-28 15:33:17 +03:00
Zoltan Kochan
dddff37099 fix(dlx): do not modify the lockfile in the cwd (#4762)
close #4743
2022-05-19 03:59:09 +03:00
Zoltan Kochan
53f653340e fix(dlx): pnpm dlx should work with git-hosted pkgs (#4717)
close #4714
2022-05-11 13:04:11 +03:00
Kenrick
325ed5cba8 fix(plugin-commands-script-runner): run --stream should prefix with dir name (#4703)
close #4702
2022-05-10 15:28:53 +03:00
Zoltan Kochan
894d0efee6 feat(dlx): print more useful info on bad exe error 2022-05-07 04:54:52 +03:00
Zoltan Kochan
8ef4db94c1 fix(dlx): dlx should work when pkg name is not same as cmd name (#4682)
close #4672
2022-05-06 14:42:23 +03:00
Zoltan Kochan
c5caf83346 fix: dlx should work without a configured global directory (#4612)
* fix: dlx should work without a configured global directory

close #4597

* docs: add changesets
2022-04-24 13:02:32 +03:00
Zoltan Kochan
275c405235 fix(exec): commands of workspace project should be in PATH (#4583)
close #4481
2022-04-16 20:20:29 +03:00
Zoltan Kochan
71e5a4cea8 Merge branch 'main' into v7 2022-02-15 12:01:49 +02:00
Black-Hole
8d3255515b feat(exec): support shell interpreter (#4328)
close #4320
2022-02-13 14:28:01 +02:00
Zoltan Kochan
cd4f9341e9 fix: the dlx and create commands should set npm_config_user_agent (#4317)
close #3985
2022-02-11 00:50:45 +02:00
Brandon Cheng
3e682067de fix: revert backwards compatible handling of -- for run (#4291) 2022-01-31 15:11:14 +02:00
Brandon Cheng
c35ac786b2 feat: run scripts without -- (#4290)
close #3778

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-01-30 22:12:04 +02:00
Zoltan Kochan
9c0f7e69ab fix(exec): look for the executed command in the current dir first 2022-01-23 02:00:56 +02:00
Lev Chelyadinov
5a11c8bac4 feat(dlx): handle version specifiers in command names (#4024)
close #4023
2021-11-21 17:13:08 +00:00
Zoltan Kochan
0027785595 feat: scripts-prepend-node-path (#4020) 2021-11-21 03:53:35 +02:00
Zoltan Kochan
eede95c5c3 fix(exec): pnpm exec should return the correct exit code (#3996)
close #3994
2021-11-16 03:34:18 +02:00
zoomdong
435626ad39 fix: recursive cmd add reverse option (#3984)
close #3972
2021-11-14 17:05:25 +00:00
Erik Yu
8cde329876 fix: aviod error log cut (#3951)
Co-authored-by: yuhuaheng <yuhuaheng@bytedance.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-11-07 13:00:28 +02:00
Zoltan Kochan
7d7f6417f8 fix(dlx): should work with scoped packages (#3943)
close #3916
2021-11-04 00:39:59 +02:00
Zoltan Kochan
0e17caf1dc fix(run): don't run pre/post script on recursive run (#3940)
close #3903
2021-11-02 02:31:37 +02:00
Zoltan Kochan
917b95c01f fix: upgrade typescript to v4.4.4 2021-10-16 23:33:34 +03:00
Zoltan Kochan
1efaaf706b feat: dlx should support the --silent option (#3839)
ref #3687
2021-10-10 02:21:42 +03:00
Lev Chelyadinov
c83488d01f feat: add the pnpm create command (#3829) 2021-10-10 01:57:28 +03:00
Zoltan Kochan
091ff5f127 fix: add link to the docs for dlx, exec, root, bin (#3838) 2021-10-09 00:04:19 +03:00
Kaito Udagawa
6681fdcbcb feat(config): support custom global bin dir (#3762)
New setting supported: `global-bin-dir`
2021-09-11 22:15:41 +03:00
Tautvydas Duda
7f097f26f2 feat: allow installing mutiple packages using dlx command (#3710)
Allow use of mutiple --package parameters with pnpm dlx command

Co-authored-by: Zoltan Kochan <z@kochan.io>
2021-08-28 23:37:07 +03:00
Zoltan Kochan
b17096a36f fix(dlx): don't fail when executed in a dir with no write access (#3668) 2021-08-13 13:52:10 +03:00
Zoltan Kochan
376c304859 feat: dlx (#3652) 2021-08-10 23:31:49 +03:00
Joël Galeran
bd442ecb53 fix: add "run" to NO_SCRIPT error example (#3660)
close #3656
2021-08-10 17:41:38 +03:00
Zoltan Kochan
9476d5ac5b fix(exec): pnpm exec should work outside of Node.js projects (#3597) 2021-07-14 02:26:51 +03:00
Zoltan Kochan
4add11a96d fix(exec): run in the right directory (#3514) 2021-06-08 23:42:03 +03:00
Zoltan Kochan
06f1275032 feat(exec): no need to use -- (#3492) 2021-06-01 23:38:23 +03:00
Zoltan Kochan
a1a03d1457 fix: import only the needed functions from ramda 2021-05-29 01:33:09 +03:00
Zoltan Kochan
a77a2005e5 fix(exec): exit with the right exit code 2021-05-28 03:17:53 +03:00
Zoltan Kochan
3cabbd4d4a fix(exec): update help 2021-05-28 01:09:46 +03:00
Zoltan Kochan
209c142358 feat: run arbitrary commands via pnpm CLI (#3478)
ref #3191
2021-05-27 23:56:48 +03:00
Zoltan Kochan
c1f137412c fix: pnpm exec should use the right Node.js version (#3477) 2021-05-27 02:00:26 +03:00
Zoltan Kochan
ff9714d783 fix: don't list commands twice in workspace root (#3423) 2021-05-07 11:46:03 +03:00
Zoltan Kochan
ba5231ccf2 feat: enable-pre-post-scripts (#3348) 2021-04-14 11:53:22 +03:00
Zoltan Kochan
34338d2d05 feat!: don't execute pre/post scripts automatically (#3285)
close #2891
2021-03-27 14:58:38 +02:00
Zoltan Kochan
903314f4d6 style: fix 2021-03-17 23:27:28 +02:00
Zoltan Kochan
f2c8e95e30 fix(deps): update dependency eslint-config-standard-with-typescript to v20
close #3236
2021-03-13 03:33:30 +02:00
Zoltan Kochan
048c948719 fix: rename .pnp.js to .pnp.cjs (#3148)
ref #2902
2021-02-17 00:37:17 +02:00
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Jonathan Morley
326822f77e feat: add --reverse flag (#3119)
close #2985
2021-02-04 23:28:31 +02:00
Zoltan Kochan
9427ab3925 fix: --no-bail
close #3036
PR #3040
2020-12-23 00:05:23 +02:00
Zoltan Kochan
50b360ec1e feat: script-shell
close #2942
PR #2943
2020-10-21 01:16:59 +03:00