Commit Graph

152 Commits

Author SHA1 Message Date
Zoltan Kochan
a1a03d1457 fix: import only the needed functions from ramda 2021-05-29 01:33:09 +03:00
Zoltan Kochan
3e3c3ff714 fix: preinstall should run after dependencies are installed (#3395) 2021-04-26 19:06:41 +03:00
Xingcan LAN
cbc1a827ca fix(headless): forward extraBinPaths to runLifecycleHookConcurrently (#3320)
This make value of PATH environment alwasy contains node_modules/.bin of
workspace root, despite whether lockfile is up to date or not.

close #2086
2021-04-08 12:09:52 +03:00
Xingcan LAN
735d2ac792 feat: new command: pnpm fetch (#3294)
Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>

close #3207
2021-04-01 21:18:02 +03:00
Zoltan Kochan
a4f0a74570 style: fix 2021-03-21 02:47:06 +02:00
Zoltan Kochan
0d68aa002e style: fix 2021-03-17 17:27:00 +02:00
Zoltan Kochan
f2c8e95e30 fix(deps): update dependency eslint-config-standard-with-typescript to v20
close #3236
2021-03-13 03:33:30 +02:00
Zoltan Kochan
3f4385b7bb fix: verify the name and version of the package in the store (#3224)
* fix: verify the name and version of the package in the store

ref #3202

* fix: autofix broken lockfile

* docs: add changesets
2021-03-08 21:22:33 +02:00
Zoltan Kochan
048c948719 fix: rename .pnp.js to .pnp.cjs (#3148)
ref #2902
2021-02-17 00:37:17 +02:00
Zoltan Kochan
d6d091f249 style: use es2015 imports (#3143) 2021-02-15 05:06:10 +02:00
Zoltan Kochan
3503951d39 perf: don't use graceful-fs and mz/fs (#3129) 2021-02-09 13:44:07 +02:00
Zoltan Kochan
78470a32d3 perf: don't prune the modules directory on each install (#3124)
ref #3115
2021-02-08 02:37:31 +02:00
Zoltan Kochan
1c851f2a6b fix(headless): skip optional dep that cannot be installed (#3091)
close #3090
2021-01-22 11:30:25 +02:00
Zoltan Kochan
d5ef7958ab perf: fix a perf regression shipped in v5.13.7
Fixed a performance regression that was caused by #3032
and shipped in pnpm v5.13.7

The performance of repeat `pnpm install` execution
was in some cases significantly slower.

PR #3061
2021-01-10 14:50:34 +02:00
Zoltan Kochan
f40bc59277 feat: enable-modules-dir=false
PR #3051
2021-01-04 23:37:37 +02:00
Zoltan Kochan
e27dcf0dcc refactor(dependency-path): add depPathToFilename() 2020-12-30 12:12:08 +02:00
Zoltan Kochan
d064b77364 fix(headless): don't create broken symlinks
close #2916
PR #3032
2020-12-19 12:21:45 +02:00
Zoltan Kochan
1309703932 ci: test on Windows
close #3023
2020-12-18 23:32:37 +02:00
Zoltan Kochan
50b360ec1e feat: script-shell
close #2942
PR #2943
2020-10-21 01:16:59 +03:00
Zoltan Kochan
f591fdeeb9 feat: support Plug'n'Play
ref #2902
PR #2908
2020-10-11 13:12:02 +03:00
Zoltan Kochan
fb92e9f887 fix: bins creation of direct deps 2020-10-03 20:30:23 +03:00
Zoltan Kochan
74914c1784 feat: no symlink
This is a continuation of #1874.
Setting `symlink=false` in an `.npmrc` file will allow experimenting
with Plug'n'Play, which for now is only possible by manually
generating the `.pnp.js` file using the `@pnpm/lockfile-to-pnp` package.

This is probably a temporary setting. In the future, there will be
something like `enable-pnp` instead.

PR #2900
2020-09-28 21:46:02 +03:00
Zoltan Kochan
40a9e1f3f9 perf: create module directories before linking start
PR #2875
2020-09-19 00:54:38 +03:00
Zoltan Kochan
86cd72de33 feat(reporter): show the progress of adding pkgs to virtual store
close #2832
PR #2845
2020-09-13 12:12:01 +03:00
Zoltan Kochan
968c26470c fix: report an info log instead of a warning on binary conflicts
Yarn and npm are not printing any info in such cases,
when several dependencies try to create the same binary.
It is better if pnpm will print an info message, not a warning.

close #2823
PR  #2843
2020-09-10 11:46:59 +03:00
Zoltan Kochan
186bcbdd56 style: no unnecessary boolean literal compare 2020-08-26 03:11:26 +03:00
Zoltan Kochan
88e1eaa908 style: use no delimiters in type declarations 2020-08-26 01:42:36 +03:00
Zoltan Kochan
5322cf9b39 style: use nullish coalescing 2020-08-26 01:15:47 +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
400f419765 fix: hoisting in a workspace with no root package
close #2735
PR #2758
2020-08-09 03:22:28 +03:00
Zoltan Kochan
873f08b045 fix: pnpm i --prod --frozen-lockfile with peer deps
close #2711
PR #2717
2020-07-27 19:09:43 +03:00
Zoltan Kochan
76aaead321 fix: run --silent
close #2660
PR #2665
2020-07-05 01:40:42 +03:00
Zoltan Kochan
71a8c8ce38 feat: public-hoist-pattern
close #2628
PR #2631
2020-06-16 00:50:09 +03:00
Zoltan Kochan
cc1b43886f fix(deps): update p-limit to v3.0.1 2020-06-06 19:36:42 +03:00
Zoltan Kochan
9b1b520d99 refactor!: packageId removed from DependenciesGraphNode 2020-05-22 23:09:11 +03:00
Zoltan Kochan
bb59db642e refactor!: peripheralLocation => dir 2020-05-22 22:49:37 +03:00
Zoltan Kochan
802d145fcd feat!: remove independent-leaves=true support
PR #2571
2020-05-22 11:09:05 +03:00
Zoltan Kochan
c25cccdad7 fix: recreation of lockfile 2020-05-20 20:27:41 +03:00
Zoltan Kochan
a5febb9134 feat: add support for side-effects cache in the new content-addressable store
The new content-addressable store should support
side-effects cache.

ref #2470
PR #2562
2020-05-18 10:37:31 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
9fbb74ecb5 feat!: reduce nesting in the virtual store
PR #2546
2020-05-11 21:31:21 +03:00
Zoltan Kochan
3f73eaf0c7 refactor!: rename store to storeDir in .modules.yaml 2020-05-10 00:11:09 +03:00
Zoltan Kochan
e3990787a1 refactor: NodeModules options renamed to Modules 2020-05-09 02:33:54 +00:00
Zoltan Kochan
b6a82072ea feat!: using a content-addressable filesystem
ref #2470

BREAKING CHANGE:

New global store structure
2020-04-26 15:40:03 +03:00
Zoltan Kochan
f70e817fef feat: custom modules directory
close #2471
PR #2474
2020-04-12 23:40:43 +03:00
Zoltan Kochan
0462fbc501 refactor: remove realNodeModulesDir from utils 2020-04-03 02:29:14 +03:00
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
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