Zoltan Kochan
cdeb652035
feat: the global store location should be inside the pnpm home directory ( #4522 )
2022-04-02 23:34:46 +03: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
Zoltan Kochan
19de90ecdf
test: move all test utils to /test/utils/
2022-01-08 22:31:28 +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
eede95c5c3
fix(exec): pnpm exec should return the correct exit code ( #3996 )
...
close #3994
2021-11-16 03:34:18 +02:00
Zoltan Kochan
351c893c6d
test(plugin-commands-script-runners): fix
2021-11-14 19:11:00 +02:00
zoomdong
435626ad39
fix: recursive cmd add reverse option ( #3984 )
...
close #3972
2021-11-14 17:05:25 +00: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
Lev Chelyadinov
c83488d01f
feat: add the pnpm create command ( #3829 )
2021-10-10 01:57:28 +03:00
Zoltan Kochan
04b7f60861
fix: prevent binary planting attacks on Windows
2021-09-16 12:10:46 +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
376c304859
feat: dlx ( #3652 )
2021-08-10 23:31:49 +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
691f647137
feat: save the metadata separately from the CAFS ( #3578 )
...
ref #2574
2021-07-04 19:35:53 +03:00
Zoltan Kochan
4add11a96d
fix(exec): run in the right directory ( #3514 )
2021-06-08 23:42:03 +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
91eabf8df4
feat: use .cjs extension for the CLI bundle file ( #3305 )
2021-04-03 15:44:31 +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
09e950fdc5
feat: rename pnpmfile.js to .pnpmfile.cjs ( #3149 )
...
close #3145
close #1339
2021-02-21 03:57:10 +02:00
Zoltan Kochan
d6d091f249
style: use es2015 imports ( #3143 )
2021-02-15 05:06:10 +02:00
Zoltan Kochan
3503951d39
perf: don't use graceful-fs and mz/fs ( #3129 )
2021-02-09 13:44:07 +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
Idan Attias
a8656b42fa
feat: allow ignoring dependent packages in case a irrelevant file was changed
...
close #3021
PR #3035
2020-12-22 14:59:10 +02:00
Zoltan Kochan
efd81fb105
test(script-runners): fix on Windows
2020-12-17 03:42:04 +02:00
Zoltan Kochan
7b9a7f63c5
refactor: test utils
2020-12-11 02:06:44 +02:00
Zoltan Kochan
a490288dcb
test(plugins): migrate to Jest
...
PR #3011
ref #2858
2020-12-08 03:20:57 +02:00
Zoltan Kochan
50b360ec1e
feat: script-shell
...
close #2942
PR #2943
2020-10-21 01:16:59 +03:00
Zoltan Kochan
f591fdeeb9
feat: support Plug'n'Play
...
ref #2902
PR #2908
2020-10-11 13:12:02 +03:00
Zoltan Kochan
092f8dd83a
feat: --workspace-root
...
`--workspace-root`, `-w`: a new option that allows to focus on
the root workspace project.
E.g., the following command runs the `lint` script of the root
`package.json` from anywhere in the monorepo:
```
pnpm -w lint
```
PR #2866
2020-09-17 11:07:05 +03:00
Zoltan Kochan
d11442a578
feat(run): print info about root workspace scripts
...
ref #2853
PR #2859
2020-09-15 11:24:06 +03:00
Zoltan Kochan
de61940a57
fix: pnpm test|start|stop should allow the same options as pnpm run test|start|stop
...
PR #2814
2020-09-01 15:44:39 +03:00
Zoltan Kochan
88e1eaa908
style: use no delimiters in type declarations
2020-08-26 01:42:36 +03:00
Zoltan Kochan
1c8a02e996
style: use eslint instead of tslint
...
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
220896511a
refactor: remove common-tags from dependencies
2020-06-21 16:39:49 +03:00
Zoltan Kochan
8094b2a628
fix(run): infinite recursion
...
A recursive run should not rerun the same package script which started the lifecycle event.
For instance, let's say one of the workspace projects has the following script:
```json
"scripts": {
"build": "pnpm run -r build"
}
```
Running `pnpm run build` in this project should not start an infinite recursion.
`pnpm run -r build` in this case should run `build` in all the workspace projects except the one that started the build.
Related issue: #2528
2020-05-30 22:02:27 +03:00
Zoltan Kochan
c75a921e36
style: no trailing commas in functions
2020-05-12 19:00:16 +03:00
Jonathan Morley
7300eba86e
feat: have if-present apply to recursive runs
...
PR #2520
2020-05-01 23:39:41 +03:00
Zoltan Kochan
6afba68819
fix(exec): exec should fail with better error
...
"pnpm exec" currently works only when executed recursively,
so it should fail with a meaningful error if "-r" is not
present.
close #2461
2020-04-12 12:35:22 +03:00
Zoltan Kochan
40e153e107
fix: pnpm run --filter <project>
...
`pnpm run --filter <project>` should list available scripts of the project
`pnpm run --filter <projects>` should fail
close #2357
PR #2422
2020-03-15 13:48:57 +02:00
Zoltan Kochan
715610d2c8
refactor: command plugins API
2020-03-09 00:19:08 +02:00
Yao Ding
16356d80cb
feat: print info if some of the filters don't match any projects
...
PR #2337
close #2320
2020-02-12 21:56:48 +05:30
Zoltan Kochan
e8ac70b648
feat: support autocompletion
...
PR #2281
close #2229
2020-01-27 21:34:18 +02:00
Zoltan Kochan
bb5d41f337
style: add missing trailing commas and fix the linting rule
2020-01-01 19:18:25 +02:00
Zoltan Kochan
f8b927391e
refactor: rename importers & workspace pkgs to projects
...
WsPkg=>Project
WorkspacePackage=>Project
mporterManifest=>ProjectManifest
importers=>projects
importerDir=>projectDir
LockfileImporter=>ProjectSnapshot
PR #2242
2020-01-01 18:57:14 +02:00