Commit Graph

7719 Commits

Author SHA1 Message Date
Zoltan Kochan
47140dcf99 chore: update lockfile 2022-09-02 15:04:52 +03:00
Zoltan Kochan
67d8b65d2e feat: time-based resolution mode (#5238) 2022-09-02 14:54:10 +03:00
Zoltan Kochan
f9c275ab46 docs: update links to localizations 2022-09-02 02:40:49 +03:00
Zoltan Kochan
53506c7aeb fix: don't modify the inject project's manifest (#5294) 2022-09-02 02:37:01 +03:00
Glen Whitney
678933a9b4 docs(CONTRIBUTING): correct setup instructions for first-time clone (#5289)
Adds an initial compile step to provide pnpm.js needed by the `pd` script.

  Resolves #5288.
2022-08-31 22:50:39 +03:00
Zoltan Kochan
92c30e89ba refactor: resolve dependencies 2022-08-31 03:16:39 +03:00
Zoltan Kochan
87d8226743 refactor: resolve dependencies 2022-08-31 01:06:49 +03:00
Mark Omarov
ba270a9671 feat(env): add remove command to pnpm env (#5263)
* feat(env): add uninstall command to pnpm env

* chore(changeset): define minor bump

* fix(env): fixes for pnpm env uninstall

- Fix broken node path for the windows platform
- Notify user when removing default Node.JS
- Remove `await` on `fs.unlink` in `Promise.all`
- Add support for Node.JS v14.13 and earlier

* fix(env): fix failing tests on Windows platform

* fix(env): update aliases and error catching

- Add `rm, un, uninstall` aliases to the `remove` command
- Update CLI help message
- Ignore only `ENOENT` errors

* refactor(env): cr updates

- Use `remove` with `rm` alias only
- Update CLI help message
- Update tests to use `remove` command
- Replace custom support for older Node.JS versions
  with `@zkochan/rimraf`

* refactor(env): simplify catch block

* fix: env rm

* refactor: test

Co-authored-by: Mark Omarov <inkfaust@gmail.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-30 01:53:13 +03:00
Zoltan Kochan
e848f53482 fix: prune 2022-08-29 03:13:09 +03:00
Zoltan Kochan
17e69e18b7 fix: prune should remove all cached metadata 2022-08-29 02:57:27 +03:00
Zoltan Kochan
d904b83ec1 fix(npm-resolver): types 2022-08-26 22:12:35 +03:00
Zoltan Kochan
60282ac6d9 refactor: resolve dependencies (#5267) 2022-08-26 18:51:05 +03:00
Zoltan Kochan
154bfa90f9 test: fix 2022-08-24 22:54:43 +03:00
Zoltan Kochan
9e0a9f49cb test: fix NODE_PATH test on Windows (#5257)
* test: fix NODE_PATH test on Windows

* fix: test
2022-08-24 22:50:39 +03:00
Zoltan Kochan
5c8e272a1f test(installation): fix 2022-08-24 16:49:30 +03:00
Zoltan Kochan
6f9c1c992b style: fix 2022-08-24 16:03:05 +03:00
Zoltan Kochan
a00d9e1a8b chore(deps): update 2022-08-24 15:54:04 +03:00
Zoltan Kochan
7b2e5cdc9d chore(release): 7.9.5 v7.9.5 2022-08-24 14:55:25 +03:00
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