Skip to content

Commit

Permalink
feat(pnpm): Add support for PNPM 8.x
Browse files Browse the repository at this point in the history
According to [1] the only breaking change in PNPM 8.0.0 is that the
support for Node.js 14 was dropped, which is not relevant for ORT's PNPM
implementation.

[1]: https://github.com/pnpm/pnpm/blob/main/pnpm/CHANGELOG.md#800

Signed-off-by: Marcel Bochtler <[email protected]>
  • Loading branch information
MarcelBochtler committed Oct 5, 2023
1 parent c0014e7 commit 124422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/package-managers/node/src/main/kotlin/Pnpm.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Pnpm(

override fun command(workingDir: File?) = if (Os.isWindows) "pnpm.cmd" else "pnpm"

override fun getVersionRequirement(): RangesList = RangesListFactory.create("5.* - 7.*")
override fun getVersionRequirement(): RangesList = RangesListFactory.create("5.* - 8.*")

override fun mapDefinitionFiles(definitionFiles: List<File>) = mapDefinitionFilesForPnpm(definitionFiles).toList()

Expand Down

0 comments on commit 124422e

Please sign in to comment.