Commit Graph

5075 Commits

Author SHA1 Message Date
Zoltan Kochan
c3516e2006 style: sort keys in pnpm/test/run.ts 2019-10-24 11:50:46 +03:00
Zoltan Kochan
19843c88e0 style: sort keys in pnpm/test/run.ts 2019-10-24 11:08:22 +03:00
Zoltan Kochan
79072e2327 fix(config): remove redundant dependency 2019-10-24 01:41:21 +03:00
Zoltan Kochan
b839dd6312 chore(release): 4.1.6 v4.1.6 2019-10-24 01:28:16 +03:00
Zoltan Kochan
d67575a0f2 refactor(modules-cleaner): lockfileDirectories=>lockfileDir
ref #2088
2019-10-23 23:01:57 +03:00
Zoltan Kochan
d0c30992c7 fix: --resolution-strategy is a known option 2019-10-23 22:30:11 +03:00
Zoltan Kochan
5b97c5f368 fix: always save the store metadata. Even on crash
PR #2106
close #2065
2019-10-23 00:56:50 +03:00
Zoltan Kochan
9069b0c0f2 chore(release): 4.1.5 v4.1.5 2019-10-21 21:19:47 +03:00
Zoltan Kochan
c6619b7f6a fix: don't forward tail args to pre/post scripts
close #2087
PR #2103
2019-10-21 10:33:00 +03:00
ExE Boss
69fa7a1d29 feat(lockfile‑file): add return type to getLockfileImporterId(…)
PR #2102
2019-10-20 23:34:45 +03:00
Zoltan Kochan
edd3e8bc1b chore(release): 4.1.4 v4.1.4 2019-10-20 21:18:52 +03:00
Zoltan Kochan
a46f8dc31a fix: virtual-store-dir of global pkg is not configurable 2019-10-20 20:39:02 +03:00
Zoltan Kochan
2925b138bd chore(release): 4.1.3 v4.1.3 2019-10-20 17:40:51 +03:00
Zoltan Kochan
742a6b71c4 fix: virtual-store-dir with not shared lockfile 2019-10-20 16:52:54 +03:00
Zoltan Kochan
538774bccf chore(release): 4.1.2 v4.1.2 2019-10-20 03:15:05 +03:00
Zoltan Kochan
61574e5f5e fix(deps): update @pnpm/store-path
ref #2072
2019-10-20 02:42:38 +03:00
Zoltan Kochan
841a2bbc88 fix(config): correct virtual-store-dir with non-shared pnpm-lock... 2019-10-19 20:55:54 +03:00
Zoltan Kochan
60668dd2b7 chore(release): 4.1.1 v4.1.1 2019-10-19 19:43:55 +03:00
Zoltan Kochan
181b7371cb fix(config): correctly resolve virtual-store-dir 2019-10-19 18:45:47 +03:00
Zoltan Kochan
428bdceb6e chore(release): 4.1.0 v4.1.0 2019-10-19 17:38:04 +03:00
ExE Boss
c4426b0da9 fix(package‑is‑installable): use WantedEngine and WantedPlatform
PR #2099
2019-10-19 14:37:47 +03:00
Zoltan Kochan
2251259b8c fix(config): settings are merged in correct order
This fixes 2 issues:

1. local registry settings should have a bigger priority than global
2. package settings should have bigger priority than workspace set-
   tings (this was only an issue with rawLocalConfig)

close #2096
PR #2098
2019-10-19 14:06:52 +03:00
Zoltan Kochan
35a702c6e0 feat: configurable virtual store directory
New config setting: virtual-store-dir

Breaking changes in: @pnpm/lockfile-file, @pnpm/constants

close  #2078
PR #2091
2019-10-19 03:18:41 +03:00
Zoltan Kochan
69e17cd8b7 chore(deps): update @types/fs-extra
close #2093
2019-10-18 22:23:59 +03:00
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