Skip to content

Commit 08cb8bb

Browse files
author
Manas Talukdar
committed
Updated development process.
1 parent 455bc3e commit 08cb8bb

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,23 @@ export default {
163163
164164
It is highly recommended to use [VS Code](https://code.visualstudio.com/).
165165
166+
I have an open issue to make development, testing and deployments easier but for now following steps have to be followed:
167+
168+
1. Make changes in this project.
169+
2. Update version in package.json.
170+
3. `npm run build`
171+
4. `npm run pack`
172+
5. In a separate test project that includes this npm package:
173+
1. Change the entry in its package.json to: `"markdown-it-textual-uml": "file:./markdown-it-textual-uml-0.1.3.tgz"`. Change 0.1.3 to version from step 2.
174+
2. Run `npm cache clean --force`.
175+
3. Delete its package-lock.json.
176+
4. Delete folder for `markdown-it-textual-uml` from within the node_modules folder.
177+
5. Run `npm install`.
178+
179+
Once we have the changes tested out, revert back all changes in the test project.
180+
181+
Now, in this project, run `npm publish`. Then tag the `develop` branch. Then merge develop to master. Then create a GitHub release at the tag.
182+
166183
## References
167184
168185
Here are some alternative npm packages:

0 commit comments

Comments
 (0)