Commit Graph

5847 Commits

Author SHA1 Message Date
Zoltan Kochan
71aeb9a382 refactor: API of resolvers and fetchers
Instead of creating a separate fetch function for the resolvers
and fetchers, use a single one.

Also, use a single getCredentials function.

close #2652
PR #2655
2020-06-29 17:13:02 +03:00
Zoltan Kochan
311d14a322 chore(release): 5.2.6 v5.2.6 2020-06-23 01:08:31 +03:00
Zoltan Kochan
b7b026822d fix: pass the proxy settings to the fetcher
When fetching tarballs, pass the proxy settings to the fetcher.

PR #2651
close #2650
2020-06-23 00:33:45 +03:00
Zoltan Kochan
830dc175e7 chore: update pnpm-workspace.yaml of fixtures 2020-06-22 23:13:09 +03:00
Zoltan Kochan
ddb1db85d4 chore(release): 5.2.5 v5.2.5 2020-06-22 21:07:23 +03:00
Zoltan Kochan
2c190d49d6 fix: ignore case, when searching for global exec dir
close #2649
2020-06-22 21:02:15 +03:00
Zoltan Kochan
d918937597 chore(release): 5.2.4 v5.2.4 2020-06-22 15:45:36 +03:00
Zoltan Kochan
1146b76d2b fix: fixing issues with global install
PR #2637
ref #1360
2020-06-22 15:40:09 +03:00
Zoltan Kochan
c776db1a7d fix: pnpm list --long 2020-06-22 01:54:17 +03:00
Zoltan Kochan
220896511a refactor: remove common-tags from dependencies 2020-06-21 16:39:49 +03:00
Zoltan Kochan
c85768310e fix(deps): remove @pnpm/config from deps of @pnpm/outdated 2020-06-21 15:02:00 +03:00
Zoltan Kochan
db17f6f7b6 refactor: move Project and ProjectsGraph to @pnpm/types 2020-06-21 14:54:49 +03:00
Zoltan Kochan
6743767573 fix(list): highlight in terminal with light theme 2020-06-21 13:46:42 +03:00
Zoltan Kochan
0e3bdbdc9c chore(release): 5.2.3 v5.2.3 2020-06-21 01:42:01 +03:00
Zoltan Kochan
74c4469dd3 fix(supi): make globalBin option optional 2020-06-21 01:31:24 +03:00
Yao Ding
57d08f3033 fix: remove global bin when unlink
close #1584
PR #2425
2020-06-21 00:41:12 +03:00
Yao Ding
1adacd41ee fix: do not scan non-directories in store directory when pruning store
close #2563
PR #2644

