Skip to content

Need help to contribute #9046

Answered by marekryb
marionLa asked this question in Questions
Feb 26, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi,

This project now uses pnpm package manager (https://pnpm.io/installation) with workspaces.
The way that worked for me so far is:

  1. git clone <your forked repo address>
  2. pnpm install
  3. Select one of the examples (from /examples dir) that uses the thing that you want to modify.
  4. In it's package.json modify keystone package version that you are modifying to workspace:^. Now this example will use source code with your changes instead of released package. Ex:
"@keystone-6/core": "workspace:^",
  1. For additional validation run unit tests (pnpm jest). Some of them will not work in your local environment because they require database setup etc, so you can run just a subset through pnpm jest packag…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dcousens
Comment options

@marekryb
Comment options

@marionLa
Comment options

Answer selected by dcousens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants