Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

chore(Renovate): ⬆️ Update pnpm to v9 #482

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pnpm (source) 8.15.1 -> 9.4.0 age adoption passing confidence

Release Notes

pnpm/pnpm (pnpm)

v9.4.0

Compare Source

v9.3.0

Compare Source

Minor Changes

  • Semi-breaking. Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the peers-suffix-max-length setting #​8177.

Patch Changes

  • Set reporter-hide-prefix to true by default for pnpm exec. In order to show prefix, the user now has to explicitly set reporter-hide-prefix=false #​8174.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.2.0

Compare Source

Minor Changes

  • If package-manager-strict-version is set to true, pnpm will fail if its version doesn't exactly match the version in the "packageManager" field of package.json.

Patch Changes

  • Update @yarnpkg/pnp to the latest version, fixing issue with node: imports #​8161.
  • Deduplicate bin names to prevent race condition and corrupted bin scripts #​7833.
  • pnpm doesn't fail if its version doesn't match the one specified in the "packageManager" field of package.json #​8087.
  • exec now also streams prefixed output when --recursive or --parallel is specified just as run does #​8065.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.4

Compare Source

v9.1.3

Compare Source

v9.1.2

Compare Source

Patch Changes

  • Reduced memory usage during peer dependencies resolution #​8084.
  • Details in the pnpm licenses output are not misplaced anymore #​8071.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v9.1.1

Compare Source

v9.1.0

Compare Source

v9.0.6

Compare Source

v9.0.5

Compare Source

v9.0.4

Compare Source

v9.0.3

Compare Source

v9.0.2

Compare Source

v9.0.1

Compare Source

v9.0.0

Compare Source

Major Changes
  • Node.js v16 support discontinued

    If you still require Node.js 16, don't worry. We ship pnpm bundled with Node.js. This means that regardless of which Node.js version you've installed, pnpm will operate using the necessary Node.js runtime. For this to work you need to install pnpm either using the standalone script or install the @pnpm/exe package.

  • Configuration updates:

    • dedupe-injected-deps: enabled by default.
    • link-workspace-packages: disabled by default. This means that by default, dependencies will be linked from workspace packages only when they are specified using the workspace protocol.
    • hoist-workspace-packages: enabled by default.
    • enable-pre-post-scripts: enabled by default.
    • Use the same directory for state files on macOS as on Linux (~/.local/state/pnpm).
    • pnpm will now check the package.json file for a packageManager field. If this field is present and specifies a different package manager or a different version of pnpm than the one you're currently using, pnpm will not proceed. This ensures that you're always using the correct package manager and version that the project requires.
  • Lockfile changes:

    • Lockfile v9 is adopted. This new format has changes for better readability, and better resistence to Git conflicts.
    • Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 #​7470.
  • Dependency resolution changes:

    • Correct resolution of peer dependencies that have their own peer dependencies.
      Related issue: #​7444.
      Related PR: #​7606.
    • Optional peer dependencies may be resolved from any packages in the dependency graph #​7830.
  • pnpm licenses list prints license information of all versions of the same package in case different versions use different licenses. The format of the pnpm licenses list --json output has been changed #​7528.

  • A new command added for printing completion code to the console: pnpm completion [shell]. The old command that modified the user's shell dotfiles has been removed #​3083.

  • When installing git-hosted dependencies, only pick the files that would be packed with the package #​7638.

