Commit Graph

28 Commits

Author SHA1 Message Date
那里好脏不可以
0453e21823 style(*): typo (#4573)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-04-15 02:53:14 +03: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
8fe8f5e55e feat: --ignore-workspace option 2022-01-04 04:44:00 +02:00
Zoltan Kochan
917b95c01f fix: upgrade typescript to v4.4.4 2021-10-16 23:33:34 +03:00
Zoltan Kochan
06f1275032 feat(exec): no need to use -- (#3492) 2021-06-01 23:38:23 +03:00
Zoltan Kochan
22f8410393 fix: execution of shell commands that have -h/--help option 2021-05-28 02:49:00 +03:00
Zoltan Kochan
209c142358 feat: run arbitrary commands via pnpm CLI (#3478)
ref #3191
2021-05-27 23:56:48 +03:00
cdoucet-cvent
dfdf669e64 feat: add new filter-prod option (#3372)
Add the new filter-prod option that executes the same as the filter option except
it does not include devDependencies when building the package graph.

Co-authored-by: Caleb Doucet <cdoucet>
2021-04-22 18:57:27 +03:00
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan
6c0c4b03b0 test: migrating to Jest
* test(headless): migrate to Jest

ref #2858
PR #3014

* test(graceful-git): migrate to Jest

* test: migration to Jest
2020-12-09 12:20:35 +02: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
1c8a02e996 style: use eslint instead of tslint
PR #2796
close #2300
2020-08-24 02:01:25 +03:00
Zoltan Kochan
be0a3db9ba feat: allow unknown options if they are prefixed with "config."
PR #2755
close #2685
close #2710
2020-08-07 22:31:38 +03:00
Yao Ding
65b4d07ca0 feat: new setting recursive-install
When `recursive-install` is set to `false`, `pnpm install` is installing only the current
project in a workspace.

close #2150
close #2476 
PR #2657
2020-07-08 11:27:14 +03:00
Zoltan Kochan
69fd42440c refactor(parse-cli-args): add opts.fallbackCommand
ref #2668
ref #2169
PR #2669
2020-07-06 18:54:17 +03:00
Zoltan Kochan
09b777f8d1 feat: any unknown command is assumed to be a script
close #2169
PR #2668
2020-07-06 00:23:08 +03:00
Zoltan Kochan
561f389554 feat: "Did you mean <option>?"
Print a "Did you mean" line under the unknown option error
with any option that look similar to the typed one.

close #2603
PR #2623
2020-06-11 01:12:45 +03:00
Zoltan Kochan
2b14b4ac98 refactor: parse cli args 2020-03-08 21:24:51 +02:00
Zoltan Kochan
0568ae9c82 refactor: recursive reporting
BREAKING CHANGE:

* @pnpm/parse-cli-args
* @pnpm/default-reporter
2020-03-08 17:39:35 +02:00
Zoltan Kochan
1ea37ad5e8 fix(CLI): correct error on unknown recursive cmds
close #2397
PR #2407

BREAKING CHANGE: @pnpm/parse-cli-args
2020-03-08 15:58:13 +02:00
Zoltan Kochan
290b4741bb feat: -D is an alias of --dev, -P is an alias of --production
close #2251
PR #2376 

BREAKING CHANGE: @pnpm/parse-cli-args
2020-02-23 20:11:13 +02:00
ExE Boss
31d284337d fix(pnpm): fail on unknown command
PR #2330
close #2325
2020-02-04 15:07:23 +02:00
Zoltan Kochan
e8ac70b648 feat: support autocompletion
PR #2281
close #2229
2020-01-27 21:34:18 +02:00
Zoltan Kochan
9c9a3849d9 refactor: destroying the plugin-commands-recursive package
PR #2237
2019-12-29 18:45:20 +02:00
Zoltan Kochan
a1efd352db fix: --help
Fixing a regression introduced during CLI refactoring.
"pnpm <cmd> --help" should print an error about <cmd>.

PR #2204
2019-12-11 14:23:44 +02:00
Zoltan Kochan
70cad8aac3 fix: args parsing 2019-12-09 19:10:06 +02:00
Zoltan Kochan
9a345edab0 test: merge option types of recursive and subcmd 2019-12-09 18:39:31 +02:00
Zoltan Kochan
07c4720086 refactor: CLI args parsing
BREAKING CHANGE:

@pnpm/config: the workspace dir location should be
passed in

PR #2187
2019-11-29 04:19:17 +02:00