Skip to content

Commit 166ccf6

Browse files
committed
Add a command to the typescript-test ci check that builds all of the different packages/examples
1 parent 82d5a4f commit 166ccf6

File tree

9 files changed

+20
-36
lines changed

9 files changed

+20
-36
lines changed

.github/workflows/typescript-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ jobs:
133133
# run: |
134134
# spacetime logs quickstart-chat
135135

136-
- name: Check that quickstart-chat builds
137-
working-directory: crates/bindings-typescript/examples/quickstart-chat
138-
run: pnpm build
136+
- name: Check that everything builds
137+
working-directory: crates/bindings-typescript
138+
run: pnpm -r --filter "./**" run build
139139

140140
# - name: Run quickstart-chat tests
141141
# working-directory: examples/quickstart-chat

crates/bindings-typescript/examples/basic-react/src/module_bindings/index.ts

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-typescript/examples/empty/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"spacetime:publish": "spacetime publish --project-path server --server maincloud"
1414
},
1515
"dependencies": {
16-
"spacetimedb": "^1.5.0"
16+
"spacetimedb": "workspace:*"
1717
},
1818
"devDependencies": {
1919
"typescript": "~5.6.2",

crates/bindings-typescript/examples/empty/src/module_bindings/index.ts

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-typescript/examples/quickstart-chat/src/module_bindings/index.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-typescript/src/lib/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ type TablesToSchema<T extends readonly UntypedTableSchema[]> = {
7777
};
7878
};
7979

80-
interface TableToSchema<T extends UntypedTableSchema> extends UntypedTableDef {
80+
export interface TableToSchema<T extends UntypedTableSchema> extends UntypedTableDef {
8181
name: T['tableName'];
8282
accessorName: CamelCase<T['tableName']>;
8383
columns: T['rowType']['row'];

crates/bindings-typescript/src/sdk/client_api/index.ts

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/bindings-typescript/test-app/src/module_bindings/index.ts

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-lock.yaml

Lines changed: 2 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)