Skip to content

Commit

Permalink
build(yarn): migrate to CorePack
Browse files Browse the repository at this point in the history
Signed-off-by: charelle <[email protected]>
  • Loading branch information
charellesandig committed Mar 15, 2023
1 parent 6335787 commit 963f846
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]",
"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",
Expand Down

0 comments on commit 963f846

Please sign in to comment.