From b3573b47f3fbe921baff746963fc1d950503eb57 Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Thu, 17 Sep 2026 15:33:14 +0200 Subject: [PATCH 1/3] Show how to use the latest version of the widget generator --- .../pluggable-widgets/create-a-pluggable-widget-one.md | 2 +- .../pluggable-widgets/create-a-pluggable-widget-one.md | 2 +- .../pluggable-widgets/create-a-pluggable-widget-one.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md b/content/en/docs/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md index e91c5a0a8f4..4e9fe259c8d 100644 --- a/content/en/docs/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md +++ b/content/en/docs/howto/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md @@ -63,7 +63,7 @@ Using a terminal or command line, navigate to your new Mendix app's folder, crea ```shell mkdir myPluggableWidgets cd myPluggableWidgets -npx @mendix/generator-widget TextBox +npx @mendix/generator-widget@latest TextBox ``` The generator will ask you a few questions during setup. Answer the questions by specifying the following information: diff --git a/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md b/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md index 819685530bb..809a21c1ff6 100644 --- a/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md +++ b/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md @@ -63,7 +63,7 @@ Using a terminal or command line, navigate to your new Mendix app's folder, crea ```shell mkdir myPluggableWidgets cd myPluggableWidgets -npx @mendix/generator-widget TextBox +npx @mendix/generator-widget@latest TextBox ``` The generator will ask you a few questions during setup. Answer the questions by specifying the following information: diff --git a/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md b/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md index ad62046751c..734585c521c 100644 --- a/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md +++ b/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md @@ -65,7 +65,7 @@ Using a terminal or command line, navigate to your new Mendix app's folder, crea ```powershell mkdir CustomWidgets cd CustomWidgets -npx @mendix/generator-widget TextBox +npx @mendix/generator-widget@latest TextBox ``` The generator will ask you a few questions during setup. Answer the questions by specifying the following information: From 89155ae13c80ae29da327ef7bd5e11f1c1475e1d Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Tue, 22 Sep 2026 11:48:40 +0200 Subject: [PATCH 2/3] Use lts-generator for 9 and 10 guides --- .../pluggable-widgets/create-a-pluggable-widget-one.md | 2 +- .../pluggable-widgets/create-a-pluggable-widget-one.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md b/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md index 809a21c1ff6..dc369be8623 100644 --- a/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md +++ b/content/en/docs/howto10/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md @@ -63,7 +63,7 @@ Using a terminal or command line, navigate to your new Mendix app's folder, crea ```shell mkdir myPluggableWidgets cd myPluggableWidgets -npx @mendix/generator-widget@latest TextBox +npx @mendix/generator-widget@10.24-latest TextBox ``` The generator will ask you a few questions during setup. Answer the questions by specifying the following information: diff --git a/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md b/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md index 734585c521c..8ed5e2306cb 100644 --- a/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md +++ b/content/en/docs/howto9/extensibility/pluggable-widgets/create-a-pluggable-widget-one.md @@ -65,7 +65,7 @@ Using a terminal or command line, navigate to your new Mendix app's folder, crea ```powershell mkdir CustomWidgets cd CustomWidgets -npx @mendix/generator-widget@latest TextBox +npx @mendix/generator-widget@10.24-latest TextBox ``` The generator will ask you a few questions during setup. Answer the questions by specifying the following information: From 1f03b49688a29a90dfe2400bfc0e0d91997a8a82 Mon Sep 17 00:00:00 2001 From: Arjo Bruijnes Date: Tue, 22 Sep 2026 11:53:06 +0200 Subject: [PATCH 3/3] Use latest version tags for npx commands native widgets --- .../howto/extensibility/build-native-widget.md | 2 +- .../howto10/extensibility/build-native-widget.md | 14 +------------- .../howto9/extensibility/build-native-widget.md | 14 +------------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/content/en/docs/howto/extensibility/build-native-widget.md b/content/en/docs/howto/extensibility/build-native-widget.md index 948443b13fb..2240e8c6641 100644 --- a/content/en/docs/howto/extensibility/build-native-widget.md +++ b/content/en/docs/howto/extensibility/build-native-widget.md @@ -65,7 +65,7 @@ To scaffold your app folder for the group box widget, follow these steps: 3. Start the generator by executing the following command: ```shell - npx @mendix/generator-widget GroupBox + npx @mendix/generator-widget@latest GroupBox ``` 4. The generator will ask you for some input during setup. Provide this information to the generator: diff --git a/content/en/docs/howto10/extensibility/build-native-widget.md b/content/en/docs/howto10/extensibility/build-native-widget.md index 2cfcb71e2d2..30bc4076069 100644 --- a/content/en/docs/howto10/extensibility/build-native-widget.md +++ b/content/en/docs/howto10/extensibility/build-native-widget.md @@ -35,18 +35,6 @@ Before starting this how-to, make sure you have completed the following prerequi * Install the latest version of Mendix Studio Pro * Install the Mendix Make It Native app on a mobile device or an emulator. * Install the LTS version of [Node.js](https://nodejs.org). -* Install the latest [Yeoman](https://yeoman.io/) with the following command: - - ```shell - npm install -g yo - ``` - -* Install the latest Mendix Pluggable Widget Generator for Yeoman with the following command: - - ```shell - npm install -g @mendix/generator-widget - ``` - * Install an integrated development environment (IDE) of your choice (Mendix recommends [Microsoft Visual Studio Code](https://code.visualstudio.com/)) * Have a basic understanding of: * Microsoft's Command Prompt or the Unix command line @@ -77,7 +65,7 @@ To scaffold your app folder for the group box widget, follow these steps: 3. Start the generator by executing the following command: ```shell - yo @mendix/widget GroupBox + npx @mendix/generator-widget@10.24-latest GroupBox ``` 4. The generator will ask you for some input during setup. Provide this information to the generator: diff --git a/content/en/docs/howto9/extensibility/build-native-widget.md b/content/en/docs/howto9/extensibility/build-native-widget.md index d5423c60a60..41eaef55303 100644 --- a/content/en/docs/howto9/extensibility/build-native-widget.md +++ b/content/en/docs/howto9/extensibility/build-native-widget.md @@ -35,18 +35,6 @@ Before starting this how-to, make sure you have completed the following prerequi * Install the latest version of Mendix Studio Pro * Install the Mendix Make It Native app on a mobile device or an emulator. * Install the LTS version of [Node.js](https://nodejs.org). -* Install the latest [Yeoman](https://yeoman.io/) with the following command: - - ```shell - npm install -g yo - ``` - -* Install the latest Mendix Pluggable Widget Generator for Yeoman with the following command: - - ```shell - npm install -g @mendix/generator-widget - ``` - * Install an integrated development environment (IDE) of your choice (Mendix recommends [Microsoft Visual Studio Code](https://code.visualstudio.com/)) * Have a basic understanding of: * Microsoft's Command Prompt or the Unix command line @@ -77,7 +65,7 @@ To scaffold your app folder for the group box widget, follow these steps: 3. Start the generator by executing the following command: ```shell - yo @mendix/widget GroupBox + npx @mendix/generator-widget@10.24-latest GroupBox ``` 4. The generator will ask you for some input during setup. Provide this information to the generator: