-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'nx-release' into update-lab-1
- Loading branch information
Showing
8 changed files
with
54 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Contributing | ||
|
||
`TODO` | ||
|
||
## Local Package Publishing | ||
|
||
When iterating on the `@nrwl/nx-workshop-e2e` package, it's often helpful to test out a published | ||
version of the package locally. This can be done by starting the local registry, `verdaccio`, and using the `nx release` command. | ||
|
||
To start the local registry, run the `local-registry` target for the root workspace project: | ||
|
||
```bash | ||
nx local-registry | ||
``` | ||
|
||
In another terminal, you can then trigger deployment to that registry by running the `release` target for the `nx-workshop-e2e` project: | ||
|
||
```bash | ||
nx release version prerelease && nx release publish | ||
|
||
# alternatively | ||
nx release-dev nx-react-workshop | ||
``` | ||
|
||
Once your dev version has been published, you can then update the `nx-workshop-e2e` package in your consuming project to the version you just published. | ||
|
||
Since verdaccio configures itself in the `~/.npmrc` file, you can simply install using your standard package manager commands: | ||
|
||
```bash | ||
npm add --save-dev @nrwl/nx-react-workshop@latest | ||
# or alternatively with yarn | ||
yarn add -D @nrwl/nx-react-workshop@latest | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.