Commit Graph

4992 Commits

Author SHA1 Message Date
Zoltan Kochan
dbb03471b4 refactor: localConfig=>rawLocalConfig 2019-10-04 01:47:14 +03:00
Zoltan Kochan
fc0fe15938 refactor: rawNpmConfig=>rawConfig 2019-10-04 01:29:26 +03:00
Zoltan Kochan
4baad8c4f4 fix(deps): update json5 to v2.1.1 2019-10-04 00:13:24 +03:00
Zoltan Kochan
3c8763c8f1 feat: fsIsCaseSensitive is false by default
BREAKING CHANGE:

treat all file systems as case insensitive by default
2019-10-03 23:22:04 +03:00
Zoltan Kochan
a8223b3784 test(supi): fix unstable test
ref #2043
2019-10-03 23:19:44 +03:00
Zoltan Kochan
6cc1ca5a6e chore(release): 4.0.0-6 v4.0.0-6 2019-10-03 01:54:49 +03:00
Zoltan Kochan
9329e2eb31 fix(CLI): publish should not fail with --tag 2019-10-03 01:49:14 +03:00
Zoltan Kochan
ee15125466 feat: use cross-platform solution to clone packages
New config value for package-importe-method: clone

close #1505
PR #2043

BREAKING CHANGE:

reflink is not supported by package-import-method

BREAKING CHANGE:

by default, try to clone packages instead of hard linking
2019-10-03 01:39:48 +03:00
Zoltan Kochan
0cfca86857 feat: use the fewer-dependencies resolution strategy by default
BREAKING CHANGE:

by default resolution-strategy=fewer-dependencies

PR #2042
2019-10-01 00:08:59 +03:00
Zoltan Kochan
edd0a957aa fix: don't fail on broken symlinks when recreating node_modules 2019-09-30 22:40:21 +03:00
Zoltan Kochan
257ecfdd16 feat: only allow filtering selectors via --filter
rel #2012
2019-09-30 21:56:20 +03:00
Zoltan Kochan
37363c8de1 feat: add packages with the workspace protocol
PR #1957

BREAKING CHANGE:

By default, dependencies from the workspace are installed with the "workspace:" protocol.
The `save-workspace-protocol=false` setting may be used to cancel this behavior.
2019-09-30 19:17:20 +03:00
Zoltan Kochan
9d91d68f8a fix(config): default registry URL 2019-09-29 02:44:25 +03:00
Zoltan Kochan
13353289d0 chore: fix the test script in the root 2019-09-29 02:15:59 +03:00
Zoltan Kochan
b1909d25ec chore(release): 4.0.0-5 v4.0.0-5 2019-09-29 02:01:52 +03:00
Zoltan Kochan
8d599b356c fix(CLI): --lock is a known flag 2019-09-29 01:59:02 +03:00
Zoltan Kochan
926a15f074 style: fix imports order 2019-09-29 01:50:05 +03:00
Zoltan Kochan
e3df40fe49 chore(release): 4.0.0-4 v4.0.0-4 2019-09-29 01:48:55 +03:00
Renovate Bot
b1734fe2d2 fix(deps): update dependency loud-rejection to v2.2.0
close #2040
2019-09-29 01:10:26 +03:00
Zoltan Kochan
7d1bb2f8e7 refactor: reuse types from @pnpm/config in pnpm CLI package 2019-09-29 01:08:56 +03:00
Zoltan Kochan
a3677372ed refactor: rename configs to config
BREAKING CHANGE:

@pnpm/config exports config instead of configs
2019-09-28 22:41:16 +03:00
Zoltan Kochan
202f0eee8b feat: only local configs or flags can cause a fatal error
As of pnpm v3, pnpm fails if the configs that were used when creating node_modules differ from the present ones. For instance, if independent-leaves is set to false globally but installation was done using pnpm install --independent-leaves. Running pnpm add foo will fail. Only pnpm add foo --independent-leaves will work

These changes are making this less strict. If node_modues was created using some configs, installation will only fail if the present configs are set locally (or via CLI flags) and they have incompatible values.

So if pnpm install --independent-leaves was used, then pnpm add foo will work. But pnpm add foo --no-independent-leaves will fail.

