Commit Graph

10701 Commits

Author SHA1 Message Date
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
Zoltan Kochan
16e5044bf8 chore(deps): remove fs-extra 2020-06-06 20:03:12 +03:00
Zoltan Kochan
cc1b43886f fix(deps): update p-limit to v3.0.1 2020-06-06 19:36:42 +03:00
Zoltan Kochan
0e7ec4533f fix(deps): remove @pnpm/check-package from deps 2020-06-06 15:32:31 +03:00
Zoltan Kochan
d3ddd023c5 fix(deps): update p-limit to v3 2020-06-06 15:28:20 +03:00
Zoltan Kochan
68d8dc68f2 fix(deps): update node-gyp to v7 2020-06-05 12:23:35 +03:00
Zoltan Kochan
98b97200fe chore(deps): update renovate.json 2020-06-05 03:13:16 +03:00
Zoltan Kochan
9bb852d21b chore(deps): update 2020-06-05 03:11:57 +03:00
Zoltan Kochan
fe0eea23c1 chore(renovate): pin uuid to ^3.4.0 2020-06-04 21:45:59 +03:00
Zoltan Kochan
4cf7ef3672 perf(npm-resolver): don't use write-json-file 2020-06-04 02:36:11 +03:00
Zoltan Kochan
6f6f3b3cc0 chore(release): 5.1.4 v5.1.4 2020-06-03 22:35:43 +03:00
Zoltan Kochan
a203bc1380 fix: too long file names when writing to store
close #2605
PR #2607
2020-06-03 22:33:09 +03:00
Zoltan Kochan
2962c83bb4 chore(release): 5.1.3 v5.1.3 2020-06-03 01:26:56 +03:00
Zoltan Kochan
872f81ca1a fix: don't always remove auth headers when redirecting
Don't remove authorization headers when redirecting requests
to the same host.

close #2602
PR #2604
2020-06-03 01:24:11 +03:00
Zoltan Kochan
5a51caa594 chore(release): 5.1.2 v5.1.2 2020-06-02 11:41:56 +03:00
Zoltan Kochan
1dcfecb361 fix: downgrade uuid 2020-06-02 11:34:48 +03:00
Zoltan Kochan
b2d7663f90 chore(release): 5.1.1 v5.1.1 2020-06-01 21:04:38 +03:00
Zoltan Kochan
86d21759da fix: print a meaningful error on Node.js v13.6 2020-06-01 20:50:03 +03:00
Zoltan Kochan
dc7fffbbd5 chore(release): 5.1.0 v5.1.0 2020-06-01 20:12:12 +03:00
Zoltan Kochan
429c5a560b fix: fall back to copying if linking fails 2020-06-01 19:33:37 +03:00
Zoltan Kochan
eb82084e1e feat(reporter): color the child output prefixes
PR #2598
2020-06-01 12:42:01 +03:00
Zoltan Kochan
0e8daafe41 feat: --parallel
The `run` and `exec` commands may use the `--parallel` option.

`--parallel` completely disregards concurrency and topological sorting,
running a given script immediately in all matching packages
with prefixed streaming output. This is the preferred flag
for long-running processes such as watch run over many packages.

For example: `pnpm run --parallel watch`

close #2528
PR #2599
2020-06-01 11:22:44 +03:00
Zoltan Kochan
ffddf34a89 feat: --stream
Add new global option called `--stream`.

When used, the output from child processes is streamed to the console immediately, prefixed with the originating package directory. This allows output from different packages to be interleaved.

close #2147
close #1609
PR #2595
2020-05-31 13:46:32 +03:00
Zoltan Kochan
bcd4aa1aa1 fix: error message during offline installation
PR #2596
2020-05-31 04:48:28 +03:00
Zoltan Kochan
8094b2a628 fix(run): infinite recursion
A recursive run should not rerun the same package script which started the lifecycle event.

For instance, let's say one of the workspace projects has the following script:

```json
"scripts": {
  "build": "pnpm run -r build"
}
```

