Commit Graph
7644 Commits
Author SHA1 Message Date
Zoltan Kochan c907984616 feat: publishConfig.linkDirectory (#5125)
close #5115
2022-07-31 03:28:13 +03:00
Zoltan Kochan 44544b493e fix: don't incorrectly identify a lockfile out-of-date (#5126)
when the package has a publishConfig.directory field

close #5124
2022-07-31 02:36:18 +03:00
Zoltan Kochan cd40f8353d chore: use the new experimental lockfile format 2022-07-30 13:01:41 +03:00
Zoltan Kochan 1d84a69e45 ci: add name to update-latest action 2022-07-30 12:47:49 +03:00
Zoltan Kochan 99ab1f335c chore(release): 7.7.1 v7.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 c83f40c106 fix: frozen install in a project with peer deps and auto-install-peers=true (#5120)
close #5080
2022-07-30 03:19:23 +03:00
Zoltan Kochan a80b98a7b8 chore(release): 7.7.0 v7.7.0 2022-07-29 14:50:38 +03:00
Zoltan Kochan 171b8eee34 chore(deps): update 2022-07-29 13:25:47 +03:00
Zoltan Kochan 99019e0716 feat: setting only-built-dependencies through .npmrc 2022-07-29 13:21:41 +03:00
Zoltan Kochan cac34ad690 feat: verify-store-integrity (#5112)
* feat: verify-store-integrity

* docs: update changesets
2022-07-29 03:37:16 +03:00
Zoltan Kochan f774dd1e16 chore(release): 7.7.0-1 v7.7.0-1 2022-07-28 16:42:05 +03:00
Zoltan KochanandBrandon Cheng 4361aea34c fix: don't include specifiers field in new experimental lockfile format (#5110)
* fix: don't include specifiers field in new experimental lockfile format

* test(lockfile-file): update arguments in normalizeLockfile test

* test: lockfile-file

Co-authored-by: Brandon Cheng <gluxon@users.noreply.github.com>
2022-07-28 15:12:57 +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
Alex WareandZoltan Kochan c7519ad6aa fix: plugin-commands-deploy use path resolve on deploy target dir (#5026)
* fix: plugin-commands-deploy use path resolve on deploy target directory (#4980)

Previously the deploy target directory was specified as a relative path
to the workspace project root. This meant that absolute paths could not be used.
Now this uses the current working directory and allows absolute paths,
this is more in line with users expectations of unix command behaivour.

close #4980

* fix: allow both absolute and relative

* docs: update changesets

Co-authored-by: Zoltan Kochan <z@kochan.io>
2022-07-28 02:04:18 +03:00
Zoltan Kochan 1d1fc087ba chore(release): 7.7.0-0 v7.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 01c5834bff fix(make-dedicated-lockfile): prepublishOnly script is automatically … (#5083)
close #5061
close #5062
2022-07-24 03:19:01 +03:00
Zoltan Kochan 107d01109a fix(deploy): inject all types of deps (#5084)
close #5078
2022-07-24 02:56:08 +03:00
Zoltan Kochan dcab3140e8 docs(make-dedicated-lockfile): add deprecation notice
ref https://github.com/pnpm/pnpm/issues/5061#issuecomment-1193118204
2022-07-24 01:27:23 +03:00
Zoltan Kochan 2b859a46a5 ci: fix tagging action 2022-07-22 15:51:14 +03:00
Zoltan Kochan 3dcfec9a69 ci: a new action for tagging 2022-07-22 15:48:43 +03:00
Zoltan Kochan 9a35a899b0 chore(release): 7.6.0 v7.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 8aa4e411dc docs: update changelog 2022-07-20 18:02:50 +03:00
Zoltan Kochan 132b83d1d5 chore(release): 7.6.0-0 v7.6.0-0 2022-07-20 17:54:40 +03:00
Michał BelniakandZoltan Kochan 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
ayu 557755e243 chore: update pnpm-workspace.yaml (#5060) 2022-07-20 02:49:57 +03:00
Zoltan Kochan 80707088c2 refactor(env): releaseDir=>releaseChannel 2022-07-20 01:42:32 +03:00
Zoltan Kochan 0b39315cb1 fix(deps): update 2022-07-19 15:24:09 +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
Simon Schmid af79b6184c fix(audit): add authentication to pnpm-audit (#5053)
Adds authentication to pnpm-audit for private registries

close #5038
2022-07-18 17:09:25 +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
Zoltan Kochan 348580c3f5 fix: document the -r option (#5044)
close #5019
2022-07-17 18:04:07 +03:00
Zoltan Kochan e018a8b140 fix: log more info on HTTP error (#4917) 2022-07-17 18:03:57 +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 31e73ba77a fix(deploy): include all deps by default (#5040)
close #5035
2022-07-17 14:58:34 +03:00
Zoltan Kochan 0e9fa30ac5 fix: running exec/run/dlx with --use-node-version
ref #3595
2022-07-16 17:34:55 +03:00
Cheng 13210db3c3 pnpm rebuild accepts --store-dir (#5036)
* feat: pnpm rebuild accepts --store-dir

* chore: add changeset
2022-07-15 20:03:45 +03:00
Zoltan Kochan 776da1ad8e chore(deps): update 2022-07-14 03:14:19 +03:00
Zoltan Kochan 8782bcba7e chore(release): 7.5.2 v7.5.2 2022-07-14 02:24:09 +03:00
Zoltan Kochan 744d47d90e fix: don't print info messages about .pnpmfile.cjs (#5032)
close #5027
2022-07-14 02:22:08 +03:00
Zoltan Kochan c71215041d fix: summary reporting (#5031) 2022-07-14 02:03:42 +03:00
Zoltan Kochan 701f15819b chore(release): 7.5.1 v7.5.1 2022-07-12 02:44:28 +03:00
William Huang c0b36bfefa feat(file-reporter): remove file reporter (#5012)
close #4949
2022-07-12 02:41:15 +03:00