
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
@mendix/generator-widget
Advanced tools
The Mendix Pluggable Widget Generator is a scaffolding tool to let you quickly create a Mendix Pluggable Widget.
Generate your new project inside an empty folder:
npx @mendix/generator-widget
or automatically create the folder using:
npx @mendix/generator-widget MyWidgetName
Note that MyWidgetName
can consist of space characters as well.
Provide the following information about your widget project (press if you want to skip and use the default values):
The full widget boilerplate is a fully developed and tested Mendix React widget that shows a value as a badge or a color label (just available for web/responsive platforms). It has the following features:
The empty template is a Mendix React hello world widget recommended for more experienced developers.
If Yes
is selected, unit tests are included to ensure individual units of the component are tested to determine whether they are fit for use. The default value is No
.
If Yes
is selected, end-to-end tests are included to ensure that the integrated components of an application function as expected. The default value is No
.
Note: Both Unit
and End-to-end
tests apply only to the Full Boilerplate. End-to-end
is exclusive for web and PWA apps.
The tool will then create copied files, and run npm install
to install development dependencies.
The widget generator will include the necessary files and tasks to your package.json for running the tasks over the Pluggable Widgets Tools.
If necessary you can run the tasks using the commands:
npm start
npm run build
npm run release
To build and watch for source code changes while developing, run the Mendix project located at the specified Mendix project path
and run:
npm start
Issues can be reported on Github.
FAQs
Mendix Pluggable Widgets Generator
The npm package @mendix/generator-widget receives a total of 98 weekly downloads. As such, @mendix/generator-widget popularity was classified as not popular.
We found that @mendix/generator-widget demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.