NotionX / NotionX/react-notion-x

Migrate to pnpm + turbo

Open
#429 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.4k
Forks
645
PR merge metrics
No merged PRs in 30d

Description

Description

Just wondering if there is any interest in moving from yarn + lerna to pnpm + turbo.

I've migrated this for myself on a local build and I'm experiencing a better developer experience.
The benefits I've got from it are:

  • Faster installs and dev runs
  • Better documentation (pnpm + turbo)
  • Fewer commands. E.g. This command starts dev for the minimal example and the packages that it depends upon: pnpm dev --filter notion-x-example-minimal...

My main motivation: As someone who started learning web development recently, migrating to pnpm + turbo was easier than learning yarn + lerna.

I can open a PR with the basic configuration if there is some interest in the topic. Feel free to close the issue if not.

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

Start by reviewing the repository's existing yarn and lerna configuration, then compare it with the author's local pnpm and turbo migration. Confirm whether maintainers want the migration before defining the required configuration and validation; done would mean the project uses pnpm and turbo successfully for the described development workflow.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.