Co-authored-by: Zoltan Kochan <zkochan@users.noreply.github.com>
Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-06-21 00:38:48 +03:00
Zoltan Kochan
e4b667e7fb fix: pnpm add -g pnpm 2020-06-20 20:55:45 +03:00
Zoltan Kochan
43dfb6b00e fix(pnpx): read the correct PATH env variable 2020-06-20 20:51:42 +03:00
Zoltan Kochan
5b5d1585d7 feat: use own implementation of the 'bin' command 2020-06-20 20:38:17 +03:00
Zoltan Kochan
843e8d3808 chore(release): 5.2.2 v5.2.2 2020-06-19 01:59:28 +03:00
Zoltan Kochan
1520e3d6f9 fix(deps): update 2020-06-19 01:30:46 +03:00
Zoltan Kochan
17b598c18d fix: broken current lockfile on partial install
close #2636
PR #2640
2020-06-19 01:18:01 +03:00
Alex Young
f00dabd2d1 chore: remove type assertions when using didyoumean2
PR #2639
2020-06-18 18:35:19 +03:00
Zoltan Kochan
f962051ef7 chore(release): 5.2.1 v5.2.1 2020-06-17 12:29:02 +03:00
Zoltan Kochan
0a2f3ecc63 fix(hoist): don't fail on issues with lockfile
ref #2636
2020-06-17 12:02:14 +03:00
Zoltan Kochan
80e8ab5195 refactor(hoist): use Object.entries() 2020-06-17 11:56:59 +03:00
Zoltan Kochan
a45932bc5c chore(deps): update 2020-06-17 00:39:09 +03:00
Zoltan Kochan
eb271b75bd docs: fix the changelog of v5.2.0 2020-06-16 21:19:53 +03:00
Zoltan Kochan
95f9ddd449 chore(release): 5.2.0 v5.2.0 2020-06-16 21:08:48 +03:00
Zoltan Kochan
28d4f71917 test: fix dependencies-hierarchy fixture 2020-06-16 02:03:56 +03:00
Zoltan Kochan
ff683c1f30 chore(npmrc): add shamefully-hoist=false 2020-06-16 01:35:24 +03:00
Zoltan Kochan
60544ee5ed chore(release): 5.2.0-0 v5.2.0-0 2020-06-16 01:08:54 +03:00
Zoltan Kochan
71a8c8ce38 feat: public-hoist-pattern
close #2628
PR #2631
2020-06-16 00:50:09 +03:00
Zoltan Kochan
6808c43faf perf: don't request the full metadata
ref #2632
PR #2633
2020-06-15 23:00:20 +03:00
Zoltan Kochan
e1ca9fc13d fix(deps): update @zkochan/cmd-shim to v5 2020-06-13 12:55:19 +03:00
Zoltan Kochan
42fa77c064 chore(release): 5.1.8 v5.1.8 2020-06-12 23:17:26 +03:00
Zoltan Kochan
492805ee3c fix: don't fail when a manifest starts with BOM
This fixes a regression that appeared in v5.0.0.

close #2629
PR #2630
2020-06-12 23:15:24 +03:00
Zoltan Kochan
04e36ce175 chore(release): 5.1.7 v5.1.7 2020-06-11 11:45:48 +03:00
Josiah Grace
e37a5a1755 fix(filtering): support linked-workspace- packages=false in workspace filtering
Pass the linkedWorkspacePackages config to the pkg-graph,
only select packages that are explicitly referred to as workspace:...
when this setting is on.

Fixes #2625
PR #2626
2020-06-11 11:33:46 +03:00
Zoltan Kochan
561f389554 feat: "Did you mean <option>?"
Print a "Did you mean" line under the unknown option error
with any option that look similar to the typed one.

close #2603
PR #2623
2020-06-11 01:12:45 +03:00
Zoltan Kochan
740219129c chore(release): 5.1.6 v5.1.6 2020-06-09 11:18:42 +03:00
Zoltan Kochan
c07bd4fb85 fix(deps): use ranges 2020-06-09 11:17:03 +03:00
Zoltan Kochan
57c510f007 fix(deps): update fast-deep-equal to v3.1.3 2020-06-09 11:12:18 +03:00
Zoltan Kochan
e934b1a483 fix(deps): update chalk to v4.1.0 2020-06-09 11:07:28 +03:00
Zoltan Kochan
41d92948b1 fix: installing tarballs from registry origin via non-standard URLs
close #2549
PR #2620
2020-06-09 10:55:02 +03:00
Zoltan Kochan
6ecce09d12 chore(release): 5.1.5 v5.1.5 2020-06-08 16:01:43 +03:00
Zoltan Kochan
20479990bc chore: update tsconfig.json files 2020-06-08 15:44:45 +03:00
Josiah Grace
13630c6593 fix(resolution): respect linked-workspaces = false in up-to-date check
* fix(up-to-date-projects): respect linked-workspaces = false in up-to-date check
When linked-workspaces = false and the lockfile is up to date, the projects up-to-date check is incorrectly re-running the resolution step.
This happens in workspaces where packages are using both the workspace version of a package, and a registry version of the package.

Fixes #2618
PR #2619

* fix: lockfile up-to-date check

Co-authored-by: Zoltan Kochan <z@kochan.io>
2020-06-08 15:41:26 +03:00
Zoltan Kochan
2ebb7af333 fix: print a warning when an HTTP request fails
close #1240
PR #2615
2020-06-08 13:49:54 +03:00