Skip to content

Commit 8b5e538

Browse files
committed
Fixup the website
1 parent 2cea2fb commit 8b5e538

File tree

8 files changed

+213
-209
lines changed

8 files changed

+213
-209
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
uses: actions/checkout@v3
2929

3030
- name: Setup Node
31-
uses: actions/setup-node@v3
31+
uses: actions/setup-node@v4
3232
with:
33-
node-version: "18"
33+
node-version: "22"
3434

3535
- name: Install dependencies
3636
run: npm i

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@pelicanplatform/web-client",
3-
"version": "1.0.1",
3+
"version": "1.0.9",
44
"homepage": "https://pelicanplatform.org",
55
"repository": {
66
"type": "git",
77
"url": "git+https://github.com/PelicanPlatform/web-client.git"
88
},
99
"description": "Pelican web client",
1010
"main": "dist/index.js",
11-
"types": "src/types.ts",
11+
"types": "dist/index.d.ts",
1212
"scripts": {
1313
"test": "jest --coverage --json --outputFile=.github/tests/test-summary.json",
1414
"build": "tsc",

src/Client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import {
3030
ProxiedValue
3131
} from "./util"
3232

33-
export default class Client {
33+
export class Client {
3434

3535
federations: ProxiedValue<Record<string, Federation>>
3636
prefixToNamespace: Record<string, string>
@@ -288,3 +288,5 @@ export default class Client {
288288
}
289289
}
290290
}
291+
292+
export default Client;

src/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export {default as Client} from "./Client";
1+
import Client from "./Client";
2+
export * from "./Client";
3+
4+
export * from "./types"
5+
6+
export default Client;

website/next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.

0 commit comments

Comments
 (0)