nodejs / nodejs/citgm

Support pnpm; add Next.js

Open
#1,017 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
606
Forks
157
Avg merge
3d 23h
Merged PRs (30d)
3

Description

I’d like to add Next.js to CITGM. It uses pnpm to install dependencies, and before its tests can run it needs to be built. See https://github.com/vercel/next.js/blob/canary/contributing/core/developing.md.

Can we add support for pnpm like we do for yarn? And also another flag like build: true that when set runs <npm/yarn/pnpm> run build before running <npn/yarn/pnpm> test?

cc @Ethan-Arrowood

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review CITGM's existing yarn support first, then trace how test commands are configured and run. Implement equivalent pnpm handling and the requested build option so the selected package manager runs build before test. Done means Next.js can install, build, and test through CITGM without changing existing npm or yarn behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, next.js
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.