Commit Graph

10701 Commits

Author SHA1 Message Date
Renovate Bot
f2a252ddcb fix(deps): update dependency execa to v3
close #2094
2019-10-18 22:22:43 +03:00
Renovate Bot
6b8005f206 fix(deps): update dependency camelcase-keys to v6.1.0
close #2095
2019-10-18 22:21:01 +03:00
Zoltan Kochan
28d4812453 test(supi): speed up tests execution
Don't unpack all files when installing deps in tests

PR #2092
2019-10-18 22:18:00 +03:00
Ben Chauvette
7959acd97b feat(pnpm): don't fail 'recursive run' if no selected packages have script
This changes the behavior of of `pnpm recursive run ...` so that it no
longer throws an error when run against a subset of packages and none of
the selected packages have the provided script.

Previously, running a command like `pnpm m run --filter foo build` would
throw an error if the `foo` package did not have a `build` script, even
if other workspace packages have a `build` script.

With this change, running `pnpm recursive run --filter foo build` will
not throw an error.

Note that if the provided package selectors match all packages (e.g.
`'*'`), then `pnpm recursive run` will fail if none of the packages have
the script. This is because the behavior depends on whether we're
running against a subset of packages or not, _not_ whether any package
selectors were provided.

PR #2090
close #1763
2019-10-16 19:17:41 +03:00
ExE Boss
c72e8c536d feat(find‑packages): add return type
PR #2089
2019-10-16 14:43:05 +03:00
ExE Boss
b7e57518f1 refactor(typings): sort third‑party type definitions
PR #2084
2019-10-15 01:25:02 +03:00
ExE Boss
7fcd00f8d5 refactor(typings): rename tape‑promise.d.ts to typed.d.ts
PR #2083
2019-10-15 00:52:50 +03:00
Zoltan Kochan
c36abf8535 fix(lifecycle): use same pkg id convention as npm
close #2005
2019-10-14 22:40:57 +03:00
Zoltan Kochan
7e0563e3b4 refactor: use optional chaining 2019-10-14 21:44:54 +03:00
Zoltan Kochan
900d0aa693 chore(release): publish deps 2019-10-14 02:30:39 +03:00
Zoltan Kochan
89120197e0 fix(deps): @types/ramda is a dev dep 2019-10-14 02:07:27 +03:00
Renovate Bot
429ded0162 chore(deps): update dependency husky to v3.0.9
close #2081
2019-10-14 01:55:16 +03:00
Zoltan Kochan
d29352ba02 fix: don't fail on missing commands of hoisted dependencies
Some packages generate their commands with lifecycle hooks.
At the hoisting stage, such commands are not generated yet.
For now, we don't hoist such generated commands.

This is a rare edge case that rarely or never will cause issues.
The only scenario in which this will cause issues:

* an unlisted dependency's command is used.
* the unlisted dependency's command is created by a script

close #2071
PR #2080
2019-10-14 01:50:13 +03:00
Renovate Bot
8e03fd192a fix(deps): update dependency p-queue to v6.2.0
close #2079
2019-10-13 01:00:15 +03:00
Zoltan Kochan
e7d421d7e2 feat: the color config can be auto, always, or never
PR #2069
close #2062
2019-10-12 12:07:37 +03:00
Tim Giles Jr
16b12cc3ef docs: fix typo in monorepo section
PR #2077
2019-10-12 11:41:39 +03:00
Zoltan Kochan
01e5d52b04 fix: help about --hoist-pattern <pattern> 2019-10-12 02:43:48 +03:00
Zoltan Kochan
3d8a82c12d fix(deps): update deps 2019-10-11 02:05:43 +03:00
Zoltan Kochan
d9c6657fba chore(release): 4.0.1 v4.0.1 2019-10-10 00:42:26 +03:00
Zoltan Kochan
05b4274c0f style: sort keys in main.ts 2019-10-09 23:54:03 +03:00
Zoltan Kochan
105de72691 fix: don't fail on --color
ref #2069
2019-10-09 23:49:02 +03:00
Zoltan Kochan
07febf1102 fix(prune): prune should not fail on --prod flag
close #2067
2019-10-09 23:31:54 +03:00
ExE Boss
8b89fc115b fix(pnpm): add missing command options
close #2061
PR #2064
2019-10-09 21:17:46 +03:00
Zoltan Kochan
4eb8484b03 fix(update): update to latest scoped packages 2019-10-09 03:04:55 +03:00
Zoltan Kochan
0017d8c4ba fix(help): filtering options should be in all supported commands 2019-10-08 23:17:20 +03:00
Zoltan Kochan
49a4977be5 fix(reporting): -s/--silent options should work
close #2058
2019-10-08 22:53:55 +03:00
Yao Ding
d7dbadbad5 fix: show emptry string instead of undefined when package.json has no name
close #2005
PR #2059