Minor Changes
  • It is now possible to install only a subdirectory from a Git repository.

    For example, pnpm add github:user/repo#path:packages/foo will add a dependency from the packages/foo subdirectory.

    This new parameter may be combined with other supported parameters separated by &. For instance, the next command will install the same package from the dev branch: pnpm add github:user/repo#dev&path:packages/bar.

    Related issue: #​4765.
    Related PR: #​7487.

  • node-gyp updated to version 10.

  • PowerShell completion support added #​7597.

  • Support node-options option inside .npmrc file when running scripts #​7596.

  • Added support for registry-scoped SSL configurations (cert, key, and ca). Three new settings supported: <registryURL>:certfile, <registryURL>:keyfile, and <registryURL>:ca. For instance:

    //registry.mycomp.com/:certfile=server-cert.pem
    //registry.mycomp.com/:keyfile=server-key.pem
    //registry.mycomp.com/:cafile=client-cert.pem
    

    Related issue: #​7427.
    Related PR: #​7626.

  • Add a field named ignoredOptionalDependencies. This is an array of strings. If an optional dependency has its name included in this array, it will be skipped #​7714.

  • The checksum of the .pnpmfile.cjs is saved into the lockfile. If the pnpmfile gets modified, the lockfile is reanalyzed to apply the changes #​7662.

  • Added cache for pnpm dlx #​5277.

Patch Changes
  • Package tarballs are not downloaded during --lockfile-only installation #​1328.
  • Peer dependency rules should only affect reporting, not data in the lockfile #​7758.
  • Link overrides should be able to use absolute path #​7749.
  • pnpm dlx should not read settings from the current working directory #​7916.
Platinum Sponsors
Gold Sponsors
Our Silver Sponsors

v8.15.8

Compare Source

v8.15.7

Compare Source

v8.15.6

Compare Source

Patch Changes

  • The exit code of the child process should be preserved on pnpm run #​7817.
  • When sorting packages in a workspace, take into account workspace dependencies specified as peerDependencies #​7813.
  • Add --ignore-scripts argument to prune command #​7836.

Platinum Sponsors

Gold Sponsors

Silver Sponsors

v8.15.5

Compare Source

v8.15.4

Compare Source

v8.15.3

Compare Source

Patch Changes

  • Remove vulnerable "ip" package from the dependencies #​7652.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

v8.15.2

Compare Source

Patch Changes

  • When purging multiple node_modules directories, pnpm will no longer print multiple prompts simultaneously.
  • Don't print an unnecessary warning when adding new dependencies to a project that uses hoisted node_modules.
  • Linking globally the command of a package that has no name in package.json #​4761.
  • Installation should work with lockfile created by pnpm v9.0.0-alpha.4

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors


Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,on sunday,before 5am every weekday" in timezone Asia/Taipei, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added 🧩 dependencies Related to the dependencies 🧰 monorepo Related to the monorepo management labels Apr 20, 2024
Copy link

changeset-bot bot commented Apr 20, 2024

⚠️ No Changeset found

Latest commit: 50efdd4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8423 lines exceeds the maximum allowed for the inline comments feature.

Copy link

codeclimate bot commented Apr 20, 2024

Code Climate has analyzed commit 50efdd4 and detected 0 issues on this pull request.

View more on Code Climate.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from ce65beb to 1e1e984 Compare April 20, 2024 19:09
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8423 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 1e1e984 to 8abd08d Compare April 21, 2024 18:24
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8423 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 8abd08d to da5a68b Compare April 22, 2024 01:51
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8423 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from da5a68b to 1879e4f Compare April 24, 2024 22:18
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 1879e4f to 281598d Compare April 27, 2024 13:49
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 281598d to 3ffc03c Compare May 9, 2024 14:13
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 3ffc03c to 4bb4e9a Compare May 16, 2024 02:43
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 4bb4e9a to 775fb6f Compare May 24, 2024 00:59
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 775fb6f to 00601fb Compare May 30, 2024 10:44
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 00601fb to 105efdf Compare June 2, 2024 12:18
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 105efdf to 260a2e8 Compare June 8, 2024 16:11
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

Copy link

socket-security bot commented Jun 8, 2024

No dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No dependency changes detected in pull request

Copy link
Contributor

github-actions bot commented Jun 8, 2024

Size Change: 0 B

Total Size: 186 kB

