node-orb icon indicating copy to clipboard operation
node-orb copied to clipboard

Feat: adding support for pnpm

Open ramykl opened this issue 1 year ago • 16 comments

SEMVER Update Type:

  • [ ] Major
  • [ ] Minor
  • [ ] Patch

I would assume it is just a patch or minor as it doesn't change any of defaults or the normal behaviours, just adds an optional extra feature of pnpm as a package manager.

Description:

  • add support for pnpm as a package manager
  • fix test-deploy.yml node/test and node/run steps to find the correct lock files for the corresponding pkg-manager by removing the other ones

Motivation:

Closes Issues:

  • https://github.com/CircleCI-Public/node-orb/issues/167
  • https://github.com/CircleCI-Public/node-orb/issues/89

Also shows how someone could do this:

  • https://github.com/CircleCI-Public/node-orb/issues/194

Checklist:

  • [x] All new jobs, commands, executors, parameters have descriptions.
  • [x] Usage Example version numbers have been updated.
  • [ ] Changelog has been updated.

ramykl avatar Dec 06 '23 10:12 ramykl

Not sure what I need to do to get the circleCI checks to run here or if it requires a review to trigger them. I'm not sure the uninstall steps are correct for pnpm as I just took the yarn steps. I didn't see a test for those. Possibly should just be simplified to assume pnpm was installed via npm install -g pnpm.

It would be great to have a bit more documentation about contributing and how to get all the checks to run.

ramykl avatar Dec 07 '23 09:12 ramykl

@KyleTryon Any help on getting these final tests to run here (btw they pass on my circleCI PR to my master branch)? Or what else I can do to get this PR to be processed?

ramykl avatar Dec 27 '23 21:12 ramykl

Here it is against main on my fork with the checks successful and complete https://github.com/ramykl/node-orb/pull/1

ramykl avatar Jan 02 '24 11:01 ramykl

@KyleTryon Any chance to get a review on this? This would help with support on the cypress orb as well. https://github.com/cypress-io/circleci-orb/pull/445

jennifer-shehane avatar Jan 18 '24 21:01 jennifer-shehane

Hello all 👋 I just got back from vacation and ran your tests, all looks good! We're going to add this shortly, we just want to try to merge in some fixes before adding this feature. I'll update here shortly. Thanks again!

KyleTryon avatar Jan 23 '24 17:01 KyleTryon

Any updates here? @KyleTryon

ramykl avatar Feb 14 '24 09:02 ramykl

Any updates here? @KyleTryon

Sorry, I am no longer a member of CircleCI.

KyleTryon avatar Feb 19 '24 12:02 KyleTryon

Sorry, I am no longer a member of CircleCI.

Sorry to hear that.

ramykl avatar Feb 20 '24 11:02 ramykl

@brentmmarks Any chance of a review/update?

ramykl avatar Feb 20 '24 11:02 ramykl

@EricRibeiro any chance of a review/update? Would be great to get this merged

ramykl avatar Mar 04 '24 12:03 ramykl

@EricRibeiro any chance of a review/update? Would be great to get this merged

I'm sorry, but I'm no longer working at CircleCI. It would be best to reach out to their support team for assistance with this pull request.

EricRibeiro avatar Mar 04 '24 13:03 EricRibeiro

@brentmmarks Any chance of a review and merge please?

ramykl avatar Mar 08 '24 10:03 ramykl

@felicianotech any chance you could review this ?

ashfaqnisar avatar Apr 19 '24 08:04 ashfaqnisar

Any news?

CodeBooster97 avatar May 02 '24 07:05 CodeBooster97

@ashfaqnisar or @felicianotech any news?

ramykl avatar May 24 '24 13:05 ramykl

very thankful for your resilience @ramykl Also it's somewhat funny that the only employees from circleci to respond are the ones that are no longer employees.

Bump

AlvesJorge avatar Jun 06 '24 15:06 AlvesJorge

@marboledacci any chance of a review?

ramykl avatar Aug 20 '24 09:08 ramykl

Hello @ramykl, after merging master into this, and running the tests, the PNPM tests are failing with:  ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json If you can update this lock to make it work, I can merge it.

marboledacci avatar Aug 20 '24 15:08 marboledacci

Thanks @marboledacci. I have updated it now. Also, I updated the test to get the latest version of pnpm.

ramykl avatar Aug 21 '24 08:08 ramykl