A generator for con terra GmbH map.apps. With it, the scaffolding of new bundles will be easy.
First, install Yeoman and generator-mapapps using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-mapapps
With
yo mapapps
you can launch the generator. It provides a selection wheather you want to create an app or a bundle.
To skip the selection and start with the sub-generator directly, simply type yo mapapps:app
to generate an app or yo mapapps:bundle4x
to generate a bundle.
- adding of additional components after initital scaffolding
- adding a live-configuration widget
- bootstrapping a complete map.apps project based on mapapps-4-developers
- Integrate flex based dialog layout with scrollable content section to generated vue template file for 4x bundles.
- Updated dependencies
- Create ESLint compliant vue template
- Allow creation of additional components after bundle initialization - When
yo mapapps
is run inside an existing bundle folder, it is detected automatically as a bundle and an option to create a component instead of a bundle or app. This includes the componentName.js file, entry in bundle's manifest.json and module.js. Even tests are pre-populated for you.
- Allow selection of sub-generator (bundle4x, bundle3x or app3x) through CLI
- Allow creation of map.apps 4.x style Bundles (ES2015+ and simplified manifest.json keys)
- Creation of test folder inside the bundle so that intern tests are prepared and wait to be filled by a brave developper
Apache-2.0 © Julian Kuhlmann