Commit Graph

394 Commits

Author SHA1 Message Date
Zoltan Kochan
68e444ea29 chore(release): 4.3.0-0 2019-11-14 18:36:18 +02:00
Zoltan Kochan
313349f1fb chore(deps): update @types/ramda 2019-11-14 17:32:15 +02:00
Zoltan Kochan
e2876d310d chore(headless): refactor scripts 2019-11-11 02:22:19 +02:00
Zoltan Kochan
c939ef58a5 chore(release): 4.2.0 2019-11-11 00:52:50 +02:00
Zoltan Kochan
a613580ecd chore: use workspace ranges instead of links
This is a workaround to make pnpm run tests in correct order
2019-11-09 22:46:31 +02:00
Zoltan Kochan
c664dc6b7b chore(release): 4.2.0-0 2019-11-09 02:24:44 +02:00
Zoltan Kochan
8fc6fc4ad7 refactor: rename prefix options to dir options
BREAKING CHANGE:

- @pnpm/build-modules
- @pnpm/filter-lockfile
- @pnpm/headless
- @pnpm/lifecycle
- @pnpm/modules-cleaner
- @pnpm/package-is-installable
- @pnpm/read-importers-context
- @pnpm/resolve-dependencies
- supi
2019-11-03 17:08:57 +02:00
Zoltan Kochan
ace67aa4bf refactor: remove prefix from store-controller-types 2019-11-03 14:05:51 +02:00
Zoltan Kochan
dc1871dac8 refactor: use new TypeScript 3.7 syntax 2019-11-02 11:59:50 +02:00
Zoltan Kochan
8cff292476 refactor: directory=>dir
BREAKING CHANGE:
- @pnpm/store-controller-types
2019-11-01 21:48:14 +02:00
Zoltan Kochan
23e0e0a50f chore(release): @pnpm/lifecycle@7.0.3 2019-10-30 22:37:00 +02:00
Zoltan Kochan
4fde7a858f test: use custom ports for the registry mocks
ref #2119
PR #2123
2019-10-28 11:29:36 +02:00
Zoltan Kochan
4fc917ebbb feat: rename lockfile-directory to lockfile-dir
ref #2088
PR #2120
2019-10-27 16:18:00 +02:00
Zoltan Kochan
76c737d70b feat: rename store config to store-dir
BREAKING CHANGE:
- @pnpm/config
- @pnpm/default-reporter
- @pnpm/default-resolver
- @pnpm/headless
- @pnpm/npm-resolver
- @pnpm/package-requester
- @pnpm/package-store
- supi

PR #2118
ref #2088
2019-10-27 13:18:24 +02:00
Zoltan Kochan
0323773b85 test: cache the verdaccio storage to make CI builds more stable
close #2100
PR #2116
2019-10-27 00:04:18 +03:00
Zoltan Kochan
c611a9dd81 chore(deps): update dependency @types/rimraf to v2.0.3 2019-10-26 01:39:59 +03:00
Zoltan Kochan
b839dd6312 chore(release): 4.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
2925b138bd chore(release): 4.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
61574e5f5e fix(deps): update @pnpm/store-path
ref #2072
2019-10-20 02:42:38 +03:00
Zoltan Kochan
428bdceb6e chore(release): 4.1.0 2019-10-19 17:38:04 +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
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
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
Zoltan Kochan
3d8a82c12d fix(deps): update deps 2019-10-11 02:05:43 +03:00
Zoltan Kochan
d9c6657fba chore(release): 4.0.1 2019-10-10 00:42:26 +03:00
Zoltan Kochan
0f939e54ed chore(release): 4.0.0-7 2019-10-06 17:02:54 +03:00
Zoltan Kochan
0aaf39eef9 fix(deps): update 2019-10-06 15:40:07 +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
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
59759f7c6f feat: new matching pattern
BREAKING CHANGE:

new wildcard matcher used

close #2048
PR #2052
2019-10-05 20:54:07 +03:00
Zoltan Kochan
889f71481e feat: drop Node.js 8 support
BREAKING CHANGE:

at least Node.js 10 is  required for pnpm to run

PR #2044
2019-10-05 20:47:04 +03:00
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