Skip to content

chore: specify yarn 1 in package.json#4279

Merged
fred-bf merged 1 commit intoChatGPTNextWeb:mainfrom
SukkaW:package-json-corepack
Mar 13, 2024
Merged

chore: specify yarn 1 in package.json#4279
fred-bf merged 1 commit intoChatGPTNextWeb:mainfrom
SukkaW:package-json-corepack

Conversation

@SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Mar 13, 2024

Certain Continuous Integration (CI) systems, such as Cloudflare Pages, use the latest version of Yarn by default, whereas ChatGPT-Next-Web utilizes Yarn 1.

This Pull Request (PR) adds the packageManager field to the package.json file, specifying that Yarn 1 should be used. This enables Cloudflare Pages to automatically install and select Yarn 1 for the build process.

This also simplifies the process for contributors who use corepack, enabling them to switch their package manager automatically.

@vercel
Copy link

vercel bot commented Mar 13, 2024

@SukkaW is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

Your build has completed!

Preview deployment

@fred-bf fred-bf merged commit 61ce386 into ChatGPTNextWeb:main Mar 13, 2024
@fred-bf
Copy link
Contributor

fred-bf commented Mar 13, 2024

Thanks for your contribution!

gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
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.

2 participants