Skip to content

Remove over-matching "**/build/**" pattern from alwaysIgnore.ts#41

Open
fALKENdk wants to merge 1 commit intobacknotprop:mainfrom
fALKENdk:patch-1
Open

Remove over-matching "**/build/**" pattern from alwaysIgnore.ts#41
fALKENdk wants to merge 1 commit intobacknotprop:mainfrom
fALKENdk:patch-1

Conversation

@fALKENdk
Copy link
Copy Markdown

Hi,

I noticed the ignore list in alwaysIgnore.ts has this glob: "**/build/**".

This ends up ignoring any folder named build anywhere in a project — even if it’s just a normal source folder and not build output. That means those files won’t show up in Power Tower and can’t be added manually.

This PR changes it so only the root-level build/ folder is ignored. That should still cover normal build output, but won’t hide other build folders that are part of the source.

The "**/build/**" pattern ignores any folder named "build" at any depth.
This hides valid source directories if they happen to be named "build",
and those files cannot be added manually in Power Tower.

Kept "build/" to ignore only the root-level build folder, which is
typical for build output, while allowing other "build" folders to be visible.

Why: Prevent hiding valid source folders named "build"
@backnotprop
Copy link
Copy Markdown
Owner

@fALKENdk do you have an example open source repo. Im worried about monorepos.

I can also make a better way to disable builtins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants