TiddlyWiki Plugin Development with Continuous Integration and npm deployment

36 views
Skip to first unread message

TheDiveO

unread,
Mar 29, 2018, 12:51:09 PM3/29/18
to tiddly...@googlegroups.com
Maybe this might be of interest to other TW5 plugin developers: TW5 plugins, automated NPM package deployment, and Continuous Integration.

My ThirdFlow and TW5FontAwesome plugins are now available as npm packages. The rationale here is that this way other (plugin) projects can pull in "upstream" plugins in a well-defined, standardized manner. Another rationale is, that this allows me to have CI/Continuous Integration for my own plugins, starting with ThirdFlow (npm package "tw5-thirdflow") and TW5FontAwesome (npm package "tw5-fontawesome").

The benefit is: as FontAwesome 5.0.x currently sees a rapid update cycle, all I now need to do is to run an automated update process before automated releases. The release cycle automatically deploys (1) to GitHub pages for a live demonstration, (2) to GitHub releases, and (3) to the NPM registry.

The CI provider is Travis-ci.org, which integrates nicely with GitHub.com. During automated release, the CI script ensures to run a final FontAwesome update, as well as pulls in the most recent upstream TiddlyWiki plugin(s), such as my own ThirdFlow.

Best regards,
TheDiveO

Reply all
Reply to author
Forward
0 new messages