Browserify script for developing using npm modules

139 views
Skip to first unread message

Michael Joseph Rosenthal

unread,
Nov 16, 2016, 3:05:22 PM11/16/16
to TiddlyWikiDev
I put together this browserify script for bundling dependencies in plugins to avoid having to wrap every library I want to use as a tiddler, thought others might find it useful.
plugin_browserify.js

BJ

unread,
Nov 20, 2016, 2:15:35 AM11/20/16
to TiddlyWikiDev
Hi Michael,

I have not used browserify, but am interesting in alternative ways of building plugins. - Do you have an example plugin project that uses this method that you can share?

thanks
BJ

Michael Joseph Rosenthal

unread,
Nov 22, 2016, 12:03:49 AM11/22/16
to tiddly...@googlegroups.com
Sure thing - I went ahead and threw up the code I was writing for my structured-journal prototype and added a little bit of info in the readme.
I develop using the node tiddlywiki, running it with `nodemon --watch wiki/plugins --exec 'tiddlywiki wiki --server 3333'`, then developing the plugin in `./plugins/plugin-name`

Danielo Rodríguez

unread,
Dec 15, 2016, 2:08:00 PM12/15/16
to TiddlyWikiDev

Thank you very much for sharing your dev setup.
I'm still looking for the tiddlywiki plugin develop nirvana.

Thanks,I'll take a look.

Danielo Rodríguez

unread,
Dec 15, 2016, 2:08:26 PM12/15/16
to TiddlyWikiDev
By the way, the github link does not work.

Regards

BJ

unread,
Dec 15, 2016, 2:36:16 PM12/15/16
to TiddlyWikiDev
HI Michael,
thanks for sharing this. I have only just been able to find time to update my node setup and try this out. One thing I had to do was modify Experience.js by changing
import timeInterval, { formatInterval, precision } from './timeInterval'
to
import timeInterval, { formatInterval, precision } from './TimeInterval'

so that

npm run watch


completed.

all the best

BJ

Michael Joseph Rosenthal

unread,
Dec 15, 2016, 7:34:54 PM12/15/16
to TiddlyWikiDev
@Danielo sorry about that - corrected the url to https://github.com/micimize/TW5-structured-journal

@BJ good catch - interesting that that's not an issue for me. Wonder where the case sensitivity difference is coming from

BJ

unread,
Dec 16, 2016, 2:23:23 AM12/16/16
to tiddly...@googlegroups.com
I am using xubuntu 14.04 with node v6.9.2. Windows is case insensitive to file names....

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywikidev/0zwoKDgOE-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywikidev+unsubscribe@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/7db2421a-1ef7-46e8-9805-e21b09ca6bf1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages