You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Run `pnpm nx-release 16.0.0 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use the next major
81
80
- Run `cd ./tmp` in Terminal 2
82
-
- Run `npx create-nx-workspace@16.0.0` in Terminal 2
81
+
- Run `npx create-nx-workspace@17.0.0` in Terminal 2
83
82
84
83
If you have problems publishing, make sure you use Node 18 and NPM 8.
85
84
86
-
**NOTE:** After you finish with local testing don't forget to stop the local registry (e.g. closing the Terminal 1) and disabling the local registy using `pnpm local-registry disable`. Keeping local registry enabled will change your lock file resolutions to `localhost:4873` on the next `pnpm i`. You can also run `pnpm local-registry clear` to clean all packages in that local registry.
87
-
88
85
**NOTE:** To use this newly published local version, you need to make a new workspace or change all of your target packages to this new version, eg: `"nx": "^16.0.0",` and re-run `pnpm i` in your testing project.
89
86
90
87
### Publishing for Yarn 2+ (Berry)
@@ -101,7 +98,7 @@ Yarn Berry operates slightly differently than Yarn Classic. In order to publish
101
98
- localhost
102
99
```
103
100
104
-
- Run `pnpm local-registry start` in Terminal 1 (keep it running)
101
+
- Run `pnpm local-registry` in Terminal 1 (keep it running)
105
102
- If you are creating nx workspace outside of your nx repo, make sure to add npm registry info to your root yarnrc (
106
103
usually in ~/.yarnrc.yml). The file should look something like this:
0 commit comments