Commit Graph

17 Commits

Author SHA1 Message Date
Zoltan Kochan
91eabf8df4 feat: use .cjs extension for the CLI bundle file (#3305) 2021-04-03 15:44:31 +03: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
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
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
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
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
Zoltan Kochan
9c9a3849d9 refactor: destroying the plugin-commands-recursive package
PR #2237
2019-12-29 18:45:20 +02:00