Commit Graph

5819 Commits

Author SHA1 Message Date
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
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