Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
e536cc3
implement new spacetime init command
drogus Oct 7, 2025
4fa6d6e
Fix lints
drogus Oct 15, 2025
2e0dfba
Format typescript code
drogus Oct 15, 2025
cc118cc
Update eslint config
drogus Oct 15, 2025
b0410e8
Small chnages in init args
drogus Oct 16, 2025
2393b43
Fix smoke tests
drogus Oct 16, 2025
f5839a6
Fix cli refernece docs
drogus Oct 16, 2025
c4d1aca
Bump versions to 1.6.*
drogus Oct 16, 2025
04a3cfc
Merge remote-tracking branch 'origin/master' into drogus/spacetime-init
drogus Oct 16, 2025
f5f2287
Fix cli refernece docs
drogus Oct 16, 2025
47e5c2d
Fix versions update
drogus Oct 16, 2025
753e60e
Merge remote-tracking branch 'origin/master' into drogus/spacetime-init
drogus Oct 17, 2025
87209e6
Move init/template to init, remove old functionality
drogus Oct 17, 2025
9e8f570
Add typescript chat templates to the list
drogus Oct 20, 2025
41209ec
Use empty main.ts for epty typescript example
drogus Oct 20, 2025
6a34831
lang choice and template are mutually exclusive
drogus Oct 20, 2025
4c242ce
Treat server and client lang as Option<>
drogus Oct 20, 2025
ecbd7b6
Add quickstart chat ts symlinks
drogus Oct 20, 2025
3f66a69
Update cli reference
drogus Oct 20, 2025
422e07c
Change _BRANCH to _REFERENCE
drogus Oct 20, 2025
e6adeda
Fix error handling for unsupported langs
drogus Oct 20, 2025
2aec50f
Fix cloning a reference
drogus Oct 20, 2025
561ada2
Merge remote-tracking branch 'origin/master' into drogus/spacetime-init
drogus Oct 20, 2025
014cf77
Remove unneeded debug println
drogus Oct 20, 2025
62569e0
Merge interactive and non-interactive functions
drogus Oct 21, 2025
fb27db2
Install dependencies for a typescript server
drogus Oct 21, 2025
6e26c3b
Include built-in templates in the binary
drogus Oct 22, 2025
0bb0b4b
Panic if a template has 0 files
drogus Oct 23, 2025
6738777
Bring back the 'none' option on init's clients list
drogus Oct 23, 2025
94294b7
refactor cli's build.rs and add more comments
drogus Oct 23, 2025
c2468b3
Remove client-lang option from init
drogus Oct 23, 2025
34646d0
Add missing templates list
drogus Oct 23, 2025
7351cc4
remove unused functions
drogus Oct 23, 2025
a54e088
Fix cli reference
drogus Oct 23, 2025
9807a43
Fix lints
drogus Oct 23, 2025
db22a7f
update cargo.lock
drogus Oct 23, 2025
bc8c8da
Fix init in smoketests
drogus Oct 23, 2025
f0b7b87
Fix reference so spacetime init
drogus Oct 23, 2025
fa4a72b
Update the name of both the server and the client for known languages
drogus Oct 23, 2025
de65fd1
Fix checking for login in non-interactive mode
drogus Oct 23, 2025
bb624dc
Try updatring cargo.lock manually
drogus Oct 23, 2025
f24767c
Fix smoketests
drogus Oct 23, 2025
38c1248
Change bitflags version
drogus Oct 23, 2025
0cd8a15
Try to fix smoke tests
drogus Oct 23, 2025
48566b1
Small fixes and changes
cloutiertyler Oct 23, 2025
e3cf84f
Don't use symlinks for templates and copy files into the crate when b…
drogus Oct 23, 2025
01d3186
Merge remote-tracking branch 'origin/drogus/spacetime-init' into drog…
drogus Oct 23, 2025
988e256
add basic-c-sharp client
drogus Oct 23, 2025
654edff
Exclude spacetimedb directory from c# clients
drogus Oct 23, 2025
9c1677e
Small fix for windows
cloutiertyler Oct 23, 2025
7b944bc
Merge branch 'master' into drogus/spacetime-init
cloutiertyler Oct 24, 2025
55e47fc
Change bitflags version to 2.10.0
drogus Oct 24, 2025
879e9d3
Fixed several bugs on windows
cloutiertyler Oct 24, 2025
f81136c
Rename --server-lang back to --lang
drogus Oct 27, 2025
81d63da
Copy template files in build.rs only if the file changed
drogus Oct 27, 2025
813db4d
Update edition and packages referencing workspace in generated rust code
drogus Oct 27, 2025
0a2d9e5
Make init's project name a positional arguments and project path a na…
drogus Oct 27, 2025
11c055c
Merge branch 'drogus/spacetime-init' of github.com:clockworklabs/Spac…
drogus Oct 27, 2025
dc9a4be
Fixed small issues and warnings
cloutiertyler Oct 27, 2025
78ce481
Merged master
cloutiertyler Oct 27, 2025
5c71211
Updated all the template projects so that that use environment variab…
cloutiertyler Oct 27, 2025
7dbf7b6
Fixed pm command on windows
cloutiertyler Oct 28, 2025
571bef7
pnpm format
cloutiertyler Oct 28, 2025
0ed3c19
Addresses John's comments on the PR
cloutiertyler Oct 28, 2025
b99ba4b
Move parsing TS SDK version to build.rs to not include_str a file out…
drogus Oct 28, 2025
9f34ed4
Hopefully updated C# tests and now updating version for the C# built-…
cloutiertyler Oct 28, 2025
0a1c9e8
Fixed compile error
cloutiertyler Oct 28, 2025
da52110
Added --server-only flag
cloutiertyler Oct 28, 2025
178477d
Initial pass on updating the docs for the new `spacetime init`
jdetter Oct 28, 2025
e2ebda9
Merge branch 'drogus/spacetime-init' of ssh://github.com/clockworklab…
jdetter Oct 28, 2025
56d9950
Unity docs clarification
jdetter Oct 28, 2025
5b4c873
Changes required for unreal engine - still needs testing
jdetter Oct 29, 2025
5759772
Update quickstarts for new spacetime init command
cloutiertyler Oct 29, 2025
b62a99d
Add a spacetime dev command
drogus Oct 22, 2025
6667f2a
Add log streaming to spacetime dev
drogus Oct 22, 2025
1537de0
Fixes a bug with project path on typescript build
cloutiertyler Oct 23, 2025
29bbb66
Fixed several bugs on windows
cloutiertyler Oct 24, 2025
bcffe61
Moved dependencies to workspace
cloutiertyler Oct 29, 2025
cf76649
Finished testing the Unity tutorial + fixed the `--server-only` bug
jdetter Oct 29, 2025
69397d1
Both tutorials are working
jdetter Oct 29, 2025
72dcf08
npm install on both server and client if client is also typescript
cloutiertyler Oct 29, 2025
f6f4bb4
cargo fmt
cloutiertyler Oct 29, 2025
58b06dc
Now regenerating client bindings as well
cloutiertyler Oct 29, 2025
30efd50
Testing change
jdetter Oct 29, 2025
bccda2e
Small update
jdetter Oct 29, 2025
101cbd9
Small fix
jdetter Oct 29, 2025
3e97600
Add exclude for spacetimedb by default
jdetter Oct 29, 2025
c6b9081
Merge branch 'master' into drogus/spacetime-init
jdetter Oct 29, 2025
236d5b4
Fixes for the quickstarts so far
jdetter Oct 29, 2025
0342afc
Merge branch 'drogus/spacetime-init' of ssh://github.com/clockworklab…
jdetter Oct 29, 2025
4b6d8c0
Now setting env variables and also fixed subtlies with the server choice
cloutiertyler Oct 30, 2025
7756dea
Fixed small .env bug in init
cloutiertyler Oct 30, 2025
fbb8475
Fixes a bug with project path on typescript build
cloutiertyler Oct 23, 2025
72f4c87
npm install on both server and client if client is also typescript
cloutiertyler Oct 29, 2025
a9ae737
cargo fmt
cloutiertyler Oct 29, 2025
dc030fc
Fixed small .env bug in init
cloutiertyler Oct 30, 2025
2a25a3b
Merge branch 'drogus/spacetime-init' into drogus/spacetime-dev
cloutiertyler Oct 30, 2025
86085df
cargo fmt
cloutiertyler Oct 30, 2025
7b4296b
Merge branch 'drogus/spacetime-init' into drogus/spacetime-dev
cloutiertyler Oct 30, 2025
b0f6812
Fix docs
jdetter Oct 30, 2025
3b2946f
Merge branch 'drogus/spacetime-init' of ssh://github.com/clockworklab…
jdetter Oct 30, 2025
a0e749d
Merge branch 'drogus/spacetime-init' into drogus/spacetime-dev
cloutiertyler Oct 30, 2025
6481290
Updating both the SPACETIMEDB_HOST and SPACETIMEDB_DB_NAME env variables
cloutiertyler Oct 30, 2025
b4c7092
Fixed clippy
cloutiertyler Oct 30, 2025
287af70
Merged master
cloutiertyler Oct 30, 2025
c19b225
Update unity tests to use --server local
cloutiertyler Oct 30, 2025
8412d6d
In all tutorials and quickstarts we specify --server local
jdetter Oct 30, 2025
52d9274
Merge remote-tracking branch 'origin/drogus/spacetime-dev' into drogu…
jdetter Oct 30, 2025
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
2 changes: 0 additions & 2 deletions .env.sample

