Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6fdebd6
[bfops/test-runner]: Test runner caching
bfops Aug 24, 2026
f1d1808
[bfops/test-runner]: update
bfops Aug 24, 2026
b121a71
[bfops/test-runner]: use external dir
bfops Aug 24, 2026
e96ea6c
[bfops/test-runner]: debug info
bfops Aug 24, 2026
34db4fc
[bfops/test-runner]: other build step
bfops Aug 24, 2026
039300d
[bfops/test-runner]: rm other CI
bfops Aug 24, 2026
3cbcc07
[bfops/test-runner]: more debug info
bfops Aug 24, 2026
db26171
[bfops/test-runner]: set target dir
bfops Aug 24, 2026
aafe302
[bfops/test-runner]: un-vv
bfops Aug 24, 2026
a9f4e95
[bfops/test-runner]: fix target dir
bfops Aug 24, 2026
22158bd
[bfops/test-runner]: un-vv
bfops Aug 24, 2026
1664b3f
[bfops/test-runner]: re-vv
bfops Aug 24, 2026
b028af2
[bfops/test-runner]: redo
bfops Aug 24, 2026
a412ee4
[bfops/test-runner]: Merge remote-tracking branch 'origin/master' int…
bfops Aug 24, 2026
8ca8e36
[bfops/test-runner]: restore mtimes
bfops Aug 24, 2026
e347e08
[bfops/test-runner]: fetch so restore mtimes can work
bfops Aug 24, 2026
4b27ede
[bfops/test-runner]: comments
bfops Aug 24, 2026
d2702cf
[bfops/test-runner]: empty
bfops Aug 24, 2026
49ccb40
[bfops/test-runner]: empty
bfops Aug 24, 2026
e5dfab3
[bfops/test-runner]: move GIT_HASH from lib -> codegen
bfops Aug 24, 2026
7b9a48d
[bfops/test-runner]: bump CI
bfops Aug 24, 2026
0e0fafc
[bfops/test-runner]: remove unused debug
bfops Aug 24, 2026
d4b731d
[bfops/test-runner]: fix typo
bfops Aug 25, 2026
951bc55
[bfops/test-runner]: add -vv
bfops Aug 25, 2026
927ba28
[bfops/test-runner]: fix runner
bfops Aug 25, 2026
824811f
[bfops/test-runner]: bump CI
bfops Aug 25, 2026
ebd4f75
[bfops/test-runner]: restore rest of CI
bfops Aug 25, 2026
1fd833f
[bfops/test-runner]: remove some CI
bfops Aug 25, 2026
011b07a
[bfops/test-runner]: fixing other CI
bfops Aug 25, 2026
9ecc277
[bfops/test-runner]: apply same changes to other CI
bfops Aug 25, 2026
de9d45d
[bfops/test-runner]: -vv
bfops Aug 25, 2026
cd9a029
[bfops/test-runner]: fix
bfops Aug 25, 2026
a458a30
[bfops/test-runner]: switch runner
bfops Aug 25, 2026
0f2f377
[bfops/test-runner]: -vv
bfops Aug 25, 2026
06d18ce
[bfops/test-runner]: switch runner
bfops Aug 25, 2026
2667a17
[bfops/test-runner]: don't run benchmark
bfops Aug 25, 2026
43eedb1
[bfops/test-runner]: skip unity runner
bfops Aug 25, 2026
721e398
[bfops/test-runner]: -vv
bfops Aug 25, 2026
429b815
Remove cli and standalone builds from most CI jobs
joshua-spacetime Aug 23, 2026
1e3ab0b
Pull out cli and standalone from typescript tests
joshua-spacetime Aug 25, 2026
91e1812
[bfops/test-runner]: skip ones we've fixed
bfops Aug 25, 2026
733512a
[bfops/test-runner]: -vv
bfops Aug 25, 2026
0dd6cff
[bfops/test-runner]: fix dup
bfops Aug 25, 2026
fbd61ca
[bfops/test-runner]: use target_dir properly
bfops Aug 25, 2026
de4e6ab
[bfops/test-runner]: more fixes
bfops Aug 25, 2026
1159cdd
Move codegen git hash out of lib
clockwork-labs-bot Aug 25, 2026
7d4e887
Merge branch 'bot/split-git-hash-codegen' into bfops/test-runner
bfops Aug 25, 2026
421e631
[bfops/test-runner]: Merge branch 'bfops/test-runner' of github.com:c…
bfops Aug 25, 2026
c5050e4
gut cargo ci wasm-bindings
joshua-spacetime Aug 25, 2026
a325683
[bfops/test-runner]: moar -vv
bfops Aug 25, 2026
bfb96f3
[bfops/test-runner]: proper mtime caching behavior
bfops Aug 26, 2026
3604ba0
Address Zeke's comments
joshua-spacetime Aug 26, 2026
c65add7
Merge branch 'master' into joshua/ci/remove-more-deps
joshua-spacetime Aug 26, 2026
6949dc6
Merge branch 'master' into bfops/test-runner
bfops Aug 26, 2026
407ab8e
[bfops/test-runner]: Merge remote-tracking branch 'origin/joshua/ci/r…
bfops Aug 26, 2026
af34681
[bfops/test-runner]: bump CI
bfops Aug 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ rustflags = ["--cfg", "tokio_unstable"]

