NOTE: Please, keep in mind that this repo is still in process of migration. Some of the scripts, CI actions or other tools may not work or be unstable. We hardly working on fixing all this issues. Please, if you find some problem with pnpm, testing, running or building, let us know about the problem by submitting issue on GitHub.
A bundle of R&D Platform supported widgets & nanoflow actions for building web apps.
For issues and bugs related to CSS, Widgets, Atlas or JS Actions, please contact Mendix Support
$ pnpm install
$ cd packages/<widget-you-wish-to-start-work-on>
$ pnpm startnodeversion 16 -- we recommend use nvm for installing and managin node on you local env, but you can download and install node from official websitepnpmveresion 7.3.0 or higher – please visit Installation docs section to get instruction on how to install pnpm in your local env.
As we are using node-gyp in our dependencies, please make sure to install the required dependencies for this library according to your OS.
- Mendix projects for each widget already comes with repo with folder called
packages/pluggableWidgets/<widgetName>/tests/testProject. - Run
pnpm run pretest:e2eto initialize Mendix project. - Run
pnpm run buildon a desired widget folder. For ex:packages/pluggableWidgets/badge-web. This will build and copy the mpk to each Mendix project's correct widget folder. - Open and run the project in
<widgetName>/tests/testProjectwith Mendix Studio. - If you want to override your local test project with a test project from GitHub, execute the
test:e2enpm script with the following command:pnpm run test:e2e -- --update-test-project.
- Go to
https://github.com/mendix/testProjectsand create an appropriate branch name from master - Add your .mpr files, commit and push (remember your branch name)
- Go to
web-widgetsmonorepo and in thepackage.jsonof the widget insert the branch name in the test project section.
See CONTRIBUTING.md.
- We encourage everyone to open a Support ticket on Mendix Support in case of problems with widgets or scaffolding tools (Pluggable Widgets Generator or Pluggable Widgets Tools)