felangel / felangel/mason

fix: `bundle` includes ephemeral and ignored files

Open
#781 8 comments 4 reactions 0 assignees View on GitHub
customer:🦄 enhancement
Dominant language
Dart
Stars
1.1k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.