ℹ️ View Unchanged
Filename Size
./packages/browserslist/dist/browsers.cjs 173 B
./packages/browserslist/dist/browsers.js 167 B
./packages/browserslist/dist/node.cjs 227 B
./packages/browserslist/dist/node.js 217 B
./packages/constants/dist/main.cjs 276 B
./packages/constants/dist/main.js 244 B
./packages/eslint/dist/index.cjs 3.75 kB
./packages/lint-staged/dist/checks.js 181 B
./packages/lint-staged/dist/chunk-BCQS74IR.js 225 B
./packages/lint-staged/dist/chunk-GVLGZKET.js 226 B
./packages/lint-staged/dist/chunk-GYAFE257.js 269 B
./packages/lint-staged/dist/chunk-I5CYDEBO.js 262 B
./packages/lint-staged/dist/chunk-I636WRXW.js 208 B
./packages/lint-staged/dist/chunk-UXS7MS47.js 252 B
./packages/lint-staged/dist/chunk-XF6WJRIQ.js 426 B
./packages/lint-staged/dist/chunk-ZUNU3G5W.js 324 B
./packages/lint-staged/dist/groups/code-format.js 117 B
./packages/lint-staged/dist/groups/eslint.js 107 B
./packages/lint-staged/dist/groups/markdown.js 112 B
./packages/lint-staged/dist/groups/package-json.js 136 B
./packages/lint-staged/dist/groups/stylesheets.js 118 B
./packages/lint-staged/dist/groups/tests.js 106 B
./packages/lint-staged/dist/groups/typescript.js 115 B
./packages/lint-staged/dist/main.js 441 B
./packages/markdownlint/dist/index.json 309 B
./packages/prettier/dist/index.js 72.3 kB
./packages/prettier/dist/main-ZBOLTEWM.js 9.17 kB
./packages/stylelint/dist/index.cjs 75 kB
./packages/stylelint/dist/main-HZOLMS6I.cjs 9.19 kB
./packages/syncpack/dist/index.js 509 B
./packages/tsup/dist/main.js 345 B
./packages/utils/dist/array.cjs 258 B
./packages/utils/dist/array.js 137 B
./packages/utils/dist/chunk-2EUY5ROG.cjs 742 B
./packages/utils/dist/chunk-AXQUIOJB.cjs 688 B
./packages/utils/dist/chunk-DZORIKCW.js 707 B
./packages/utils/dist/chunk-FFLUHYOO.cjs 313 B
./packages/utils/dist/chunk-I5GJA7OJ.js 291 B
./packages/utils/dist/chunk-NNY7KIY2.js 263 B
./packages/utils/dist/chunk-NTYEA6KO.cjs 672 B
./packages/utils/dist/chunk-RHWTXGRV.js 300 B
./packages/utils/dist/chunk-WYH6VPJI.cjs 285 B
./packages/utils/dist/chunk-XPB3OUOB.js 592 B
./packages/utils/dist/chunk-XRDZ2PSF.js 515 B
./packages/utils/dist/chunk-ZXXKV2AL.cjs 327 B
./packages/utils/dist/extensions.cjs 475 B
./packages/utils/dist/extensions.js 269 B
./packages/utils/dist/has-module.cjs 228 B
./packages/utils/dist/has-module.js 127 B
./packages/utils/dist/main.cjs 836 B
./packages/utils/dist/main.js 491 B
./packages/utils/dist/merge-configs.cjs 233 B
./packages/utils/dist/merge-configs.js 132 B
./packages/utils/dist/paths.cjs 299 B
./packages/utils/dist/paths.js 180 B
./packages/utils/dist/scope.cjs 317 B
./packages/utils/dist/scope.js 164 B
./packages/vitest/dist/base.js 129 B
./packages/vitest/dist/chunk-T256VEOW.js 260 B
./packages/vitest/dist/chunk-XZHYECMR.js 204 B
./packages/vitest/dist/main.js 159 B
./packages/vitest/dist/with-coverage.js 149 B

compressed-size-action

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 260a2e8 to 37ab183 Compare June 13, 2024 14:18
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

@renovate renovate bot force-pushed the renovate/major-project-prerequisities branch from 37ab183 to 50efdd4 Compare June 20, 2024 17:34
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 8425 lines exceeds the maximum allowed for the inline comments feature.

Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧩 dependencies Related to the dependencies 🧰 monorepo Related to the monorepo management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants