
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
generator-mendix
Advanced tools
Yeoman generator for Mendix widgets.
This generator uses the Yeoman scaffolding tool to let you quickly create a Mendix widget based on the latest AppStoreWidgetBoilerPlate.
First, you need to have NodeJs installed. After that, you need to install Yeoman, Mendix Widget generator and Grunt:
npm install -g yo generator-mendix grunt-cli
Make sure you have the latest version of yo
. The version we work with currently is 1.8.3 (which you can check by running yo --version
)
yo mendix
It will clone the boilerplate, rename your widget according to the options. It also includes a Gruntfile.js
and package.json
for development purposes (see below)
The generator will include Grunt to automate your widget development. Make sure you have Grunt installed.
The following Grunt tasks can be started by typing grunt <TASKNAME>
:
start-modeler
This will try to open the Modeler using the included test-project. (Older versions of the Gruntfile will use grunt start-mendix
)
watch
(this is actually an alias for default, so you can run grunt
without adding this taskname)This watches for changes in your src
folder. When a file is changed, it copies the change to the deployment-folder (so you do not have to restart your project when changing files (with the exception of .xml
files)). It also automatically creates a .mpk
file in your /dist
and test/widgets
folder.
version
This will let you set the version of your widget, the package.xml
, without editing it yourself.
folders
Grunt uses the settings in package.json to determine which folders it uses. If, for example, you use this to develop a widget in your project, you can change the folder in package.json:
...
"testProjectFolder": "./test/",
...
and then check if the path is correct by running the grunt folders
task
build
Cleans old .mpk
files and creates a new one in your /dist
and test/widgets
folder
csslint
Lints through all CSS files that are in the widget/ui
folder and checks for errors
If you download or clone one of our repositories that has a Gruntfile.js
and package.json
included, you need to install the dependencies first to be able to run Grunt:
npm install
to install the dependenciesIssues can be reported on Github.
FAQs
Mendix Widget generator
The npm package generator-mendix receives a total of 0 weekly downloads. As such, generator-mendix popularity was classified as not popular.
We found that generator-mendix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.