`ui5 init` generates ui5.yaml with a wrong type: `type: library` instead of `type: application`
Les mainteneurs répondent en général sous 2 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 42/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- javascript
- Domaine
- cli
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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
{...}
- Langage dominant
- JavaScript
- Étoiles
- 510
- Forks
- 80
- Merge moyen
- 2 j 22 h
- PR mergées (30 j)
- 12
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesOuvertemodule/ui5-builder module/ui5-fs module/ui5-project
Difficulté 3/5 1-2 jours Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 2 jours
-
module/ui5-project
Difficulté 4/5 3-5 jours Accessibilité débutants 64/100
Les mainteneurs répondent en général sous 2 jours
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Peut-être à nouveau libre @flovogt l’a pris il y a 116 jours, et aucune pull request n’est ouverte. Ouverteroadmap
UI5/cli#1485 · 1 réaction · 1 personne assignée ·
Les mainteneurs répondent en général sous 2 jours
-
build excludes from application project are not applied to dependenciesPeut-être à nouveau libre @flovogt l’a pris il y a 90 jours, et aucune pull request n’est ouverte. Ouverte
UI5/cli#1446 · 3 commentaires · 1 personne assignée ·
Les mainteneurs répondent en général sous 2 jours
-
help provided
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
UI5/cli#1276 · 4 commentaires ·
Les mainteneurs répondent en général sous 2 jours
Issues similaires
-
bug confirmed issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
open-webui/open-webui#35507 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
beginner-friendly category:tests community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 95/100
Berserk-hub150/skillhawk#300 · 1 commentaire ·
-
ds bot的ui上栏有遮挡,导致界面按钮无法使用。Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Fei2411/DeepSeek-Bot#2896 ·
-
文档阅读器中使用toolbar翻页无动画导致体验异常Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
area:ui P2 status:blocked
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
sunososobro-hub/cloudball#1234 ·
Les mainteneurs répondent en général sous 1 jour