aws / aws/aws-lambda-builders

Feature Request: Pass arbitrary options to the build actions

オープン
#4 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
type/feature
主要言語
Python
スター
380
フォーク
161
平均マージ
1日 1時間
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず node-npm build action と issue に記載されたユースケースを読みます。要求された build オプションのうち、どれを明示的にサポートすべきか、また任意のオプションをどのように設定するかを判断します。受け入れるスコープと動作が定義され、利便性と再現性のトレードオフが解決されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
node.js
領域
build-system
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。