Skip to content

Commit 906ffab

Browse files
authored
chore: adding instructions for adding yarn global bin to path (#560)
1 parent a820ab5 commit 906ffab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ $ yarn setup-dev
3636

3737
> NOTE: The `amplify-dev` binary is built based on the latest amplify cli from npm registry and your local codegen packages. All your local changes from codegen can be reflected (typescript files need to be build by `tsc`). In addition, if you are a developer of cli repo, you can run the same command to override the `amplify-dev` binary.
3838
39+
5. Ensure `amplify-dev` exists on your path.
40+
41+
```sh
42+
$ yarn global bin # retrieve yarn path
43+
```
44+
45+
Update your `$PATH` to include this directory.
46+
3947
### Architecture of the codebase
4048

4149
Amplify Codegen is a monorepo built with [Yarn Workspaces](https://yarnpkg.com/features/workspaces) and [Lerna](https://github.com/lerna/lerna). All packages live within the `packages/` directory in the root. Each category inside packages has its own `src/` and `package.json`.

0 commit comments

Comments
 (0)