Feature Request: Pass arbitrary options to the build actions
- Vorherrschende Sprache
- Python
- Sterne
- 380
- Forks
- 161
- Ø Merge
- 1 T. 1 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
**Description:**
Based on experience building `claudia pack`, the team learnt that people kept wanting to add certain tweaks (eg skip the .npmrc file, skip security audits, don’t create package.lock etc). NPM keeps adding these steps into their builds. So they introduced the ability to pass arbitrary flags to NPM.
**Pros**: Easy to support these one off cases
**Cons**: This breaks one of the tenets - "make this builder super easy to reason about". Arbitrary flags make the builder hard to reason about because the output one person gets on his machine will be different from output another person get, because of the flags they have configured.
Ideally, we should implement 80% of these requested features in the build action. But I am opening this feature request to collect use cases for passing arbitrary options to build actions.
**Request by build actions**:
1. node-npm
Beitragsleitfaden
Rechercherichtung
Beginne damit, die node-npm build action und die im Issue aufgeführten Anwendungsfälle zu lesen. Bestimme, welche der angeforderten Build-Optionen explizit unterstützt werden sollten und wie beliebige Optionen konfiguriert würden; abgeschlossen ist die Aufgabe, wenn der akzeptierte Umfang und das Verhalten definiert sind und der Zielkonflikt zwischen Komfort und Reproduzierbarkeit gelöst ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- node.js
- Bereich
- build-system
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100