Commit Graph

76 Commits

Author SHA1 Message Date
Zoltan Kochan
e2c3ef313e fix: resolving peer deps when there are aliased deps (#6709)
close #6588
2023-06-23 16:11:54 +03:00
Zoltan Kochan
61f22f9efa fix: don't include the version for local directory dependencies (#6695)
There is no need to include the version of a dependency in the lockfile,

if that dependency is installed from a local directory
2023-06-21 20:04:25 +03:00
Xiao Chuan
59aba9e725 fix: peer of subdeps when node-linker is hoisted (#6680) 2023-06-17 13:28:08 +03:00
await-ovo
d9da627cd3 fix: should always treat local file dependency as new dependency (#6623)
close #5381
close #6502
2023-06-08 20:12:18 +03:00
Zoltan Kochan
e6052260c3 fix: error message when package is not found in workspace (#6598)
ref #4477
2023-05-27 19:40:43 +03:00
Zoltan Kochan
a9e0b7cbfd fix: update should not add peer deps to deps 2023-05-26 22:14:10 +03:00
Zoltan Kochan
ce61f8d3c2 test: improvements 2023-05-24 16:56:58 +03:00
Zoltan Kochan
a53ef4d196 fix: don't print that lockfile is up to date when it is not (#6574)
close #6544
2023-05-23 18:41:11 +03:00
Zoltan Kochan
301b8e2da0 feat: excludeLinksFromLockfile (#6570) 2023-05-21 12:23:31 +03:00
Zoltan Kochan
9c4ae87bd1 feat: include some settings as fields in the lockfile (#6557)
ref #6312
2023-05-21 02:40:39 +03:00
Zoltan Kochan
1ffedcb8d7 fix(deploy): always purge modules directory (#6511)
close #6510
2023-05-07 12:51:56 +03:00
Zoltan Kochan
d8c1013a90 fix: don't include external links in lockfile, when they resolve peers (#6507)
ref https://github.com/teambit/bit/pull/7176
2023-05-05 21:11:45 +03:00
Zoltan Kochan
32801442e8 fix: excluding external links from subprojects (#6505) 2023-05-05 13:42:46 +03:00
Zoltan Kochan
42902ef851 feat: the installation API should return installation stats (#6490) 2023-05-02 12:45:29 +03:00
Zoltan Kochan
497b0a79c0 fix: only remove node_modules if the user confirms to do so (#6458) 2023-04-30 11:55:25 +03:00
Zoltan Kochan
3a1a1385d8 fix: linking bins of local deps, when node-linker is hoisted (#6488)
close #6486
2023-04-30 11:50:25 +03:00
Zoltan Kochan
837078f92e fix(headless): don't add links to the lockfile when excludeLinksFromLockfile is enabled (#6427) 2023-04-19 02:34:50 +03:00
Zoltan Kochan
8f7e99477b fix: linking external links when excludeLinksFromLockfile is enabled (#6417) 2023-04-17 18:51:30 +03:00
Zoltan Kochan
72ba638e34 feat: don't add linked in deps to the lockfile when excludeLinksFromLockfile is set to true (#6369) 2023-04-09 17:41:00 +03:00
await-ovo
080fee0b8b fix: add -g to mismatch registries error info when original command has -g option (#6365)
close #6224
2023-04-06 12:22:39 +03:00
Zoltan Kochan
5087636b66 fix: installation of packages with () in scope name (#6349)
close #6348
2023-04-04 00:18:43 +03:00
Daniel-Khodabakhsh
e87754df1f fix: make the FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE error and hint messages more clear (#6304)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-03-29 22:51:33 +03:00
Zoltan Kochan
3f0ea1defa fix: dedupe direct deps after hoisting (#6286) 2023-03-27 05:28:52 +03:00
Zoltan Kochan
0e26acb0fb refactor: dependency-path 2023-03-24 15:25:53 +02:00
Zoltan Kochan
f835994eab fix: direct deduplication with resolution-mode=lowest-direct (#6262)
close #6042
2023-03-24 02:17:22 +02:00
Zoltan Kochan
1d105e7fcd fix!: save the whole tarball URL, when it doesn't use the standard format (#6265) 2023-03-24 01:36:13 +02:00
Zoltan Kochan
2a2032810f fix: don't write pnpm-lock.yaml if it has no changes (#6260)
close #6158
2023-03-23 04:40:42 +02:00
Rex Zeng
cfb6bb3bfe feat: support resolving peers with npm aliases (#6220)
close #4301
Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-03-22 04:39:11 +02:00
Zoltan Kochan
158d8cf22f feat!: only allow lockfile v6 (#6240) 2023-03-19 04:23:51 +02:00
Zoltan Kochan
ee61ca4cb7 style: update eslint (#6236) 2023-03-18 14:57:29 +02:00
Zoltan Kochan
506f3f7b93 Merge branch 'main' into v8 2023-03-17 03:27:23 +02:00
Zoltan Kochan
f9c30c6d78 fix: multiple Jest versions in a single workspace should work (#6138)
close #5176
close #6213
2023-03-15 03:57:12 +00:00
Zoltan Kochan
54591c6867 feat!: dedupe-peer-dependents is true by default (#6185) 2023-03-06 02:44:35 +02:00
Zoltan Kochan
9bdb875397 test: fix 2023-03-05 23:45:39 +02:00
Zoltan Kochan
1f81e70e1a Merge branch 'main' into v8 2023-03-05 15:06:47 +02:00
Zoltan Kochan
670bea8440 fix: update on a subset of projects should work with dedupe-peer-dependents (#6178) 2023-03-05 12:01:52 +02:00
Zoltan Kochan
5c31fa8be6 feat: dedupe packages that have peers when dedupe-peer-dependents is true (#6153) 2023-03-03 08:31:41 +02:00
Zoltan Kochan
a4ce8e1f27 Merge branch 'main' into v8 2023-02-23 13:13:30 +02:00
Zoltan Kochan
ed946c73e9 fix: automatically resolve conflicts in lockfile v6 (#6127) 2023-02-23 12:13:04 +02:00
Zoltan Kochan
91b8027441 ci: use pnpm v8 (#6116) 2023-02-22 17:50:20 +02:00
Zoltan Kochan
ea460e51e3 Merge branch 'main' into v8 2023-02-20 22:46:24 +02:00
Zoltan Kochan
972de58abf fix: update the lockfile if a new project is added to the workspace with no deps (#6110) 2023-02-20 11:39:58 +02:00
Zoltan Kochan
417c8ac595 fix!: always create a lockfile (#6073) 2023-02-13 22:33:10 +02:00
Zoltan Kochan
170d975ec7 test: fix 2023-02-12 02:29:08 +02:00
Zoltan Kochan
6071380eb7 Merge branch 'main' into v8 2023-02-12 02:03:38 +02:00
Zoltan Kochan
54346d6e2c test: fix 2023-02-09 03:12:17 +02:00
Dominik Schmidt
7540267aec fix: replace version number for namespaced workspace packages (#6052)
Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-02-08 15:39:16 +02:00
Zoltan Kochan
b3d31838d6 fix: give priority to packages installed in the root, when deduping (#6054) 2023-02-08 15:39:16 +02:00
Dominik Schmidt
b71c6ed743 fix: replace version number for namespaced workspace packages (#6052)
Without this patch 'workspace:@foo/bar@*' is replaced by 'npm:@foo/bar@*' on publish,
i.e. the * is not replaced by the actual version number from @foo/bar's package.json.

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-02-08 14:20:14 +02:00
Zoltan Kochan
029143cfff fix: give priority to packages installed in the root, when deduping (#6054) 2023-02-08 13:19:40 +02:00