Have a look 
at 
https://github.com/Jermolene/TiddlyWiki5/discussions/5500#discussioncomment-374512

Also, if you use tiddlywiki.files to specify what to include in the plugin, 
you don't need to worry about moving things in and out that you don't want 
included in the plugin.
See https://tiddlywiki.com/#tiddlywiki.files%20Files
and an example 
at: 
https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/codemirror/files

On Friday, June 11, 2021 at 2:17:05 PM UTC+2 Tristan wrote:

> I build a few plugins for TW over the years and the process was quite 
> manual but since I do not change much once it is running I did not bother. 
> However one of my plugins got a few friends of mine interested and so I was 
> looking for a way to streamline the build process. Right now this is what I 
> do:
>
>    1. move hidden artifact (.fslckout) from my SCM system (fossil) out of 
>    the plugin dir
>    2. run "node ./tiddlywiki.js edition/build --build index
>    3. move the artifact back into the plugin dir since it is reqired to 
>    make commits/diff/etc.
>    4. open the resulting index.html file in a browser
>    5. navigate to the plugin
>    6. click on "export to JSON"
>    7. send that file to my friends
>
> What I would like to have is a command that just creates the resulting 
> JSON file without all those manual steps. Is there a TW command that just 
> build a single plugin?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/25e6b209-1f5e-4dcd-a492-d8338b25f1c6n%40googlegroups.com.

Reply via email to