felangel / felangel/mason

fix: `bundle` includes ephemeral and ignored files

未关闭
#781 8 条评论 4 个 reaction 已指派 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 摘要。