diff --git a/BUILD.md b/BUILD.md index a784830b530..0d10db473cd 100644 --- a/BUILD.md +++ b/BUILD.md @@ -135,6 +135,12 @@ cd cactus yarn run configure ``` +* Run to enable corepack which helps with managing versions of your package managers. + +```sh +npm run corepack +``` + At this point you should have all packages built for development. You can start making your changes (use your own fork and a feature branch) diff --git a/package.json b/package.json index ea5ab28f46e..3c8bf8daa04 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "reset": "run-s reset:git reset:node-modules reset:yarn-lock configure", "configure": "yarn run init-registries && yarn install --frozen-lockfile --non-interactive && yarn run build:dev:backend", "install-yarn": "npm install --global yarn@1.22.17", + "corepack": "npm i -g corepack && corepack enable && corepack prepare yarn@stable --activate", "custom-checks": "TS_NODE_PROJECT=./tools/tsconfig.json node --trace-deprecation --experimental-modules --abort-on-uncaught-exception --loader ts-node/esm --experimental-specifier-resolution=node ./tools/custom-checks/run-custom-checks.ts", "tools:validate-bundle-names": "TS_NODE_PROJECT=./tools/tsconfig.json node --trace-deprecation --experimental-modules --abort-on-uncaught-exception --loader ts-node/esm --experimental-specifier-resolution=node ./tools/validate-bundle-names.js", "generate-api-server-config": "node ./tools/generate-api-server-config.js",