graphql-hive / graphql-hive/bob

No workspace package paths are detected on Windows

Open
#367 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
49
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I was trying to setup [ardatan/graphql-tools ](https://github.com/ardatan/graphql-tools), but running `yarn build` did not output `√ Built graphql-tools`, instead an error was thrown by the postinstall script because the build files were not found.

I found out that the util function `getWorkspacePackagePaths` returns an empty array. This is because the glob pattern is resolved with a `path.join` call in it, when it should instead be `path.posix.join`, as glob patterns can only contain forward slashes (see https://github.com/sindresorhus/globby?tab=readme-ov-file#api).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.