mendixlabs / app-services-components

Widgets and General Mendix Utilities made by the App Services Teams.
https://mendixlabs.github.io/app-services-components/
13 stars 9 forks source link
packages widgets
headerIMG



This read me is for Developing on this repo. If you are looking for documentation on a package or a widget please go here

πŸ“‚ Basic Folder Structure

|-- apps
    |
    |-- native-widgets
    |    |- * Native Widgets
    |
    |-- utils
    |   |- * Helper Functions/Published Packages
    |
    |-- web-widgets
    |   |- * Web Widgets

πŸ’… Initial Setup

After cloning the repo, in the Root file run yarn - That will install the all the dependencies

The repos uses Turborepo under the hood, the migration from lerna to Terborepo is still WIP


⛑️ Helper Scripts

Remove node_modules from packages - yarn clean:packages

Remove ALL node_modules Hoisted and non Hoisted - yarn clean:all mac and linux only


🐝 Known Errors

πŸ› Error: "A Local Dependency I installed is giving an type error "No Type Declaration found""

πŸ‘πŸ½ Fix: This might be an VSCode error. Close and re-open


βž• Adding an existing Repo to the Mono Repo

Basic command Structure

git subtree add --prefix=packages/[PATH/PROJECT_NAME] [REPO URL] [BRANCH NAME]

# Example:

git subtree add --prefix=packages/web-widgets/dad  git://github.com/ahwelgemoed/drag-and-drop-mendix-widget.git main

This will Create a folder called dad in packages/web-widgets. It will merge git history from ahwelgemoed/drag-and-drop-mendix-widget at the current main branch


πŸ“¦ Versioning and Release your Package

TBA

πŸ’» Versioning and Release your Widget

This packages uses a Github action to build and maintain versioning with lerna version.

For details on the Action see here


✨ Contributors


Justin Roy Tamaela

πŸ€”

✨ Past Contributors


Jelte Lagendijk

πŸ€”πŸ’»βš οΈπŸ“–πŸ’‘πŸš§

Arno Welgemoed

πŸ€”πŸ’»βš οΈπŸ“–πŸ’‘πŸš§

Want/Need