This file was deleted.

73 changes: 67 additions & 6 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ lazy_static = "1.4.0"
log = "0.4.17"
memchr = "2"
mimalloc = "0.1.39"
names = "0.14"
nohash-hasher = "0.2"
notify = "7.0"
nix = "0.30"
once_cell = "1.16"
parking_lot = { version = "0.12.1", features = ["send_guard", "arc_lock"] }
Expand Down
4 changes: 3 additions & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ wasmbin.workspace = true
webbrowser.workspace = true
clap-markdown.workspace = true
git2.workspace = true
dialoguer.workspace = true
dialoguer = { workspace = true, features = ["fuzzy-select"] }
rolldown.workspace = true
rolldown_utils.workspace = true
xmltree.workspace = true
quick-xml.workspace = true
names.workspace = true
notify.workspace = true

[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ impl RawConfig {
ecdsa_public_key: None,
};
RawConfig {
default_server: local.nickname.clone(),
server_configs: vec![local, maincloud],
default_server: maincloud.nickname.clone(),
server_configs: vec![maincloud, local],
web_session_token: None,
spacetimedb_token: None,
}
Expand Down
2 changes: 2 additions & 0 deletions crates/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub fn get_subcommands() -> Vec<Command> {
logs::cli(),
call::cli(),
describe::cli(),
dev::cli(),
energy::cli(),
sql::cli(),
dns::cli(),
Expand All @@ -51,6 +52,7 @@ pub async fn exec_subcommand(
match cmd {
"call" => call::exec(config, args).await,
"describe" => describe::exec(config, args).await,
"dev" => dev::exec(config, args).await,
"energy" => energy::exec(config, args).await,
"publish" => publish::exec(config, args).await,
"delete" => delete::exec(config, args).await,
Expand Down
Loading
Loading