From 6639643077cbc49007afc215c7cb3a5e6a866fb0 Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Mon, 18 Jul 2022 16:15:20 -0700 Subject: [PATCH] Add defaults folder to template --- defaults/defaults.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 defaults/defaults.txt diff --git a/defaults/defaults.txt b/defaults/defaults.txt new file mode 100644 index 0000000..ebf140b --- /dev/null +++ b/defaults/defaults.txt @@ -0,0 +1,13 @@ +If you have plain-text json configs, theme templates, or templates for usage for your plugin of any description you should have those files be in here. +Those files will be pulled into the zip during the build process and included with the upload. Example: CssLoader with it's themes in "default/themes" would have the "themes" folder will be added alongside with the dist folder, main.py, LICENSE and README files in the subfolder of the zip containing the plugin. +Files can also be put in here such as a config, just keep in mind that they this directory cannot be utilized to put files in arbitrary locations, just within the extracted root folder of the plugin, ex: CssLoader has "defaults/themes/..." setup in it's repo, but when packaged to go to the store, the file structure will be: + +- LICENSE +- README +- dist + - index.js +- main.py +- package.json +- plugin.json +- themes + - exampletheme.css \ No newline at end of file