-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui5 init
generates ui5.yaml with a wrong type: type: library
instead of type: application
#551
Comments
The
|
I assumed |
As mentioned above, the type detection is only based on some basic assumptions and currently doesn't do any further analysis of the project files. This could be improved to cover more cases like the one described by you (e.g. searching for a |
IMO, a developer must provide a correct path to the manifest.json of the UI5 app (no need to guess it, just like npm does with package.json), then UI5 Tooling should derive an app type, based on the |
When I run
ui5 init
, it generates ui5.yaml with a wrong type:type: library
instead oftype: application
, although in package.json it's written"type": "module"
.Expected Behavior
ui5.yaml should contain
type: application
Current Behavior
ui5.yaml contains
type: library
Steps to Reproduce the Issue
ui5 init
type: library
Context
ui5 --version
when using the CLI):2.12.1
v17.0.0-v8-canary202108258414d1aed8
7.21.1
Windows 10 21H1 x64
not relevant
nothing
The text was updated successfully, but these errors were encountered: