Skip to content

Commit

Permalink
export generateSearchPlaces (#7017)
Browse files Browse the repository at this point in the history
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
  • Loading branch information
capaj and dotansimha committed Nov 14, 2021
1 parent 50c1d32 commit 04e2d83
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mighty-worms-camp.md
@@ -0,0 +1,5 @@
---
'@graphql-codegen/cli': patch
---

export generateSearchPlaces
2 changes: 1 addition & 1 deletion packages/graphql-codegen-cli/src/config.ts
Expand Up @@ -23,7 +23,7 @@ export type YamlCliFlags = {
errorsOnly: boolean;
};

function generateSearchPlaces(moduleName: string) {
export function generateSearchPlaces(moduleName: string) {
const extensions = ['json', 'yaml', 'yml', 'js', 'config.js'];
// gives codegen.json...
const regular = extensions.map(ext => `${moduleName}.${ext}`);
Expand Down

0 comments on commit 04e2d83

Please sign in to comment.