`ui5 init` generates ui5.yaml with a wrong type: `type: library` instead of `type: application`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cli
Research direction
Start by reproducing the issue with a package.json containing "type": "module" and run ui5 init from the application root. Inspect the generated ui5.yaml and trace the ui5 init CLI entry point to find the type selection; done means the generated file contains type: application.
Written by the indexing model from the issue text.
Description
When I run ui5 init, it generates ui5.yaml with a wrong type: type: library instead of type: 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
- Install ui5-tooling globally
- Go in console to the root of the app, where package.json is located
- Run
ui5 init - I got
type: library
Context
- UI5 Module Version (output of
ui5 --versionwhen using the CLI):2.12.1 - Node.js Version:
v17.0.0-v8-canary202108258414d1aed8 - npm Version:
7.21.1 - OS/Platform:
Windows 10 21H1 x64 - Browser (if relevant):
not relevant - Other information regarding your environment (optional):
nothing
{...}
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UI5/cli
-
module/ui5-builder
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changes Openmodule/ui5-builder module/ui5-fs module/ui5-project
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
module/ui5-project
Difficulty 4/5 3-5 days Newbie friendliness 64/100
-
roadmap
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·