Commit Graph

266 Commits

Author SHA1 Message Date
Zoltan Kochan
67d8b65d2e feat: time-based resolution mode (#5238) 2022-09-02 14:54:10 +03:00
Zoltan Kochan
53506c7aeb fix: don't modify the inject project's manifest (#5294) 2022-09-02 02:37:01 +03:00
Zoltan Kochan
7b2e5cdc9d chore(release): 7.9.5 2022-08-24 14:55:25 +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
Zoltan Kochan
93e0d0f209 chore(release): 7.9.4 2022-08-23 03:33:10 +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
052f73d45b chore(release): 7.9.4-0 2022-08-18 12:35:37 +03:00
Zoltan Kochan
f815b6ca39 chore(release): 7.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
dbac0ca01d fix(deps): update (#5190)
close #5191
2022-08-14 00:19:54 +03:00
Zoltan Kochan
850cf0a8ee chore(release): 7.9.1 2022-08-10 12:41:58 +03:00
Remus Mate
2b2d93028e docs: fix typos much -> match (#5178) 2022-08-09 17:25:24 +03:00
Dominic Elm
5035fdae12 feat: add new hook that runs pre resolution (#5143)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-08-08 14:14:16 +03:00
MCMXC
b67d3049b8 refactor: autoremove redundant disabled lint occurrences (#5169)
- add reportUnusedDisableDirectives true to eslint-config
- run 'lint:ts --fix' which autoremoves all redundant disabled lint occurrences
2022-08-06 21:29:44 +03:00
Zoltan Kochan
c9ce2725c4 chore(release): 7.9.0 2022-08-06 18:19:52 +03:00
Zoltan Kochan
f5f0e4348e chore(release): 7.9.0-0 2022-08-03 17:48:37 +03:00
Zoltan Kochan
8103f92bd6 fix: deprecation warnings on Node.js 16 (#5150) 2022-08-03 17:42:00 +03:00
Anthony DePasquale
9cebb77d0e fix: change "up-to-date" to "up to date" where necessary (#5148) 2022-08-03 14:07:56 +03:00
Zoltan Kochan
43cd6aaca3 feat: ignore-dep-scripts (#5142) 2022-08-02 11:40:31 +03:00
Zoltan Kochan
29a81598ac feat: ignore-compatibility-db (#5140)
close #5132
2022-08-02 01:47:01 +03:00
Zoltan Kochan
761be978b2 chore(release): 7.8.0 2022-07-31 11:25:05 +03:00
子瞻 Luci
fe2cc46238 chore: fix typo (#5128) 2022-07-31 11:15:02 +03:00
Zoltan Kochan
c907984616 feat: publishConfig.linkDirectory (#5125)
close #5115
2022-07-31 03:28:13 +03:00
Zoltan Kochan
99ab1f335c chore(release): 7.7.1 2022-07-30 12:23:37 +03:00
Zoltan Kochan
c7d65fe7fb fix: don't incorrectly consider a lockfile to be out-of-date (#5121) 2022-07-30 12:22:29 +03:00
Zoltan Kochan
a80b98a7b8 chore(release): 7.7.0 2022-07-29 14:50:38 +03:00
Zoltan Kochan
f774dd1e16 chore(release): 7.7.0-1 2022-07-28 16:42:05 +03:00
Zoltan Kochan
8dcfbe3572 fix: relink the project when its publish directory changes (#5109)
* fix: relink the project when its publish directory changes

* test: publish directory
2022-07-28 14:56:20 +03:00
Zoltan Kochan
1d1fc087ba chore(release): 7.7.0-0 2022-07-27 12:39:42 +03:00
Brandon Cheng
4fa1091c80 feat: add experimental use-inline-specifiers-lockfile-format (#5091)
* feat: add experimental use-inline-specifiers-lockfile-format

* fix(lockfile-file): check importers key for shared lockfile format

The `convertFromLockfileFileMutable` function reverts changes from
`normalizeLockfile` when not using the shared lockfile format.

  - The non-shared lockfile format puts fields like `specifiers`,
    `dependencies`, `devDependencies`, `optionalDependencies`, and
    `dependenciesMeta` on the root of the lockfile. This is typically
    the case for a repo not using pnpm workspaces.
  - The shared lockfile format puts these under a `importers` block
    scoped by a path.

The `use-inline-specifiers-lockfile-format` feature flag removes the
`specifiers` block in favor of putting each specifier next to the
resolved version within each `dependencies`, `devDependencies`, etc
block.

This means the `convertFromLockfileFileMutable` function can no longer
check for `specifiers` to detect the whether the "shared" format is
used. @zkochan suggested checking for `importers` instead, which should
have the same effect.
https://github.com/pnpm/pnpm/pull/5091#discussion_r929326835

* test(lockfile-file): add read & write test for useInlineSpecifiersFormat
2022-07-27 12:27:41 +03:00
Zoltan Kochan
eb2426cf85 fix: symlink a workspace pkg correctly, when it has a custom publish dir (#5089)
close #3901
2022-07-26 03:07:17 +03:00
Zoltan Kochan
9a35a899b0 chore(release): 7.6.0 2022-07-21 18:17:01 +03:00
Zoltan Kochan
0569f10227 fix(deploy): don't modify the lockfile and fail in CI (#5074)
close #5071
2022-07-21 18:15:28 +03:00
Zoltan Kochan
e3f4d131cc fix: auto install root peer deps when auto-install-peers=true (#5067)
close #5028
2022-07-21 18:15:16 +03:00
Zoltan Kochan
7334b347b9 fix(deps): update @pnpm/npm-conf 2022-07-21 00:55:19 +03:00
Zoltan Kochan
132b83d1d5 chore(release): 7.6.0-0 2022-07-20 17:54:40 +03:00
Michał Belniak
406656f806 feat: add lockfile-include-tarball-url option (#5054)
* feat: add save-tarball-url .npmrc option

- add save-tarball-url option, which saves resolved tarball URL to
pnpm-lock.yaml during install or add command

* feat: add save-tarball-url .npmrc option - remove incorrect change

- remove help section for new option

* feat: add lockfile-include-tarball-url option - change option name, add test

- option is now named lockfile-include-tarball-url as suggested by
@zkochan
- add test covering new feature

* feat: add lockfile-include-tarball-url option - add changeset

- add changeset

* refactor: lockfile-include-tarball-url

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-07-20 16:57:47 +03:00
Zoltan Kochan
28f0005096 feat: prefer-symlinked-executables (#5048)
A new setting supported: `prefer-symlinked-executables`
When `true`, on Posix systems pnpm will create symlinks to executables in
`node_modules/.bin` instead of command shims.

This setting is `true` by default when `node-linker` is set to
`hoisted`.

close #4782
2022-07-18 17:18:31 +03:00
Zoltan Kochan
7cba20498a test(script-runners): fix 2022-07-18 04:16:52 +03:00
Zoltan Kochan
0ee3dfbe07 fix: don't print redundant warnings 2022-07-18 02:21:23 +03:00
MCMXC
9eda410253 chore(deps): upgrade sinon to v14 (#5045)
- upgrade sinon throughout packages to 14.0.0
2022-07-17 18:39:29 +03:00
MCMXC
532d5eb79e chore(deps): upgrade nock to v13 (#5043)
- upgrade nock throughout packages to 13.2.8
- remove nock from packageRules in renovate.json
2022-07-17 16:41:46 +03:00
Zoltan Kochan
8782bcba7e chore(release): 7.5.2 2022-07-14 02:24:09 +03:00
Zoltan Kochan
701f15819b chore(release): 7.5.1 2022-07-12 02:44:28 +03:00
Zoltan Kochan
d89bb43f2d fix: don't symlink the autoinstalled peers to the root of node_modules (#4998)
close #4988
2022-07-09 00:58:23 +03:00
Zoltan Kochan
716a29acc9 chore(deps): update 2022-07-06 03:01:33 +03:00
Zoltan Kochan
c1493a4c55 chore(release): 7.5.0 2022-07-02 16:07:26 +03:00