Commit Graph

8540 Commits

Author SHA1 Message Date
Zoltan Kochan
122febe472 fix(list): export PackageDependencyHierarchy 2023-09-27 17:14:48 +03:00
LaicZhang
41b5eb7a5b perf: replace startsWith with === (#7138) 2023-09-27 16:32:05 +03:00
Nacho Aldama
40798fb1cd fix(reviewing): fix memory error in pnpm why (#7122)
* fix(reviewing): fix memory error in `pnpm why`

* fix: update comments

* fix: add support for `--depth`

* fix: move implementation to `@pnpm/list`

* fix: revert changes in Dependencies Hierarchy

* fix: add pnpm to patch list

* refactor: rename functions to descriptive names

* refactor: rename `findEndLeafs` to `findEndLeaves`
2023-09-27 15:35:48 +03:00
Zoltan Kochan
a30334f2f4 docs: we have less sponsors 2023-09-27 03:41:24 +03:00
Zoltan Kochan
73ebfc94e0 chore(release): 8.8.0 v8.8.0 2023-09-26 15:24:32 +03:00
Zoltan Kochan
101c97ecb8 feat(list): update the API for usage in Bit CLI (#7132)
* feat(list): update the API for usage in Bit CLI

* refactor: move createPackagesSearcher to dependencies-hierarchy package

* docs: add changesets
2023-09-26 15:23:36 +03:00
Zoltan Kochan
546ca3f21b docs: update changesets 2023-09-26 15:15:04 +03:00
await-ovo
f394cfccda fix(resolve-dependencies): not update git protocol dependency when add unrelated dependency (#7054)
close #7008
2023-09-23 14:11:48 +03:00
Chris
ee328fd25e feat(reporter): add --hide-reporter-prefix option (#7086)
close #7061

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-09-23 03:56:36 +03:00
Zoltan Kochan
1f32d3eb89 fix: updating dependencies node_modules when node-linker is hoisted (#7117)
close #7107
2023-09-21 12:10:31 +03:00
Zoltan Kochan
98377afd34 chore(deps): update 2023-09-19 15:24:05 +03:00
Sukka
87148a4cfa perf: use v8-compile-cache to speed up cold boot (#7104)
* feat: use `v8-compile-cache` to speed up cold boot

* chore: add missing build script

* refactor: require v8-compile-cache from node_modules

---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2023-09-19 02:34:20 +03:00
Bryan Lee
ba48fe0bc4 feat: add pnpm dedupe --ignore-scripts (#7103)
close #7102
2023-09-19 02:09:09 +03:00
await-ovo
6d97739890 feat(plugin-commands-config): throw meaningful error for config sub commands (#7108)
close #7106
2023-09-19 01:41:49 +03:00
Zoltan Kochan
7173127aa0 chore(release): 8.7.6 v8.7.6 2023-09-17 22:18:18 +03:00
Zoltan Kochan
78a97774d1 fix: directories are not being removed from node_modules while linking commands (#7101)
close #6756
2023-09-17 18:25:12 +03:00
Zoltan Kochan
2690115d42 chore(deps): update 2023-09-15 18:28:45 +03:00
Zoltan Kochan
17d2ddb056 fix: don't run prepublishOnly of git-hosted dependencies (#7096)
close #7026
2023-09-15 17:04:28 +03:00
Khải
a6f5e5c9c0 fix: [use-]node-version isn't passed on workspace (#7092)
close #6981
2023-09-15 02:56:13 +03:00
Zoltan Kochan
61b9ca1896 feat: print a summary about deprecated subdeps (#7090)
close #6707
2023-09-15 01:56:14 +03:00
Zoltan Kochan
3ed5a7cd44 chore(release): libs 2023-09-13 12:32:41 +03:00
Zoltan Kochan
9caa33d535 feat: new option for disabling local directory dependencies relinking (#7083)
Removed `disableRelinkFromStore` and `relinkLocalDirDeps`. Replaced them with `disableRelinkLocalDirDeps`.
2023-09-13 12:23:03 +03:00
Zoltan Kochan
e074922652 chore(release): libs 2023-09-11 21:03:20 +03:00
Zoltan Kochan
cb6e4212ce fix: installation with disableRelinkFromStore set to true (#7080)
ref #7075
2023-09-11 21:00:26 +03:00
Zoltan Kochan
10cb4b3245 chore(release): 8.7.5 v8.7.5 2023-09-11 15:15:09 +03:00
Zoltan Kochan
03cdccc6e6 feat(core): add a disableRelinkFromStore option (#7075) 2023-09-11 14:25:13 +03:00
Zoltan Kochan
48dcd108c8 perf: symlink dependencies in a worker thread (#7069) 2023-09-09 18:56:43 +03:00
Zoltan Kochan
46cecfc60f chore(release): libs 2023-09-06 21:59:31 +03:00
Zoltan Kochan
b3947185c6 fix: unpacking tarballs that contain hard links (#7062) 2023-09-06 21:48:06 +03:00
Zoltan Kochan
d194baeb50 chore(release): 8.7.4 v8.7.4 2023-09-06 01:08:56 +03:00
Zoltan Kochan
d92070876d revert: "feat(deploy): apply publishConfig to all packages during deploy (#6943)" (#7058)
This reverts commit d57e4de6dc.

This reverts #6943

This will solve:

- https://github.com/pnpm/pnpm/issues/7040
- https://github.com/pnpm/pnpm/issues/6994
2023-09-06 01:05:47 +03:00
Zoltan Kochan
b548f2f438 fix: don't hang while reading package.json from the store
close #7051
2023-09-05 19:32:54 +03:00
await-ovo
b962c27ae6 fix(plugin-commands-script-runner): allow create scoped package with preferred version (#7055)
close #7053
2023-09-05 18:20:19 +03:00
Brandon Cheng
548768e092 fix(server): fix a potential deadlock when requesting a tarball worker (#7041) 2023-09-05 17:32:47 +03:00
Zoltan Kochan
4a1a9431dc fix(directory-fetcher): return the fetched package's manifest (#7052) 2023-09-05 11:57:18 +03:00
Zoltan Kochan
0da8703063 chore(release): 8.7.3 v8.7.3 2023-09-04 18:14:32 +03:00
Zoltan Kochan
3187b1ba62 ci: release pnpm with latest v8 of pnpm v8.7.2 2023-09-04 17:41:06 +03:00
Zoltan Kochan
89de73a27d ci: fix release 2023-09-04 17:33:45 +03:00
Zoltan Kochan
89302a4d30 chore(release): 8.7.2 2023-09-04 15:45:36 +03:00
Zoltan Kochan
f48113eac8 refactor: improve the way workers are finished (#7039) 2023-09-04 15:15:20 +03:00
Zoltan Kochan
494f875449 refactor: package requester (#7036)
ref https://github.com/pnpm/pnpm/issues/6808
2023-09-04 00:55:27 +03:00
Zoltan Kochan
70b2830acc refactor: worker (#7033) 2023-09-03 02:30:08 +03:00
Brandon Cheng
cc785f7e19 fix: report correct errors when using the pnpm server (#7032) 2023-09-02 22:28:59 +03:00
Brandon Cheng
d1bd5871c3 test: make it easier to tell which line in server tests hang (#7030)
* test: add timeouts to execPnpm and execPnpx commands

* refactor: use expect .resolves for promises in tests

* test: add 3 minute default timeout to execPnpmSync and execPnpxSync
2023-09-02 22:28:24 +03:00
Zoltan Kochan
69430e13ae perf: verify package integrity with a worker (#7022) 2023-09-02 19:34:19 +03:00
Brandon Cheng
10ef088fbc test: set logErrorsBeforeRetry to debug failing retries (#7028) 2023-09-02 19:05:25 +03:00
Brandon Cheng
a4986bca18 test: ensure server stops after test failure (#7029) 2023-09-02 02:25:06 +03:00
Brandon Cheng
6d30ff221c chore: remove unused eslint-disable directive (#7009)
```
❯ pnpm lint:ts

> monorepo-root@ lint:ts /Users/gluxon/Developer/pnpm2
> eslint "**/src/**/*.ts" "**/test/**/*.ts"

/Users/gluxon/pnpm2/pkg-manifest/read-project-manifest/src/index.ts
  217:46  warning  Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-explicit-any')

✖ 1 problem (0 errors, 1 warning)
  0 errors and 1 warning potentially fixable with the `--fix` option.
```
2023-09-01 03:11:44 +03:00
Brandon Cheng
f9052d9d89 build: fix Jest code block misalignment by setting sourceMap option to true (#7021)
* test: fix Jest code block misalignment in pnpm tests

* Revert "test: fix Jest code block misalignment in pnpm tests"

This reverts commit 691bc722825b31c97bc6e0fa624ac2337491355d.

* build: set sourceMap option to true for `pnpm/tsconfig.json`

This allows Jest test failure messages to properly reference the correct
source location. These were confusingly misaligned before this change.
2023-09-01 03:11:08 +03:00
Zoltan Kochan
6f9bcdba51 chore(release): 8.7.1 v8.7.1 2023-08-31 18:43:41 +03:00