Skip to content

Commit 81cb5eb

Browse files
committedAug 5, 2021
Temporarily update docs for building dist correctly
Broken by f4700f9
1 parent e5b3f0d commit 81cb5eb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed
 

‎documentation/contributing.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ If you have tested bug fixes or new features, you can open a
6363

6464
## Releasing a new version
6565

66-
1. Run `npm test`
66+
1. In `package.json` temporarily change `"./lib/index"` to `"."`
67+
2. Run `npm test`
6768
* Locally open http://localhost:8080/test/
6869
* Or use the SauceLabs configuration above
69-
2. Update `JSZip.version` in `index.js` and in `package.json`
70-
3. Run `grunt` to generate the new dist files
70+
3. Update `JSZip.version` in `index.js` and in `package.json`
71+
4. Run `grunt` to generate the new dist files
7172
* undo the package.json change, it was just needed to replace the `__VERSION__` in the header
72-
4. Update CHANGES.md
73-
5. Run `npm version ...` where `...` is `major`, `minor`, or `patch`
74-
6. Run npm publish
73+
5. Undo step 1.
74+
6. Update CHANGES.md
75+
7. Run `npm version ...` where `...` is `major`, `minor`, or `patch`
76+
8. Run npm publish

0 commit comments

Comments
 (0)
Please sign in to comment.