Co-Authored-By: Zoltan Kochan <zkochan@users.noreply.github.com>
2019-10-08 21:35:24 +03:00
Zoltan Kochan
fd50f01ef0 chore(release): 4.0.0 v4.0.0 2019-10-07 21:09:59 +03:00
Zoltan Kochan
600ceffe8a fix(cli): filtering via --filter=<selector> 2019-10-07 21:04:50 +03:00
Zoltan Kochan
154699c5d1 chore(release): 4.0.0-8 v4.0.0-8 2019-10-07 03:12:22 +03:00
Zoltan Kochan
6f5e408863 style: sort keys in main.ts 2019-10-07 03:04:07 +03:00
Zoltan Kochan
b7297c6a78 fix: the value hoist-pattern config 2019-10-07 02:39:21 +03:00
Zoltan Kochan
f1939fd53d fix: shamefully-hoist error messages 2019-10-07 01:42:41 +03:00
Zoltan Kochan
977b8ff9ca fix: allow using the --shamefully-flatten flag
For backward compatibility, allow --shamefully-flatten
2019-10-07 01:34:27 +03:00
Zoltan Kochan
f18c2ce9ce fix: filtering by directory
Only the real subdirectories should be matched.
2019-10-07 01:13:02 +03:00
Zoltan Kochan
8886ce5b5b fix: validate options passed to "install" and "add" separatly 2019-10-06 22:33:46 +03:00
Zoltan Kochan
16b1a5e8ff fix(CLI): wrap words in the dependents column of "pnpm outdated -r" 2019-10-06 22:06:34 +03:00
Zoltan Kochan
15694be1b4 refactor: rename uninstall to remove 2019-10-06 20:13:09 +03:00
Zoltan Kochan
0f939e54ed chore(release): 4.0.0-7 v4.0.0-7 2019-10-06 17:02:54 +03:00
Zoltan Kochan
7ca80eb58b fix: reporting stats when running "pnpm install-test" 2019-10-06 15:44:43 +03:00
Zoltan Kochan
0aaf39eef9 fix(deps): update 2019-10-06 15:40:07 +03:00
Zoltan Kochan
350d8be56f fix(deps): use @pnpm/types v4 in core-loggers and one other pkg 2019-10-06 15:18:14 +03:00
Zoltan Kochan
42ed72187c chore(release): types, read-package-json and 2 more packages
@pnpm/types v4.0.0
@pnpm/read-package-json v3.0.0
@pnpm/write-importer-manifest v4.0.0
@pnpm/read-importer-manifest v2.0.0
2019-10-06 15:11:30 +03:00
Zoltan Kochan
cc85a7f3f1 refactor: remove PnpmOptions from @pnpm/types 2019-10-06 14:45:16 +03:00
Zoltan Kochan
790ebc885c refactor: remove getSaveType from @pnpm/utils 2019-10-06 14:34:32 +03:00
Renovate Bot
8ac1e7c434 fix(deps): update dependency fast-glob to v3.1.0
close #2055
2019-10-06 13:47:10 +03:00
Zoltan Kochan
37aefc97b1 feat: update logger to v3 2019-10-06 13:24:38 +03:00
Zoltan Kochan
05c22a0413 refactor: packageJson=>manifest 2019-10-06 01:03:17 +03:00
Zoltan Kochan
4a70c0fe01 docs(readme): update features section 2019-10-05 21:45:10 +03:00
Zoltan Kochan
0f287eb756 chore: remove redundant pattern from pnpm-workspace.yaml
...and require at least pnpm v4
2019-10-05 21:41:37 +03:00