From 1f631b0a0d57d0177ecb35a7aaa5133bf161b650 Mon Sep 17 00:00:00 2001 From: Stuart Knightley Date: Wed, 30 Mar 2022 12:08:07 -0700 Subject: [PATCH] Update contributing --- documentation/contributing.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/documentation/contributing.md b/documentation/contributing.md index a69bb897..1b61b889 100644 --- a/documentation/contributing.md +++ b/documentation/contributing.md @@ -63,14 +63,15 @@ If you have tested bug fixes or new features, you can open a ## Releasing a new version -1. In `package.json` temporarily change `"./lib/index"` to `"."` +1. In `package.json` temporarily remove `browser["./lib/index"]`. 2. Run `npm test` * Locally open http://localhost:8080/test/ * Or use the SauceLabs configuration above 3. Update `JSZip.version` in `index.js` and in `package.json` 4. Run `grunt` to generate the new dist files * undo the package.json change, it was just needed to replace the `__VERSION__` in the header -5. Undo step 1. +5. Undo step 1. and change version back. 6. Update CHANGES.md +6. Commit the appropriate changes 7. Run `npm version ...` where `...` is `major`, `minor`, or `patch` 8. Run npm publish