PR #2034
2019-09-28 22:14:52 +03:00
Zoltan Kochan
20ff1c3e8f feat(config): export localConfigs
rel #2034
2019-09-28 15:38:07 +03:00
Renovate Bot
3e1e893d4e chore(deps): update dependency husky to v3.0.7
close #2039
2019-09-28 11:33:42 +03:00
Zoltan Kochan
f9b42f436c fix(cli): uninstall is an alias of remove 2019-09-28 03:31:17 +03:00
Renovate Bot
9ac32fc97c fix(deps): update dependency stacktracey to v1.2.122
close #2037
2019-09-28 03:26:52 +03:00
Renovate Bot
3af336d1f0 fix(deps): update dependency stacktracey to v1.2.120
close #2035
2019-09-27 20:55:14 +03:00
Zoltan Kochan
d3a9759c99 chore(deps): update sinon and ts-node 2019-09-26 23:44:37 +03:00
Zoltan Kochan
8e83de66f4 feat: cmds should fail on unsupported flags
PR #2031
close #1645
2019-09-25 23:40:02 +03:00
Zoltan Kochan
ffaaf70f63 test: remove all npm config env variables 2019-09-25 02:21:12 +03:00
Zoltan Kochan
681a94b9a8 refactor(CLI): args parsing 2019-09-25 01:59:01 +03:00
ExE Boss
4b56b860bc feat(dependency‑path): Expose peersSuffix
PR #2032

Co-Authored-By: Zoltan Kochan <zoltan.kochan@gmail.com>
2019-09-24 22:59:11 +03:00
Zoltan Kochan
d95d7afb03 chore(release): 4.0.0-3 v4.0.0-3 2019-09-21 23:26:18 +03:00
Aparajita Fishman
67bca0123b feat(outdated): add --no-table option
This PR adds a `--no-table` option that prints out
the info on each package vertically concatenated with no borders
and a blank line between each package.

Note that the `--long` option may also be used in conjunction
with `--no-table` to add the details at the end of each set
of package info.

PR #2026
close #1984

Co-Authored-By: nikoladev <nikola@pilipovic.nl>
Co-Authored-By Zoltan Kochan <zkochan@users.noreply.github.com>
Co-Authored-By ExE-Boss <ExE-Boss@users.noreply.github.com>
2019-09-21 22:40:14 +03:00
ExE Boss
844a85efc7 test(assert‑project): add Project interface type definition
PR #2022
2019-09-21 20:31:22 +03:00
Zoltan Kochan
03f745ff98 feat: .pnpm/pnpm-lock.yaml=>.pnpm/lock.yaml
ref #2018
2019-09-21 20:13:36 +03:00
Zoltan Kochan
187a0186b0 feat: move .pnpm-lock.yaml to .pnpm/pnpm-lock.yaml
PR #2018

BREAKING CHANGE:

node_modules/.pnpm-lock.yaml => node_modules/.pnpm/pnpm-lock.yaml
2019-09-21 00:10:49 +03:00
ExE Boss
50a076dc17 refactor(outdated): unify more of outdated and recursive outdated
PR #2027
2019-09-20 21:40:07 +03:00
Zoltan Kochan
2ed2adeefb chore(deps): update dependency nock to v11.3.5
close #2028
2019-09-20 20:36:41 +03:00
Renovate Bot
95cafa5df3 chore(deps): update commitlint monorepo to v8.2.0
close #2023
2019-09-20 20:34:06 +03:00
Zoltan Kochan
2c94726226 chore(deps): update dependency @types/node-fetch to ^2.5.0
close #2024
2019-09-20 20:32:58 +03:00
Zoltan Kochan
da0a6978ea fix(CLI): "pnpm -h <cmd>" prints help for <cmd>
Before this changes, "pnpm -h <cmd>" was printing the general help.
"pnpm <cmd> -h" worked correctly.
2019-09-20 00:49:33 +03:00
Zoltan Kochan
537725e9f7 test: skip unstable test 2019-09-20 00:15:14 +03:00
ExE Boss
7d0c5500f0 feat(pnpm): always include the root package.json in a workspace
PR #2021
close #1986
2019-09-19 21:54:25 +03:00
Zoltan Kochan
5e53549364 chore(renovate): add packageRules
close #1851
close #1853
close #1905
close #1960
2019-09-19 01:01:33 +03:00
Aparajita Fishman
85faad5138 feat(outdated): add long option, no details by default
Previously, by default the `outdated` commands displayed a “Details” column which usually contained the URL to the package repo. As the URL could be quite long, on narrow terminals it would cause the table to wrap in a way which ruined the table borders.

This commit hides the “Details” column by default, and displays the column if `--long` is passed to the command.

PR #2017
2019-09-19 00:27:38 +03:00
Zoltan Kochan
04b3312051 chore(release): 4.0.0-2 v4.0.0-2 2019-09-18 22:25:32 +03:00
Zoltan Kochan
7c32f6054e chore(deps): update 2019-09-18 21:40:57 +03:00
ExE Boss
f2d17759dd feat(fetch): add type information
PR #2014
2019-09-18 19:11:43 +03:00
ExE Boss
7ab046e6b2 test(pnpm/utils): fix execPnpm.ts
PR #2016
2019-09-18 17:57:55 +03:00