[Feature Request]: Allow merging of multiple config files
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- javascript
Rechercherichtung
Start with the UI5 CLI configuration handling for ui5 serve and the ui5.yaml and mockserver.yaml examples in the issue. Define merge precedence and validation behavior for repeated --config inputs; done means both files can be supplied and their settings are combined without the temporary-file workarounds described.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Is your feature request related to a problem? Please describe.
In many projects, including now our own, one sees two or three different YAML configurations for UI5, each doing a different thing (one running with the mockserver middleware, a different one with the fiori local middleware &c.), but all sharing a lot of common information.
Describe the solution you'd like
Suppose I have e.g. ui5.yaml:
specVersion: "2.0"
metadata:
name: ...
type: application
...
and mockserver.yaml:
server:
customMiddleware:
- name: sap-fe-mockserver
beforeMiddleware: compression
configuration:
service:
...
I would like to be able to run e.g. ui5 serve --config ui5.yaml --config mockserver.yaml and have the two config files effectively merged into one configuration.
Describe alternatives you've considered
catting the config files together and passing it toui5, but besides being wonky, the UI5 CLI doesn't support passing configuration on stdin- pasting the two configs into a new file using a pre-run NPM script, passing that to
ui5 serve, deleting it afterwards (also not great)
- Vorherrschende Sprache
- JavaScript
- Sterne
- 510
- Forks
- 82
- Ø Merge
- 23 Std. 51 Min.
- Gemergte PRs (30 T.)
- 58
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesOffenmodule/ui5-builder module/ui5-fs module/ui5-project
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
module/ui5-project
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 64/100
Maintainer antworten meist innerhalb von 1 Tag
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Evtl. wieder frei @flovogt hat das vor 82 Tagen übernommen, und es ist kein Pull Request offen. Offenroadmap
UI5/cli#1485 · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
build excludes from application project are not applied to dependenciesEvtl. wieder frei @flovogt hat das vor 56 Tagen übernommen, und es ist kein Pull Request offen. Offen
UI5/cli#1446 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Option to specify custom UI5 config for workspace dependency resolutionEvtl. vergeben @flovogt hat das vor 182 Tagen übernommen. Offen
UI5/cli#1369 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
micromatch/picomatch#243 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
b310-digital/teammapper#1515 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
c1overzz/dsh-bili-scroll#153 ·
Maintainer antworten meist innerhalb von 1 Tag
-
01 type: bug 21 status: confirmed 41 lvl: easy 62 scope: viewer
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
Maintainer antworten meist innerhalb von 1 Tag