Skip to content

Commit

Permalink
server v 0.0.11 (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb authored Sep 9, 2023
1 parent 813326f commit d916298
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions crates/Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/y-sweet-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "y-sweet-core"
version = "0.0.9"
version = "0.0.12"
edition = "2021"
description = "Sans-IO core of the y-sweet yjs CRDT server."
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions crates/y-sweet-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sans-IO core of [y-sweet](https://crates.io/crates/y-sweet) Yjs server.
4 changes: 2 additions & 2 deletions crates/y-sweet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "y-sweet"
version = "0.0.9"
version = "0.0.12"
edition = "2021"
description = "A standalone Yjs CRDT server with built-in persistence and auth."
license = "MIT"
Expand All @@ -26,6 +26,6 @@ tokio-stream = "0.1.14"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "fmt"] }
url = "2.4.0"
y-sweet-core = { version="0.0.9", path = "../y-sweet-core" }
y-sweet-core = { version="0.0.12", path = "../y-sweet-core" }
yrs = "0.16.9"
yrs-kvstore = "0.1.0"
6 changes: 6 additions & 0 deletions crates/y-sweet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ mod server;
mod stores;

const DEFAULT_S3_REGION: Region = Region::UsEast1;
const VERSION: &str = env!("CARGO_PKG_VERSION");

#[derive(Parser)]
struct Opts {
Expand Down Expand Up @@ -54,6 +55,8 @@ enum ServSubcommand {
#[clap(long)]
json: bool,
},

Version,
}

fn get_store_from_opts(store_path: &str) -> Result<Box<dyn Store>> {
Expand Down Expand Up @@ -158,6 +161,9 @@ async fn main() -> Result<()> {
print_auth_message(&auth);
}
}
ServSubcommand::Version => {
println!("{}", VERSION);
}
}

Ok(())
Expand Down
4 changes: 2 additions & 2 deletions js-pkg/server/package-lock.json

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

2 changes: 1 addition & 1 deletion js-pkg/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"postinstall": "node src/install.js",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx}\""
},
"version": "0.0.11",
"version": "0.0.12",
"description": "npm wrapper for y-sweet server",
"homepage": "https://github.com/drifting-in-space/y-sweet",
"repository": {
Expand Down

1 comment on commit d916298

@vercel
Copy link

@vercel vercel bot commented on d916298 Sep 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.