Commit Graph

358 Commits

Author SHA1 Message Date
Zoltan Kochan
fc0fe15938 refactor: rawNpmConfig=>rawConfig 2019-10-04 01:29:26 +03:00
Zoltan Kochan
e3df40fe49 chore(release): 4.0.0-4 2019-09-29 01:48:55 +03:00
Zoltan Kochan
202f0eee8b feat: only local configs or flags can cause a fatal error
As of pnpm v3, pnpm fails if the configs that were used when creating node_modules differ from the present ones. For instance, if independent-leaves is set to false globally but installation was done using pnpm install --independent-leaves. Running pnpm add foo will fail. Only pnpm add foo --independent-leaves will work

These changes are making this less strict. If node_modues was created using some configs, installation will only fail if the present configs are set locally (or via CLI flags) and they have incompatible values.

So if pnpm install --independent-leaves was used, then pnpm add foo will work. But pnpm add foo --no-independent-leaves will fail.

PR #2034
2019-09-28 22:14:52 +03:00
Zoltan Kochan
d3a9759c99 chore(deps): update sinon and ts-node 2019-09-26 23:44:37 +03:00
Zoltan Kochan
d95d7afb03 chore(release): 4.0.0-3 2019-09-21 23:26:18 +03:00
Zoltan Kochan
04b3312051 chore(release): 4.0.0-2 2019-09-18 22:25:32 +03:00
Zoltan Kochan
abced735de ci: test on Node.js 12 2019-09-15 02:27:43 +03:00
Zoltan Kochan
b456a26f01 refactor: rename fields in fetch response
BREAKING CHANGE: @pnpm/package-requester

PR #2011
2019-09-15 01:04:05 +03:00
Zoltan Kochan
d36103b5ee fix: unhadled promise rejections
PR #2009
2019-09-14 16:03:43 +03:00
Zoltan Kochan
30b4629808 chore(release): 4.0.0-1 2019-09-12 02:40:03 +03:00
Zoltan Kochan
6eeaa5a43a feat: --shamefully-hoist
This returns shamefully-flatten to pnpm (as known in v3)
but it is now called shamefully-hoist

PR #2006
2019-09-12 00:45:58 +03:00
Zoltan Kochan
e6cb6b5fbc chore(release): 4.0.0-0 2019-09-10 02:35:45 +03:00
Zoltan Kochan
febfb746fe feat: bump node_modules layout version to 3
PR #2003

BREAKING CHANGE: new node_modules layout
2019-09-09 14:21:45 +03:00
Zoltan Kochan
3a9fdd856b feat: --hoist-pattern <pattern>
New config added that allows hoisting packages by pattern.
This substitutes the shamefully-flatten config that hoist all
dependencies and makes them available for application code.
The new config gives access to the hoisted packages only  to
dependencies inside node_modules.

close #1998
close #1938
PR #1997
2019-09-08 20:54:19 +03:00
Zoltan Kochan
8badde8a88 chore(deps): update 2019-09-04 22:55:10 +03:00
Zoltan Kochan
19fe6477ff chore(release): 3.8.0 2019-08-30 21:44:13 +03:00
Zoltan Kochan
29ce73cf19 chore(deps): update 2019-08-26 16:20:24 +03:00
Zoltan Kochan
d79bd5a1fa fix: partial install in monorepo with --independent-leaves
PR #1971
close #1969
2019-08-21 02:26:03 +03:00
Zoltan Kochan
633a7a01a9 chore(release): 3.7.4 2019-08-20 03:18:13 +03:00
Zoltan Kochan
95538cce22 fix: headless install of optional subdeps with independent-leaves 2019-08-19 23:12:24 +03:00
Renovate Bot
b70f8b73dc fix(deps): update dependency p-limit to v2.2.1 2019-08-19 01:07:44 +03:00
Renovate Bot
2043187f14 chore(deps): update dependency fs-extra to v8 2019-08-18 12:31:23 +03:00
Zoltan Kochan
47f718d70f fix(deps): use @zkochan/rimraf instead of rimraf-then 2019-08-18 02:40:20 +03:00
Zoltan Kochan
06af297f9d chore(release): 3.7.1 2019-08-17 21:15:36 +03:00
Zoltan Kochan
2e189f54ef fix(headless): should work with --no-optional
"pnpm install --no-optional" should not fail on a project that
has an up-to-date lockfile.