[alias]
llm = "run --package xtask-llm-benchmark --bin llm_benchmark --"
ci = "run -p ci --"
ci = "run -vv -p ci --"
spacetime = "ci other-workflows run-spacetime"
regen = "run -p regen --"
smoketest = "ci smoketests --"
smoketests = "smoketest"
Expand Down
625 changes: 214 additions & 411 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions .github/workflows/internal-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
name: Internal Tests
# Skip if not a PR or a push to master
# Skip if this is an external contribution. GitHub secrets will be empty, so the step would fail anyway.
if: ${{ (github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master'))
&& (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork) }}
if: false
runs-on: ubuntu-latest
env:
TARGET_OWNER: clockworklabs
Expand Down
28 changes: 18 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,15 @@ members = [
"tools/ci",
"tools/ci/commands/test",
"tools/ci/commands/lint",
"tools/ci/commands/wasm-bindings",
"tools/ci/commands/module-latest-deps",
"tools/ci/commands/smoketests",
"tools/ci/commands/smoketest-checks",
"tools/ci/commands/keynote-bench",
"tools/ci/commands/update-flow",
"tools/ci/commands/cli-docs",
"tools/ci/commands/global-json-policy",
"tools/ci/commands/publish-checks",
"tools/ci/commands/run-spacetime",
"tools/ci/commands/typescript-test",
"tools/ci/commands/version-upgrade-check",
"tools/ci/commands/docs",
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-typescript/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"format": "prettier . --write --ignore-path ../../../.prettierignore",
"lint": "eslint . && prettier . --check --ignore-path ../../../.prettierignore",
"preview": "vite preview",
"generate": "cargo run -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --project-path server",
"spacetime:start": "spacetime start",
"spacetime:publish:local": "spacetime publish game --project-path server --server local",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"format": "prettier . --write --ignore-path ../../../.prettierignore",
"lint": "eslint . && prettier . --check --ignore-path ../../../.prettierignore",
"preview": "vite preview",
"generate": "cargo run -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path server",
"spacetime:start": "spacetime start",
"spacetime:publish:local": "spacetime publish game --module-path server --server local",
Expand Down
2 changes: 1 addition & 1 deletion crates/bindings-typescript/test-solid-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"generate": "cargo run -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --replacement ../../../src/index && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path server",
"spacetime:start": "spacetime start",
"spacetime:publish:local": "spacetime publish game --module-path server --server local",
Expand Down
6 changes: 3 additions & 3 deletions modules/benchmarks-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"keywords": [],
"author": "",
Expand Down
6 changes: 3 additions & 3 deletions modules/module-test-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-case-conversion-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"keywords": [],
"author": "",
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-connect-disconnect-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"keywords": [],
"author": "",
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-procedural-view-pk-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-procedure-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
6 changes: 3 additions & 3 deletions modules/sdk-test-view-pk-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
5 changes: 3 additions & 2 deletions sdks/csharp/tools~/gen-quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ SDK_PATH="$(realpath "$SDK_PATH")"
STDB_PATH="$SDK_PATH/../.."
DOTNET_VERSION="${1:-}"

cd "$STDB_PATH"

GLOBAL_JSON_BACKUPS=()

backup_global_json_once() {
Expand Down Expand Up @@ -66,5 +68,4 @@ if [ -n "$DOTNET_VERSION" ]; then
BUILD_OPTIONS+=("--build-options=--dotnet-version $DOTNET_VERSION")
fi

cargo build --manifest-path "$STDB_PATH/crates/standalone/Cargo.toml"
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- generate -y -l csharp -o "$STDB_PATH/templates/chat-console-cs/module_bindings" --module-path "$STDB_PATH/templates/chat-console-cs/spacetimedb" "${BUILD_OPTIONS[@]}"
cargo spacetime generate -y -l csharp -o "$STDB_PATH/templates/chat-console-cs/module_bindings" --module-path "$STDB_PATH/templates/chat-console-cs/spacetimedb" "${BUILD_OPTIONS[@]}"
9 changes: 5 additions & 4 deletions sdks/csharp/tools~/gen-regression-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ SDK_PATH="$(realpath "$SDK_PATH")"
STDB_PATH="$SDK_PATH/../.."
DOTNET_VERSION="${1:-}"

cd "$STDB_PATH"

GLOBAL_JSON_BACKUPS=()

expected_global_json_symlink_target() {
Expand Down Expand Up @@ -81,7 +83,6 @@ if [ -n "$DOTNET_VERSION" ]; then
BUILD_OPTIONS+=("--build-options=--dotnet-version $DOTNET_VERSION")
fi

cargo build --manifest-path "$STDB_PATH/crates/standalone/Cargo.toml"
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/client/module_bindings" --module-path "$SDK_PATH/examples~/regression-tests/server" "${BUILD_OPTIONS[@]}"
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/republishing/client/module_bindings" --module-path "$SDK_PATH/examples~/regression-tests/republishing/server-republish" "${BUILD_OPTIONS[@]}"
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/procedure-client/module_bindings" --module-path "$STDB_PATH/modules/sdk-test-procedure" "${BUILD_OPTIONS[@]}"
cargo spacetime generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/client/module_bindings" --module-path "$SDK_PATH/examples~/regression-tests/server" "${BUILD_OPTIONS[@]}"
cargo spacetime generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/republishing/client/module_bindings" --module-path "$SDK_PATH/examples~/regression-tests/republishing/server-republish" "${BUILD_OPTIONS[@]}"
cargo spacetime generate -y -l csharp -o "$SDK_PATH/examples~/regression-tests/procedure-client/module_bindings" --module-path "$STDB_PATH/modules/sdk-test-procedure" "${BUILD_OPTIONS[@]}"
17 changes: 8 additions & 9 deletions sdks/csharp/tools~/run-regression-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ SDK_PATH="$(realpath "$SDK_PATH")"
STDB_PATH="$SDK_PATH/../.."
SPACETIMEDB_SERVER_URL="${SPACETIMEDB_SERVER_URL:-local}"

cd "$STDB_PATH"

DOTNET_VERSIONS=("$@")
if [ ${#DOTNET_VERSIONS[@]} -eq 0 ]; then
DOTNET_VERSIONS=(8 10)
Expand Down Expand Up @@ -99,9 +101,6 @@ run_client() {

trap restore_global_jsons EXIT

# Build and run SpacetimeDB server
cargo build --manifest-path "$STDB_PATH/crates/standalone/Cargo.toml"

for dotnet_version in "${DOTNET_VERSIONS[@]}"; do
echo "Running C# regression tests with .NET $dotnet_version"

Expand All @@ -111,21 +110,21 @@ for dotnet_version in "${DOTNET_VERSIONS[@]}"; do
"$SDK_PATH/tools~/gen-regression-tests.sh" "$dotnet_version"

# Publish module for btree test
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/server" btree-repro
cargo spacetime publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/server" btree-repro

# Publish module for republishing module test
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/republishing/server-initial" republish-test
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" call --server "$SPACETIMEDB_SERVER_URL" republish-test insert 1
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- publish --dotnet-version "$dotnet_version" --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/republishing/server-republish" --break-clients republish-test
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" call --server "$SPACETIMEDB_SERVER_URL" republish-test insert 2
cargo spacetime publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/republishing/server-initial" republish-test
cargo spacetime call --server "$SPACETIMEDB_SERVER_URL" republish-test insert 1
cargo spacetime publish --dotnet-version "$dotnet_version" --server "$SPACETIMEDB_SERVER_URL" -p "$SDK_PATH/examples~/regression-tests/republishing/server-republish" --break-clients republish-test
cargo spacetime call --server "$SPACETIMEDB_SERVER_URL" republish-test insert 2

echo "Cleanup obj~ folders generated in $SDK_PATH/examples~/regression-tests/procedure-client"
# There is a bug in the code generator that creates obj~ folders in the output directory using a Rust project.
rm -rf "$SDK_PATH/examples~/regression-tests/procedure-client"/*/obj~
rm -rf "$SDK_PATH/examples~/regression-tests/procedure-client/module_bindings"/*/obj~

# Publish module for procedure tests
cargo run --manifest-path "$STDB_PATH/crates/cli/Cargo.toml" -- publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$STDB_PATH/modules/sdk-test-procedure" procedure-tests
cargo spacetime publish --dotnet-version "$dotnet_version" -c -y --server "$SPACETIMEDB_SERVER_URL" -p "$STDB_PATH/modules/sdk-test-procedure" procedure-tests

# Run clients against the modules published with this .NET version.
run_client "$SDK_PATH/examples~/regression-tests/client" "$dotnet_version"
Expand Down
2 changes: 1 addition & 1 deletion templates/angular-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "node scripts/dev.mjs",
"build": "ng build",
"generate": "cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
Expand Down
2 changes: 1 addition & 1 deletion templates/astro-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "astro preview",
"start": "node ./dist/server/entry.mjs",
"astro": "astro",
"generate": "pnpm --dir spacetimedb install && cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "pnpm --dir spacetimedb install && cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
Expand Down
2 changes: 1 addition & 1 deletion templates/chat-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint . && prettier . --check --ignore-path ../../.prettierignore",
"preview": "vite preview",
"test": "vitest run",
"generate": "cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path server --server local",
"spacetime:publish": "spacetime publish --module-path server --server maincloud"
Expand Down
6 changes: 3 additions & 3 deletions templates/chat-react-ts/spacetimedb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"license": "ISC",
"type": "module",
"scripts": {
"build": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- build",
"generate-ts": "cargo build -p spacetimedb-standalone && cargo run -p spacetimedb-cli -- generate --lang typescript --out-dir ts-codegen",
"publish": "cargo run -p spacetimedb-cli -- publish"
"build": "cargo spacetime build",
"generate-ts": "cargo spacetime generate --lang typescript --out-dir ts-codegen",
"publish": "cargo spacetime publish"
},
"dependencies": {
"spacetimedb": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion templates/hangman-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"format": "prettier . --write --ignore-path ../../.prettierignore",
"lint": "eslint . && prettier . --check --ignore-path ../../.prettierignore",
"preview": "vite preview",
"generate": "cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
Expand Down
2 changes: 1 addition & 1 deletion templates/money-exchange-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint . && prettier . --check --ignore-path ../../.prettierignore",
"preview": "vite preview",
"test": "vitest run",
"generate": "cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
Expand Down
2 changes: 1 addition & 1 deletion templates/nextjs-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"generate": "pnpm --dir spacetimedb install && cargo run -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"generate": "pnpm --dir spacetimedb install && cargo run -vv -p gen-bindings -- --out-dir src/module_bindings --module-path spacetimedb && prettier --write src/module_bindings",
"spacetime:generate": "spacetime generate --lang typescript --out-dir src/module_bindings --module-path spacetimedb",
"spacetime:publish:local": "spacetime publish --module-path spacetimedb --server local",
"spacetime:publish": "spacetime publish --module-path spacetimedb --server maincloud"
Expand Down
Loading
Loading