Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes pnpm create command (removes extra '--' ) #36496

Closed
wants to merge 1 commit into from

Conversation

rkzofficial
Copy link

@rkzofficial rkzofficial commented Apr 27, 2022

Before:
pnpm create next-app -- --typescript

After:
pnpm create next-app --typescript

Bug

  • Related issues linked using fixes #number
  • Integration tests added
  • Errors have helpful link attached, see contributing.md

Feature

  • Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Integration tests added
  • Documentation added
  • Telemetry added. In case of a feature if it's used or not.
  • Errors have helpful link attached, see contributing.md

Documentation / Examples

  • Make sure the linting passes by running yarn lint

Before:
pnpm create next-app -- --typescript

After:
pnpm create next-app --typescript
@balazsorban44
Copy link
Member

I think this is related to #36360, but ironically your suggestion throws an error for me locally.

Do you have some documentation link why this is necessary? Is this a recent change in pnpm? 🤔

Copy link
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

Hi, this is correct as is and pnpm requires specifying args that should be passed to the subcommand after --. Thanks for the PR though!

@ijjk ijjk closed this Apr 27, 2022
@rkzofficial rkzofficial deleted the patch-1 branch April 28, 2022 10:48
kodiakhq bot pushed a commit that referenced this pull request May 19, 2022
## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

x-ref: #37045
x-ref: #37032
x-ref: #36602
x-ref: #36496
kodiakhq bot pushed a commit that referenced this pull request May 27, 2022
This command changed in pnpm [6.32.13](https://github.com/pnpm/pnpm/releases/tag/v6.32.13) and [7.1.1](https://github.com/pnpm/pnpm/releases/tag/v7.1.1) so lets update it since its been a few weeks and we can expect pnpm users to update more regularly than npm users.

- Fixes #37240 
- Fixes #37045
- Fixes #37032
- Fixes #36602
- Fixes #36496
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2022
LuighiV pushed a commit to openpolitica/create-openpolitica-nextjs-app that referenced this pull request Aug 24, 2022
This command changed in pnpm [6.32.13](https://github.com/pnpm/pnpm/releases/tag/v6.32.13) and [7.1.1](https://github.com/pnpm/pnpm/releases/tag/v7.1.1) so lets update it since its been a few weeks and we can expect pnpm users to update more regularly than npm users.

- Fixes vercel/next.js#37240 
- Fixes vercel/next.js#37045
- Fixes vercel/next.js#37032
- Fixes vercel/next.js#36602
- Fixes vercel/next.js#36496
slukin1 pushed a commit to slukin1/tempppp that referenced this pull request Jul 17, 2023
This command changed in pnpm [6.32.13](https://github.com/pnpm/pnpm/releases/tag/v6.32.13) and [7.1.1](https://github.com/pnpm/pnpm/releases/tag/v7.1.1) so lets update it since its been a few weeks and we can expect pnpm users to update more regularly than npm users.

- Fixes vercel/next.js#37240 
- Fixes vercel/next.js#37045
- Fixes vercel/next.js#37032
- Fixes vercel/next.js#36602
- Fixes vercel/next.js#36496
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants