Commit Graph

66 Commits

Author SHA1 Message Date
Zoltan Kochan
917b95c01f fix: upgrade typescript to v4.4.4 2021-10-16 23:33:34 +03:00
Zoltan Kochan
cd980742c7 fix: use the right node exec path when pnpm is an exe (#3870) 2021-10-14 15:12:07 +03:00
Zoltan Kochan
553a5d840d feat: pin Node.js to global package (#3780) 2021-09-22 01:32:33 +03:00
Zoltan Kochan
eb1aed46d0 test(plugin-commands-installation): fix 2021-08-28 21:01:08 +03:00
zoomdong
f815dabd99 feat: pnpm import support yarn (#3655) 2021-08-19 20:52:47 +03:00
Zoltan Kochan
8678e25533 fix(link): throw an error if "pnpm link" has no options and params (#3590)
ref #3532
2021-07-09 12:26:29 +03:00
Zoltan Kochan
691f647137 feat: save the metadata separately from the CAFS (#3578)
ref #2574
2021-07-04 19:35:53 +03:00
javier-garcia-meteologica
5565dd5f42 fix: use a more detailed cyclic depedencies warning (#3569) (#3573) 2021-07-01 22:58:55 +03:00
javier-garcia-meteologica
1442f8786d feat: warn about cyclic dependencies (#2162) (#3537) 2021-06-22 00:53:54 +03:00
Zoltan Kochan
5950459d7f fix(update): read the production/dev/optional options from the CLI input only (#3544) 2021-06-19 23:25:45 +03:00
amit
9d2ff0309b fix: pnpm doesn't respect save-prefix (#3420)
When save-prefix in .npmrc is set to an empty string,
 pnpm does not honor it and sets the package version with the default ^ as a prefix.

Close #3414

Co-authored-by: amit <amit@enso.security>
2021-05-06 14:50:28 +03:00
Zoltan Kochan
f3d92d8b54 test: fix 2021-04-11 12:10:56 +03:00
Zoltan Kochan
ea1a05d05e test(plugin-commands-installation): fix 2021-04-10 02:21:14 +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
aed7124557 fix: cli has no write access to the selected global dir (#3206)
close #1203
2021-02-28 20:19:42 +02:00
Zoltan Kochan
09e950fdc5 feat: rename pnpmfile.js to .pnpmfile.cjs (#3149)
close #3145
close #1339
2021-02-21 03:57:10 +02:00
Zoltan Kochan
46e71ea4a6 feat: pnpm prune removes the modules cache
ref #3115
2021-02-16 02:46:21 +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
409736b4d9 fix: linking deps by absolute path
close #3025
PR #3055
2021-01-03 01:50:05 +02:00
Zoltan Kochan
0e546dd1f6 test: move link tests 2021-01-03 00:04:04 +02:00
Zoltan Kochan
68a349db2e test: use the shared timeout settings in all tests 2020-12-22 18:11:49 +02:00
Zoltan Kochan
db9478ea5b test: make update tests more stable 2020-12-22 17:30:40 +02:00
Zoltan Kochan
7b9a7f63c5 refactor: test utils 2020-12-11 02:06:44 +02:00
Zoltan Kochan
8698a7060e feat: prefer-workspace-packages
close #2136
PR #2980
2020-11-16 22:25:07 +02:00
Zoltan Kochan
514cf2ee62 test: use Jest to test plugin-commands-installation
ref #2858
PR #2956
2020-10-29 01:34:11 +02:00
Zoltan Kochan
ddd98dd740 fix: broken lockfile in some cases
close #2919
PR #2920
2020-10-11 19:47:59 +03:00
Zoltan Kochan
3feae53425 fix: adding new dependency in a workspace project
close #2798
PR #2805
2020-08-28 11:04:59 +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
6d480dd7a2 feat: print more info on forbid errors
close #2774
PR #2777
2020-08-16 21:24:32 +03:00
Zoltan Kochan
915828b464 fix: finding a suitable global executables directory
ref #2649
PR  #2661
2020-07-02 17:33:40 +03:00
Zoltan Kochan
220896511a refactor: remove common-tags from dependencies 2020-06-21 16:39:49 +03:00
Zoltan Kochan
b8d0c9982d refactor: use lockfile version constant 2020-05-16 18:07:11 +03:00
Zoltan Kochan
c75a921e36 style: no trailing commas in functions 2020-05-12 19:00:16 +03:00
Zoltan Kochan
ab662e604f test: more reliable tests 2020-05-10 00:11:26 +03:00
Zoltan Kochan
ec855d54ee test(installation): use a new store dir for the tests 2020-05-09 23:17:10 +03:00
Zoltan Kochan
f516d266c9 feat: executable are saved into a separate dir
Executables are saved into a separate subdirectory
inside the content-addressable filesystem.

ref #2470
2020-04-27 22:14:12 +03:00
Zoltan Kochan
f93583d52f fix: use fs.mkdir instead of make-dir 2020-04-26 18:25:37 +03:00
Zoltan Kochan
ca965f82b4 fix: up --no-save shouldn't update lockfile specs
PR #2484
2020-04-17 11:21:47 +03:00
Zoltan Kochan
f70e817fef feat: custom modules directory
close #2471
PR #2474
2020-04-12 23:40:43 +03:00
Zoltan Kochan
6eeb35989f fix: allow custom dir for lockfile in a workspace 2020-04-10 19:14:38 +03:00
Zoltan Kochan
28f206a06d feat: rm should fail if dep is not available
PR #2428
ref #2319
2020-03-20 23:17:50 +02:00
Zoltan Kochan
77919e65f7 fix: rm should fail when called without params 2020-03-18 02:44:24 +02:00
Zoltan Kochan
d1ccc43a2d fix: rm -r in workspace with non-shared lockfile
close #2395
PR #2421
2020-03-15 01:23:42 +02:00
Zoltan Kochan
715610d2c8 refactor: command plugins API 2020-03-09 00:19:08 +02:00
Zoltan Kochan
de8776e805 fix: prune --prod
close #2390
PR #2393
2020-03-01 23:45:43 +02:00
Zoltan Kochan
21f23d85f1 fix: update -r <dep> should fail if no dep found
ref #2341
ref #2319
2020-03-01 21:46:37 +02:00
Zoltan Kochan
92bc7823c8 fix: update -r --prod should not update dev deps
PR #2391
close #2366
ref #2341
ref #2319
2020-03-01 19:20:33 +02:00
Zoltan Kochan
c9feb68aae fix: preserve version prefix on update
close #2342
PR #2389
2020-02-29 23:30:24 +02:00