Skip to content

feat(jfrog): add pnpm package manager support - #1078

Open
Edd88-pixel wants to merge 2 commits into
coder:mainfrom
Edd88-pixel:eddy/jfrog-pnpm-1074
Open

feat(jfrog): add pnpm package manager support#1078
Edd88-pixel wants to merge 2 commits into
coder:mainfrom
Edd88-pixel:eddy/jfrog-pnpm-1074

Conversation

@Edd88-pixel

@Edd88-pixel Edd88-pixel commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Why

The JFrog token and OAuth modules can configure several package managers, but pnpm is not currently supported. Adding pnpm configuration lets workspaces resolve pnpm packages through Artifactory while preserving the existing npm configuration contract.

Closes #1074.

Changes

  • Add an optional package_managers.pnpm repository list to both JFrog modules.
  • Configure pnpm with jf pnpmc --global --repo-resolve and generate the shared npm/pnpm .npmrc content.
  • Validate that npm and pnpm use the same repository list when both are enabled because they share ~/.npmrc.
  • Add Terraform and Bun coverage for pnpm configuration and mismatched repositories.
  • Document pnpm requirements and usage, and bump both module examples to version 1.3.0.

Validation

  • bun test main.test.ts in jfrog-token: 12 tests passed, 35 assertions.
  • terraform test -verbose in jfrog-oauth: 14 tests passed.
  • terraform validate in both modules: passed.
  • Terraform formatting and Prettier checks: passed.

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Module Information

Paths: registry/coder/modules/jfrog-token, registry/coder/modules/jfrog-oauth
New version: v1.3.0
Breaking change: [ ] Yes [x] No

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun fmt)
  • Changes tested locally

Related Issues

Closes #1074.

@Edd88-pixel
Edd88-pixel marked this pull request as ready for review August 26, 2026 12:26
@Edd88-pixel
Edd88-pixel requested a review from matifali August 26, 2026 15:58
Comment thread registry/coder/modules/jfrog-oauth/run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pnpm support to JFrog modules (jfrog-token, jfrog-oauth)

2 participants