-
Notifications
You must be signed in to change notification settings - Fork 9
NodeJS Modules
If we take a look at the node directory we will see the following files in there:
-
ExternalIO.js -
GitHub.js -
MendixCLI.js -
MendixMPKArchiver.js
This backend-layer script is used to alter the folder structure. The folder names, file names and content of files. When you select "File" -> "New Widget" the content you type in is used for this process.
Without the AppStoreWidgetBoilerplate it is a little bit hard to start building your custom widget. That is why this backend-layer provides the ability to download the latest release from the AppStoreWidgetBoilerplate. We use the octonode node module from GitHub for this.
We can startup Mendix with a single F7 key stroke. The MendixCLI.js JavaScript provides this ability to the plugin.
Once of the key features of the plugin is to package the source file of your AppStoreWidgetBoilerplate to an MPK file that can be used with the test project provided in the AppStoreWidgetBoilerplate. This script does that all.