aws / aws/aws-lambda-builders

Feature Request: Pass arbitrary options to the build actions

Aperta
#4 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
type/feature
Lingua principale
Python
Stelle
380
Fork
161
Merge medio
1g 1h
PR unite (30g)
2

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo la node-npm build action e i casi d’uso elencati nell’issue. Determina quali opzioni di build richieste dovrebbero essere supportate esplicitamente e come verrebbero configurate le opzioni arbitrarie; il lavoro è completato quando l’ambito e il comportamento accettati sono definiti e il compromesso tra praticità e riproducibilità è stato risolto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
node.js
Ambito
build-system
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.