Skip to content

Commit 786250c

Browse files
committed
feat: use cache dir per OS convention
1 parent 20a247c commit 786250c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platformPackager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ export abstract class PlatformPackager<DC extends PlatformSpecificBuildOptions>
196196
if (defaultMatcher.isEmpty()) {
197197
defaultMatcher.addPattern("**/*")
198198
}
199-
defaultMatcher.addPattern("!**/node_modules/*/{README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples}")
199+
defaultMatcher.addPattern("!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,.yarn-integrity}")
200200
defaultMatcher.addPattern("!**/node_modules/.bin")
201201
defaultMatcher.addPattern("!**/*.{o,hprof,orig,pyc,pyo,rbc,swp}")
202202
defaultMatcher.addPattern("!**/._*")
203203
//noinspection SpellCheckingInspection
204-
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output}")
204+
defaultMatcher.addPattern("!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock}")
205205

206206
let rawFilter: any = null
207207
const deprecatedIgnore = (<any>this.devMetadata.build).ignore

0 commit comments

Comments
 (0)