Commit Graph

10701 Commits

Author SHA1 Message Date
Dominic Elm
ee8ac0fe54 fix: only set extraEnv for preferSymlinkedExecutables if it's not windows (#5256) 2022-08-24 14:53:41 +03:00
Zoltan Kochan
e3b5137d1d fix: symlink local dep even when target dir does not exist (#5253)
close #5219
2022-08-24 04:09:55 +03:00
Dominic Elm
2aa22e4b17 fix: set NODE_PATH when is turned on (#5251)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-24 01:44:57 +03:00
Tim Tong
a12d1a0113 fix: audit should throw a meaningful error message when no audit endpoint was found (#5246)
close #5200
2022-08-24 01:44:20 +03:00
Zoltan Kochan
93e0d0f209 chore(release): 7.9.4 v7.9.4 2022-08-23 03:33:10 +03:00
Shinobu Hayashi
1beb1b4bd4 Fix: install peerDeps which is not optional on headless install (#5243)
* fix: install peerDeps which is not optional on headless install

* chore: add testcase for install peerDependencies which is not optional

* refactor: auto install

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-23 03:27:44 +03:00
JacobLinCool
c242672f5a feat(env): show state on fetching node (#5241)
* feat(env): show state on fetching node

* fix: use internal logger instead of console.log

* chore: add changeset
2022-08-22 19:24:09 +03:00
Ambar Mutha
1c7b439bbe fix: node<16 download fail on arm chips on macos (#5239)
* fix(node.fetcher): node < 16 download fail on apple silicon

Add a check for macos apple silicon and required node version < 16.
In such case, download x64 binary.
Because arm build does not exist.
Previous behaviour:
Try to download non existing arm build and fail with 404.

NO breaking change
fixes #4489

* refactor(node.fetcher): move code to normalizeArch
2022-08-20 16:28:24 +03:00
Zoltan Kochan
cccaa0208f test: all test packages should be from the @pnpm.e2e scope (#5211) 2022-08-19 05:05:34 +03:00
Cheng
f4cc2d7b4c fix: mergeGitBranchLockfiles when merged lockfile is up-to-date (#5233)
* fix: mergeGitBranchLockfiles when merged lockfile is up-to-date

* chore: test install with --merge-git-branch-lockfiles when merged lockfile is up to date

* chore: changeset

* chore: test add also frozenLockfile: true+

close #5212

Co-authored-by: Cheng Liu <liucheng.leo@bytedance>
Co-authored-by: Cheng Liu <chengcyber@users.noreply.github.com>
2022-08-18 17:56:11 +03:00
Zoltan Kochan
d7a61aed96 docs: fix changelog 2022-08-18 15:50:05 +03:00
Zoltan Kochan
052f73d45b chore(release): 7.9.4-0 v7.9.4-0 2022-08-18 12:35:37 +03:00
Dominic Elm
745143e797 feat(cafs): extend cafs with getFilePathByModeInCafs (#5232) 2022-08-18 12:32:08 +03:00
Zoltan Kochan
5b938a91b4 chore(release): 7.9.3 v7.9.3 2022-08-17 12:59:28 +03:00
Dominic Elm
71e1208692 fix: remove legacy signal handlers (#5224) 2022-08-17 12:58:16 +03:00
Zoltan Kochan
5b513ff3e9 chore: update lockfile 2022-08-17 12:23:18 +03:00
Zoltan Kochan
f815b6ca39 chore(release): 7.9.2 v7.9.2 2022-08-17 12:03:52 +03:00
Zoltan Kochan
071aa18423 fix: packages with default peer dependencies (#5210) 2022-08-17 11:41:54 +03:00
Zoltan Kochan
d64bc1a050 test: update registry-mock 2022-08-16 01:37:58 +03:00
Zoltan Kochan
9faf0221d7 fix(deps): update Yarn deps 2022-08-14 03:15:57 +03:00
Zoltan Kochan
054b4e0622 fix(resolve-dependencies): replace replace-string 2022-08-14 01:37:50 +03:00
Zoltan Kochan
07bc24ad1b fix(deps): update 2022-08-14 01:15:58 +03:00
Zoltan Kochan
dbac0ca01d fix(deps): update (#5190)
close #5191
2022-08-14 00:19:54 +03:00
那里好脏不可以
bb2a69c8d0 fix(pnpm/test): add escape characters (#5193)
* fix(pnpm/test): add escape characters

* test: refactor

close #5192

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-13 16:06:29 +03:00
Zoltan Kochan
5e7418db12 refactor: bin/pnpx.cjs
close #5202
2022-08-13 14:08:22 +03:00
Zoltan Kochan
5bc9c96fec refactor: urls to sponsor images 2022-08-13 12:57:45 +03:00
Zoltan Kochan
cbb09fd4af docs: add new silver sponsor 2022-08-13 12:48:32 +03:00
那里好脏不可以
a928773647 fix: typo (#5195) 2022-08-11 14:22:27 +03:00
Zoltan Kochan
850cf0a8ee chore(release): 7.9.1 v7.9.1 2022-08-10 12:41:58 +03:00
Dominic Elm
32915f0e43 feat: extend cafs object (#5186)
* feat: extend cafs object

* fixup: fix test

* fixup: fix name

* fixup: add changeset
2022-08-10 12:05:02 +03:00
Remus Mate
2b2d93028e docs: fix typos much -> match (#5178) 2022-08-09 17:25:24 +03:00
Dominic Elm
23984abd1a feat: add hook for custom fetchers (#5185)
* feat: add hook for custom fetchers

* fixup: simplify fetcher overwrites

* fixup: refactor some types and implement fetcher hooks

* fixup: add changeset
2022-08-09 14:20:40 +03:00
Dominic Elm
7a17f99aba refactor: split package fetcher (#5175) 2022-08-08 21:44:50 +03:00
Zoltan Kochan
8cb47ac9d2 fix(setup): don't use setx 2022-08-08 14:43:04 +03:00
Dominic Elm
5035fdae12 feat: add new hook that runs pre resolution (#5143)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-08 14:14:16 +03:00
MCMXC
b67d3049b8 refactor: autoremove redundant disabled lint occurrences (#5169)
- add reportUnusedDisableDirectives true to eslint-config
- run 'lint:ts --fix' which autoremoves all redundant disabled lint occurrences
2022-08-06 21:29:44 +03:00
MCMXC
becacb99a9 build: update used versions in github workflow actions (#5168)
- update all actions/* to v3
- update github/codeql-action/* to v2
2022-08-06 21:11:15 +03:00
Zoltan Kochan
c9ce2725c4 chore(release): 7.9.0 v7.9.0 2022-08-06 18:19:52 +03:00
MCMXC
238a165a53 chore: dependencies maintenance (#5167)
* chore: dependencies maintenance

- upgrade node-fetch to latest stable version
- upgrade lru-cache and remove @types/lru-cache stub type definitions
- remove eslint disables in npm-resolver index.ts
- upgrade @types/validate-npm-package-name to v4 to match package major version
- upgrade dependencies in @pnpm/get-release-text

* updated pnpm.overrides section

* include changeset

* - update local.d.ts
- replace deprecated lru-cache maxAge option with ttl

* turn down node-fetch version to 3.0.0-beta.9 again since newer ones are ESM-only

* update changeset
2022-08-06 18:16:07 +03:00
Zoltan Kochan
f5c8710485 chore: add changeset 2022-08-06 17:06:39 +03:00
Zoltan Kochan
fe53c2986e fix(setup): suggest to source the config (#5165) 2022-08-06 15:58:30 +03:00
Zoltan Kochan
4ee3600399 docs: add comment to cafs 2022-08-06 03:06:55 +03:00
Zoltan Kochan
5ce71227d0 fix: don't create a separate bundle for pnpx (#5161) 2022-08-05 12:55:14 +03:00
Dominic Elm
c191ca7bf0 fix: read package manifest when verifyStoreIntegrity is false (#5157)
* fix: read package manifest when verifyStoreIntegrity is false

* fixup: add test

* fixup: resolve manifest even if no package.json was found

* fixup: relocate function to read manifest from store

* fixup: add changeset
2022-08-04 16:52:19 +03:00
Martin Štekl
1e5482da4c fix(lockfile): change sorting of keys in lockfile (#5151)
* fix(lockfile): change sorting of keys in lockfile

Make it more deterministic and prevent unnecessary churn in the lockfile.
It is useful when looking for affected projects after changes to the lockfile.
When the changes happen among various developers using various locale,
the locale specific sorting causes changes in the lockfile for extraneous projects.
Therefore, it could cause running unnecessary CI jobs, builds, releases and other
work that would not be needed otherwise.

* chore: add comment

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-04 03:18:36 +03:00
Zoltan Kochan
f5f0e4348e chore(release): 7.9.0-0 v7.9.0-0 2022-08-03 17:48:37 +03:00
Zoltan Kochan
8103f92bd6 fix: deprecation warnings on Node.js 16 (#5150) 2022-08-03 17:42:00 +03:00
Zoltan Kochan
0321ca32a4 fix: don't print the same deprecation warning multiple times (#5149) 2022-08-03 16:05:07 +03:00
Zoltan Kochan
65c4260dee feat: allow to use a custom package importer (#5141) 2022-08-03 14:49:50 +03:00
Anthony DePasquale
9cebb77d0e fix: change "up-to-date" to "up to date" where necessary (#5148) 2022-08-03 14:07:56 +03:00