close #1958
PR #1959
2019-08-16 10:36:27 +03:00
Zoltan Kochan
856653ea2f fix(deps): update @types/ramda 2019-08-16 00:13:11 +03:00
Zoltan Kochan
8303c1298f chore(deps): update rimraf to v3 2019-08-15 22:27:57 +03:00
Zoltan Kochan
57d4c5d6f6 chore: use the workspace protocol 2019-08-14 02:53:36 +03:00
Zoltan Kochan
f16ba8796e chore(release): 3.7.0-4 2019-08-14 02:01:07 +03:00
Zoltan Kochan
1881446a4f fix(deps): update 2019-08-09 00:15:03 +03:00
Zoltan Kochan
e2b5cbb37e chore(release): 3.6.2 2019-07-30 21:18:04 +03:00
Zoltan Kochan
6eabef10f4 fix: flat node_modules inside a workspace
Flat node_modules is only allowed in the workspace root.

shamefully-flatten should only hoists dependencies of the
root workspace package.

close #1928
PR #1931

BREAKING CHANGE: @pnpm/shamefully-flatten
2019-07-30 00:36:18 +03:00
Zoltan Kochan
0e4a0948f0 refactor: create and use @pnpm/error 2019-07-27 17:39:27 +03:00
Zoltan Kochan
e3dbd9a1ef chore(release): 3.6.1 2019-07-26 19:58:27 +03:00
Zoltan Kochan
83fee2a2c3 chore(release): 3.6.0-0 2019-07-16 03:16:49 +03:00
Zoltan Kochan
34a51b8939 fix: use the right cwd when building deps of global packages
close #1907
PR #1916
2019-07-14 23:24:02 +03:00
Zoltan Kochan
3264610229 fix: symlinking updated deps of subdeps
PR #1911
2019-07-12 22:12:01 +03:00
Zoltan Kochan
b98fac2037 chore(release): 3.5.6 2019-07-12 10:45:07 +03:00
Zoltan Kochan
262468f7bc chore(release): 3.5.5 2019-07-12 03:44:36 +03:00
Zoltan Kochan
9360bc0567 fix: prunning by partial installation in a workspace
When running install on a subset of workspace packages, only
those dependencies may be prunned which were only used by the
selected subset of workspace packages.

BREAKING CHANGE: in @pnpm/modules-cleaner

PR #1908
2019-07-12 02:01:16 +02:00
Renovate Bot
fdaa308f71 chore(deps): update dependency tape to v4.11.0 2019-07-06 21:12:16 +02:00
Zoltan Kochan
b8a75b2be6 refactor: use more destructuring 2019-06-23 21:38:10 +03:00
Zoltan Kochan
c52e2fac28 refactor(headless): using depNodes instead of depGraph 2019-06-23 19:48:53 +03:00
Zoltan Kochan
f826a4a0aa refactor: remove redundant tsconfig.json file 2019-06-23 12:38:17 +03:00
Zoltan Kochan
a13d649c78 chore(release): 3.5.3 2019-06-23 02:04:06 +03:00
Zoltan Kochan
bf57b26b5c chore(release): 3.5.1 2019-06-16 21:10:04 +03:00
Zoltan Kochan
4246d130a2 chore(deps): install ts-node, tslint, typescript as root deps 2019-06-12 02:50:44 +03:00
Zoltan Kochan
bdd06696be chore(release): 3.5.0-3 2019-06-12 02:25:03 +03:00
Zoltan Kochan
e7b034eb7a refactor: extraBinPaths is optional
ref #1870
2019-06-12 02:07:55 +03:00
Zoltan Kochan
6a26c5b21f feat: prepend workspace bins to PATH for lifecycle scripts
PR #1870
close #1355
2019-06-12 01:32:24 +03:00