Giter Club home page Giter Club logo

generator-ui5-ts-app's Introduction

we're UI5, folks!

This is the head space of the UI5 community.

generator-ui5-ts-app's People

Contributors

akudev avatar alexanderk22 avatar benediktvolke avatar dfenerski avatar gregorwolf avatar marianfoo avatar petermuessig avatar vobu avatar wridgeu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

generator-ui5-ts-app's Issues

Add testing skeleton to the template

Hi,

it would be great if a testing skeleton could be added to the TypeScript OpenUI5 template. The official Javascript examples on the website seems to include testing and I think it would be useful to include into the template as it always takes a bit of time to setup a skeleton for unit testing etc.

Thank you.

Issue with easy ui5 ts project creation

Easy-Ui5 version:

Run yo easy-ui5 --plugins to print all relevant version strings

Node.js: v18.16.0
yeoman-environment: 3.19.3
generator-easy-ui5: 3.6.1
home: /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/generator-easy-ui5
pluginsHome: /Users/tylervanzanten/.npm/_generator-easy-ui5/plugin-generators

Available generators:

  • ui5-ts-app: 1.0.1
  • ui5-project: 0.3.1

OS/version:

Mac OS 13.4 (22F66)

Browser/version (+device/version):

Steps to reproduce the problem:

  1. Run npm install -g yo generator-easy-ui5
  2. Run yo easy-ui5 ts-app

What is the expected result?

I will asked a series of questions and after I am finished answering an OpenUI5 TypeScript application will have been generated.

What happens instead?

     _-----_
    |       |    ╭──────────────────────────╮
    |--(o)--|    │  Welcome to the easy-ui5 │
   `---------´   │     3.6.1 generator!     │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `


✖ An error occured while running easy-ui5:app#prompting
Error easy-ui5 ts-app

Cannot find module 'semver'
Require stack:
- /Users/tylervanzanten/.npm/_generator-easy-ui5/plugin-generators/generator-ui5-ts-app/generators/app/index.js
- /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/yo/node_modules/yeoman-environment/lib/util/esm.js
- /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/yo/node_modules/yeoman-environment/lib/store.js
- /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/yo/node_modules/yeoman-environment/lib/environment.js
- /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/yo/lib/router.js
- /Users/tylervanzanten/.nvm/versions/node/v18.16.0/lib/node_modules/yo/lib/cli.js

Any other information? (attach screenshot if possible)

Newly generated projects throw errors and warning

Using the latest version of the generator results in some warnings and errors in the console.

Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -  
Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -  
Element sap.m.App#__component0---app--app: page stack is empty but should have been initialized - application failed to provide a page to display -

GET http://localhost:8080/resources/sap/m/manifest.json 404 (Not Found)

Did place the view target 'sap.m.demo.view.Main' with the id '__component0---main' into the aggregation 'pages' of a control with the id '__component0---app--app' - EventProvider sap.m.routing.Target

GET http://localhost:8080/resources/sap/ui/core/manifest.json 404 (Not Found)

navigation to view with id: __component0---main is skipped since it already is displayed by its targetControl - sap.m.routing.TargetHandler 

The route named 'main' did match with its pattern - EventProvider sap.ui.core.routing.Route

The 404 errors should probably be addressed, as they can have an impact on performance (isn't manifest.json essential for ui5 projects? Why does the app work even with the 404 error here). Furthermore there seems to be something wrong with the initial routing (Page stack is empty, navigation skipped). The messages come up multiple times during the loading process. Any ideas?

Add BaseController.ts

Hi,

it would be great if a BaseController will be generated as well. It's pretty convenient to have.

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.