Running `pnpm run build` in this project should not start an infinite recursion.
`pnpm run -r build` in this case should run `build` in all the workspace projects except the one that started the build.

Related issue: #2528
2020-05-30 22:02:27 +03:00
Zoltan Kochan
c56438567b fix(deps): update cross-spawn to ^7.0.3 2020-05-29 14:41:08 +03:00
Zoltan Kochan
0837d3c6df chore: update lockfile 2020-05-29 02:02:22 +03:00
Zoltan Kochan
0972b97661 chore(release): 5.0.2 v5.0.2 2020-05-29 01:58:01 +03:00
Zoltan Kochan
160975d628 fix: always check direct local tarball dependencies 2020-05-29 01:28:54 +03:00
Zoltan Kochan
2f9c7ca852 fix: install a pkg hosted not under registry domain
close #2586
PR #2588
2020-05-28 23:43:02 +03:00
Zoltan Kochan
acf3dbc570 chore: update lockfile 2020-05-28 13:52:04 +03:00
Zoltan Kochan
b0171ce5e0 chore(release): 5.0.1 v5.0.1 2020-05-28 13:45:37 +03:00
Zoltan Kochan
81b5370032 fix: don't error on deprecated options
close #2581
PR #2583
2020-05-28 13:42:31 +03:00
Zoltan Kochan
187615f871 fix: installing git-hosted dependencies
Fixing a regression caused by breaking changes in the fetch function
API.
`@pnpm/git-fetcher` was not correctly updated.

As a result, git-hosted dependencies were not being installed.

PR #2580
2020-05-28 12:21:32 +03:00
Zoltan Kochan
78dc7aa518 chore(release): 5.0.0 v5.0.0 2020-05-28 01:59:06 +03:00
Zoltan Kochan
9f5cdc485c docs(README): update usage 2020-05-27 20:05:00 +03:00
Zoltan Kochan
1df40bfceb docs(README): update usage 2020-05-27 20:03:26 +03:00
Zoltan Kochan
4012f5d88f docs(README): update usage section 2020-05-27 20:01:48 +03:00
Zoltan Kochan
fbf3f42978 docs(README): update testimonial 2020-05-27 15:54:36 +03:00
Zoltan Kochan
c7314cf27f fix: update notifier should recommend using "npm i -g pnpm"
ref #2579
ref #1203
2020-05-27 03:07:34 +03:00
Zoltan Kochan
f78c818f67 docs(README): suggest the most reliable installation
There are different ways to install pnpm but the easiest
and most reliable option is to use npm. So a new user should
use the method that we are most confident about.

PR #2579
2020-05-27 02:56:45 +03:00
Zoltan Kochan
780459cffa docs(README): fix big margin between lists
Move the quote out from the list
2020-05-27 02:40:09 +03:00
Zoltan Kochan
244aedcf5e docs: improvements to the README file
* docs(README): add mature section

pnpm is still unknown for many developers. As a result, when they
first find it, their first assumption is that it is "a new package
manager".

So we should mention in the README that pnpm has years of development
invested into it, and it is used by some big companies.

* Update packages/pnpm/README.md

Co-authored-by: Aparajita Fishman <aparajita@aparajita.com>

PR #2578

* docs: OS X => macOS

* docs: readme improvments

* docs: format the quote

Co-authored-by: Aparajita Fishman <aparajita@aparajita.com>
2020-05-27 02:32:40 +03:00
Zoltan Kochan
17ba2e8aed chore(release): 5.0.0-rc.5 v5.0.0-rc.5 2020-05-27 00:56:53 +03:00
Zoltan Kochan
58c02009f3 fix: modules directory compatibility check
Always check the layout version first.
2020-05-27 00:37:17 +03:00
Zoltan Kochan
1737c10422 chore(release): 5.0.0-rc.4 v5.0.0-rc.4 2020-05-27 00:11:57 +03:00
Zoltan Kochan
71b0cb8fd7 fix: don't needlessly update subdeps 2020-05-26 23:11:22 +03:00