Skip to content

Commit

Permalink
example-relay: ignore also scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslav-kubicek authored and mrtnzlml committed Dec 1, 2019
1 parent 2852e46 commit 859be32
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Expand Up @@ -6,4 +6,4 @@ node_modules/
# Reported issue (must be excluded here since it fails on parsing): https://github.com/babel/babel-eslint/pull/777
src/babel-preset-adeira/src/__tests__/__fixtures__/features/internal-slot-properties.js

src/example-relay/flow-typed
src/example-relay/__github__/flow-typed
File renamed without changes.
1 change: 1 addition & 0 deletions src/monorepo-shipit/config/__tests__/example-relay.test.js
Expand Up @@ -11,6 +11,7 @@ testExportedPaths(path.join(__dirname, '..', 'example-relay.js'), [
['src/example-relay/__generated__/AppQuery.graphql.js', '__generated__/AppQuery.graphql.js'],
['src/example-relay/__github__/.flowconfig', '.flowconfig'],
['src/example-relay/__github__/babel.config.js', 'babel.config.js'],
['src/example-relay/__github__/flow-typed/globals.js', 'flow-typed/globals.js'],
[
'src/example-relay/__github__/.github/workflows/continuous-integration.yml',
'.github/workflows/continuous-integration.yml',
Expand Down
3 changes: 2 additions & 1 deletion src/monorepo-shipit/config/example-relay.js
Expand Up @@ -11,11 +11,12 @@ module.exports = {
['src/example-relay/__github__/.flowconfig', '.flowconfig'],
['src/example-relay/__github__/babel.config.js', 'babel.config.js'],
['src/example-relay/__github__/jest.config.js', 'jest.config.js'],
['src/example-relay/__github__/flow-typed', 'flow-typed'],
['src/example-relay/__github__/.github/', '.github/'],
['src/example-relay/', ''],
]);
},
getStrippedFiles(): Set<RegExp> {
return new Set([/__github__/, /^\.babelrc\.js$/, /^jest\.config\.js$/]);
return new Set([/__github__/, /^\.babelrc\.js$/, /^jest\.config\.js$/, /scripts/]);
},
};

0 comments on commit 859be32

Please sign in to comment.