felangel / felangel/mason

fix: `bundle` includes ephemeral and ignored files

オープン
#781 コメント 8 件 リアクション 4 件 担当者 0 名 GitHub で見る
customer:🦄 enhancement
主要言語
Dart
スター
1.1k
フォーク
113
PR マージ指標
30日以内にマージされた PR はありません

説明

**Description**

Mason's `bundle` (therefore `publish` too) include files ignored by `.gitignore` in the file.
This can lead to a handful of situations where local files are shipped within a brick that the user didn't intend to.
For example: `very_good_flutter_plugin` included several files under `.dart_tool` and `.idea` after running `mason publish` locally. See [this diff](https://github.com/VeryGoodOpenSource/very_good_cli/commit/e10b59e585c7b6a2aa0c8d659be4c827d8deed20#diff-f9b9b3c1300473239cc8da75ca2fc7a407bba63f38c4bbaff25f462facc0e2feL106).


**Expected Behavior**

It is necessary to provide a what to ignore .gitignored files or provide a species of .masonignore file to be placed within

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

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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