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
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
Before you start developing or making any changes to the project, ensure that you have installed the project dependencies via
6
6
7
-
npm install
7
+
pnpm install
8
8
9
9
This ensures the project toolchain is set up correctly. Specifically, this will install a husky commit hook that ensures commit messages follow the project guidelines.
10
10
@@ -50,8 +50,8 @@ To publish packages to a local registry, do the following:
50
50
1. Start Verdaccio by running `nx local-registry` in a terminal. This will become your main registry while the process is running.
51
51
2. From the plugin project root run `nx build nx-forge`
52
52
3. Make sure the `version` field in `dist/packages/nx-forge/package.json` is unique (not yet published, you may use `9.9.9-alpha.1` and increase the alpha count on each subsequent release).
53
-
4. From `dist/packages/nx-forge` run `npm publish`
54
-
5.On the consumer side you can now install the latest package version by running `npm i @toolsplus/nx-forge@latest`
53
+
4. From `dist/packages/nx-forge` run `pnpm publish`
54
+
5.On the consumer side you can now install the latest package version by running `pnpm add @toolsplus/nx-forge@latest`
55
55
56
56
Note that as soon as you terminate the process with the local Verdaccio registry, you will get back your previous registry configuration.
57
57
@@ -66,9 +66,9 @@ From the project root run
66
66
This will update Nx project dependencies in package.json and create a migrations.json file.
67
67
Make sure package.json changes make sense and then run
68
68
69
-
npm install
69
+
pnpm install
70
70
71
-
Once the npm command completes run
71
+
Once the install completes, run
72
72
73
73
nx migrate --run-migrations
74
74
@@ -80,4 +80,4 @@ Finally, proceed with committing and submitting the changes to the repo.
80
80
81
81
## Update plugin dependencies
82
82
83
-
If you are add or update plugin dependencies that the nx-forge plugin depends on, i.e. not dependencies used to build the nx-forge plugin, their version must be updated in `packages/nx-forge/package.json` to match the installed version. There are ESLint rules in place to verify that this correct and that all plugin dependencies are declared in the package.json.
83
+
If you add or update plugin dependencies that the nx-forge plugin depends on, i.e., not dependencies used to build the nx-forge plugin, their version must be updated in `packages/nx-forge/package.json` to match the installed version. There are ESLint rules in place to verify that this is correct and that all plugin dependencies are declared in the package.json.
0 commit comments