Skip to content

Commit c6deb26

Browse files
authored
exporting utils and query fetcher (#418)
1 parent 21b3a97 commit c6deb26

5 files changed

Lines changed: 3 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"docs:clear": "npm run clear --prefix internal/website",
2727
"docs:install": "cd internal/website && npm i && cd ..",
2828
"docs:start": "npm start --prefix internal/website",
29-
"test": "npm test --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next",
29+
"test": "npm run build && npm test --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next",
3030
"minor": "npm version minor --git-tag-version=false --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next && node scripts/version",
3131
"patch": "npm version patch --git-tag-version=false --workspace=@faustjs/core --workspace=@faustjs/react --workspace=@faustjs/next && node scripts/version",
3232
"start": "npm run serve:prod --prefix internal/website",

packages/core/src/api/client/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface RequestContext {
2929
init: RequestInit;
3030
}
3131

32-
function createQueryFetcher(
32+
export function createQueryFetcher(
3333
context?: IncomingMessage,
3434
applyRequestContext?: ClientConfig['applyRequestContext'],
3535
) {

packages/core/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from './api';
22
export * from './auth';
33
export * from './config';
4+
export * from './utils';

packages/core/utils.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/core/utils.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)