Skip to content

Commit

Permalink
📦 v0.16.8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 8, 2022
1 parent 4ee9db3 commit 3015149
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-onions-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-buses-film.md

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# houdini

## 0.16.8

### 🐛 Fixes

- [#595](https://github.com/HoudiniGraphql/houdini/pull/595) [`3421404`](https://github.com/HoudiniGraphql/houdini/commit/3421404e58697bc8e066d3f0b2d9c74c77c0318a) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Don't consider the schema path as an source for generation

- [#594](https://github.com/HoudiniGraphql/houdini/pull/594) [`4ee9db3`](https://github.com/HoudiniGraphql/houdini/commit/4ee9db312c8ef9db3244bcd2f10f877d596e6f8d) Thanks [@AlecAivazis](https://github.com/AlecAivazis)! - Fixed bug preventing documents from being discovered on windows

## 0.16.7

### 🐛 Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini",
"version": "0.16.7",
"version": "0.16.8",
"description": "The disappearing graphql client for SvelteKit",
"type": "module",
"bin": "./build/cmd.js",
Expand Down
13 changes: 12 additions & 1 deletion src/cmd/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,18 @@ async function collectDocuments(config: Config): Promise<CollectedGraphQLDocumen
.flat()
.filter((filepath) => config.includeFile(filepath))
// don't include the schema path as a source file
.filter((filepath) => !config.schemaPath || !minimatch(filepath, config.schemaPath))
.filter((filepath) => {
const prefix = config.schemaPath?.startsWith('./') ? './' : ''

return (
!config.schemaPath ||
!minimatch(
prefix +
path.relative(config.projectRoot, filepath).replaceAll('\\', '/'),
config.schemaPath
)
)
})
),
]

Expand Down

2 comments on commit 3015149

@vercel
Copy link

@vercel vercel bot commented on 3015149 Oct 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs-next – ./site

docs-next-git-main-houdinigraphql.vercel.app
docs-next-houdinigraphql.vercel.app
docs-next-kohl.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 3015149 Oct 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.