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

Switch from Yarn to pnpm #379

Merged
merged 53 commits into from
Apr 20, 2023
Merged

Switch from Yarn to pnpm #379

merged 53 commits into from
Apr 20, 2023

Conversation

ProchaLu
Copy link
Member

@ProchaLu ProchaLu commented Apr 12, 2023

Closes: #375
Closes: #376

Description

This PR switches Preflight from using Yarn as the package manager to pnpm. The switch to pnpm aims to improve the development workflow and speed up the package installation process.

@ProchaLu ProchaLu self-assigned this Apr 12, 2023
@github-actions
Copy link

github-actions bot commented Apr 12, 2023

size-limit report 📦

Path Size
dist/preflight.esm.js 7.14 KB (+0.65% 🔺)

@ProchaLu ProchaLu changed the title Update installation command to use pnpm Update installation commands to use pnpm Apr 12, 2023
.npmrc Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
"size": "size-limit",
"analyze": "size-limit --why",
"build-docker-ts": "tsc --project docker/tsconfig.build.json",
"postinstall": "patch-package"
},
"peerDependencies": {},
"devDependencies": {
"@babel/eslint-parser": "7.21.3",
"@babel/plugin-transform-modules-commonjs": "7.21.2",
"@next/eslint-plugin-next": "13.3.0",
Copy link
Member

Choose a reason for hiding this comment

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

  • probably we can get rid of a lot of these devDependencies as well, especially the ESLint ones
  • and you can switch from @upleveled/eslint-config-upleveled to eslint-config-upleveled, which is the new package name

package.json Outdated Show resolved Hide resolved
@karlhorky
Copy link
Member

I guess the PR title is not accurate anymore, since it also changes the whole Preflight repo to use pnpm

@ProchaLu ProchaLu changed the title Update installation commands to use pnpm Switch from Yarn to pnpm Apr 14, 2023
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.

Switch "dependencies without types" from Yarn to pnpm Switch "single package manager" from Yarn to pnpm
2 participants