generator-ui5-boilerplate v0.4.8
UI5 Boilerplate Generator
Note: š§ This generator is under heavy development. Use at your own risk! š§
This generator is meant for use with Yeoman
Contributions are very welcome! āļø
Installation
First, install Yeoman, generator-ui5-boilerplate and UI5 CLI using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-ui5-boilerplate
npm install -g @ui5/cli
Navigate to your workspace directory and then generate your new project. The generator will ask you a bunch of questions to build a comprehensive boilerplate project for you.
cd ~/workspace
yo ui5-boilerplate
After everything is set up navigate into the newly created project directory. You'll find a quick start guide in the project README.md
file.
TODO
Add unit and integration tests for Simple App template- Add Master/Detail app template
- Add Flexible Column Layout app template
- Add Library template
- Add sub generators for views/controllers
- Add sub generator for control
- Add option to read metadata file from provided OData-Service
- and output entities etc.
- save metadata.xml file for mockserver use
- Add further tests for right file content
Add select questions for documentation purposes (All SAP Roles, ...)Split app templates in base files and layout specific changes/additions (kill redundancy)
Here is a sample output of tree
command for a generated simple-app project.
project-folder
āāā webapp
āĀ Ā āāā controller
āĀ Ā āĀ Ā āāā App.controller.js
āĀ Ā āĀ Ā āāā BaseController.js
āĀ Ā āāā css
āĀ Ā āĀ Ā āāā style.css
āĀ Ā āāā i18n
āĀ Ā āĀ Ā āāā i18n.properties
āĀ Ā āāā localService
āĀ Ā āĀ Ā āāā mockdata
āĀ Ā āĀ Ā āĀ Ā āāā CarrierCollection.json
āĀ Ā āĀ Ā āĀ Ā āāā FlightCollection.json
āĀ Ā āĀ Ā āāā metadata.xml
āĀ Ā āĀ Ā āāā mockserver.js
āĀ Ā āāā model
āĀ Ā āĀ Ā āāā formatter.js
āĀ Ā āĀ Ā āāā models.js
āĀ Ā āāā test
āĀ Ā āĀ Ā āāā integration
āĀ Ā āĀ Ā āĀ Ā āāā pages
āĀ Ā āĀ Ā āĀ Ā āĀ Ā āāā App.js
āĀ Ā āĀ Ā āĀ Ā āĀ Ā āāā Common.js
āĀ Ā āĀ Ā āĀ Ā āāā AllJourneys.js
āĀ Ā āĀ Ā āĀ Ā āāā AppJourney.js
āĀ Ā āĀ Ā āĀ Ā āāā opaTests.qunit.html
āĀ Ā āĀ Ā āāā unit
āĀ Ā āĀ Ā āĀ Ā āāā controller
āĀ Ā āĀ Ā āĀ Ā āĀ Ā āāā BaseController.js
āĀ Ā āĀ Ā āĀ Ā āāā allTests.js
āĀ Ā āĀ Ā āĀ Ā āāā unitTests.qunit.html
āĀ Ā āĀ Ā āāā testsuite.qunit.html
āĀ Ā āāā view
āĀ Ā āĀ Ā āāā dialogs
āĀ Ā āĀ Ā āĀ Ā āāā .gitkeep
āĀ Ā āĀ Ā āāā fragments
āĀ Ā āĀ Ā āĀ Ā āāā .gitkeep
āĀ Ā āĀ Ā āāā App.view.xml
āĀ Ā āāā Component.js
āĀ Ā āāā flpSandbox.html
āĀ Ā āāā flpSandboxMockServer.html
āĀ Ā āāā index.html
āĀ Ā āāā manifest.json
āāā .editorconfig
āāā .eslintignore
āāā .eslintrc
āāā .gitignore
āāā .npmrc
āāā .travis.yml
āāā LICENSE
āāā README.md
āāā karma-ci.conf.js
āāā karma.conf.js
āāā neo-app.json
āāā package-lock.json
āāā package.json
āāā ui5.yaml
15 directories, 41 files
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
MIT Ā© Nils Lutz
GIFs
Because we all love GIFs š