Skip to content

Glob pattern negate flag is not supported in yarn#1055

Open
fuxingloh wants to merge 1 commit intoyarnpkg:masterfrom
fuxingloh:patch-1
Open

Glob pattern negate flag is not supported in yarn#1055
fuxingloh wants to merge 1 commit intoyarnpkg:masterfrom
fuxingloh:patch-1

Conversation

@fuxingloh
Copy link
Copy Markdown

The glob pattern negate flag in package.json#files is not supported in yarn, it is not written anywhere. Apparently it's an implementation choice through looking at utils/filter.js and cli/pack.js in yarn source and to implement the negate flag it seems like the entire utils/filter.js needs to be rewritten.

I think it might be best to mention this in the docs.

yarnpkg/yarn#7888
team-innovation/vue-sfc-rollup#40
fuxingloh/yarn@62b7282

The glob pattern negate flag in package.json#files is not supported in yarn, it is not written anywhere. 
Apparently it's an implementation choice through looking at utils/filter.js and cli/pack.js in yarn sourcecode.
I think it might be best to mention this in the docs.

yarnpkg/yarn#7888
team-innovation/vue-sfc-rollup#40
fuxingloh/yarn@62b7282
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 27, 2020

Deploy request for yarnpkg pending review.

Review with commit 52feda1

https://app.netlify.com/sites/yarnpkg/deploys

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.

1 participant