From 466b0fd9b11ba7e0c4067f21e9f0b7728f05cdda Mon Sep 17 00:00:00 2001 From: Paul Butler Date: Mon, 9 Sep 2024 14:55:19 -0400 Subject: [PATCH] v 0.2.2 --- crates/Cargo.lock | 4 ++-- crates/y-sweet-core/Cargo.toml | 2 +- crates/y-sweet-worker/Cargo.toml | 2 +- crates/y-sweet/Cargo.toml | 2 +- debugger/package.json | 4 ++-- examples/nextjs/package.json | 4 ++-- examples/vanilla/package.json | 4 ++-- js-pkg/client/package.json | 7 ++++--- js-pkg/gen-docs/package.json | 2 +- js-pkg/react/package.json | 9 +++++---- js-pkg/sdk/package.json | 5 +++-- js-pkg/server/package.json | 5 +++-- package-lock.json | 30 +++++++++++++++--------------- tests/package.json | 4 ++-- 14 files changed, 44 insertions(+), 40 deletions(-) diff --git a/crates/Cargo.lock b/crates/Cargo.lock index b235631a..ffee26c3 100644 --- a/crates/Cargo.lock +++ b/crates/Cargo.lock @@ -2046,7 +2046,7 @@ dependencies = [ [[package]] name = "y-sweet" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "async-trait", @@ -2075,7 +2075,7 @@ dependencies = [ [[package]] name = "y-sweet-core" -version = "0.2.1" +version = "0.2.2" dependencies = [ "anyhow", "async-trait", diff --git a/crates/y-sweet-core/Cargo.toml b/crates/y-sweet-core/Cargo.toml index e58849b5..9418a731 100644 --- a/crates/y-sweet-core/Cargo.toml +++ b/crates/y-sweet-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "y-sweet-core" -version = "0.2.1" +version = "0.2.2" edition = "2021" description = "Sans-IO core of the y-sweet yjs CRDT server." license = "MIT" diff --git a/crates/y-sweet-worker/Cargo.toml b/crates/y-sweet-worker/Cargo.toml index 4c497911..e06a4615 100644 --- a/crates/y-sweet-worker/Cargo.toml +++ b/crates/y-sweet-worker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "y-sweet-worker" -version = "0.2.1" +version = "0.2.2" edition = "2021" [lib] diff --git a/crates/y-sweet/Cargo.toml b/crates/y-sweet/Cargo.toml index 91977d19..75d10b87 100644 --- a/crates/y-sweet/Cargo.toml +++ b/crates/y-sweet/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "y-sweet" -version = "0.2.1" +version = "0.2.2" edition = "2021" description = "A standalone Yjs CRDT server with built-in persistence and auth." license = "MIT" diff --git a/debugger/package.json b/debugger/package.json index 796166e3..3d09bace 100644 --- a/debugger/package.json +++ b/debugger/package.json @@ -12,8 +12,8 @@ "@types/node": "20.4.8", "@types/react": "18.2.18", "@types/react-dom": "18.2.7", - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2", "autoprefixer": "10.4.14", "eslint": "8.46.0", "eslint-config-next": "13.4.12", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 2d12bf2c..36a9d2a2 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -20,8 +20,8 @@ "@tldraw/tldraw": "2.0.0-alpha.17", "@types/react-color": "3.0.6", "@uiw/react-color": "1.3.3", - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2", "autoprefixer": "10.4.14", "codemirror": "5.65.14", "next": "13.5.6", diff --git a/examples/vanilla/package.json b/examples/vanilla/package.json index 3d9ab240..6b021780 100644 --- a/examples/vanilla/package.json +++ b/examples/vanilla/package.json @@ -10,8 +10,8 @@ "format": "prettier --write \"**/*.js\"" }, "dependencies": { - "@y-sweet/client": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/client": "0.2.2", + "@y-sweet/sdk": "0.2.2", "cors": "^2.8.5", "express": "^4.18.2", "yjs": "^13.6.7" diff --git a/js-pkg/client/package.json b/js-pkg/client/package.json index fb07a00c..a703356b 100644 --- a/js-pkg/client/package.json +++ b/js-pkg/client/package.json @@ -4,9 +4,10 @@ "build": "tsup", "clean": "rm -rf dist", "dev": "tsup --watch", - "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"" + "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"", + "prepare": "npm run build" }, - "version": "0.2.1", + "version": "0.2.2", "description": "JS library for building collaboration features with y-sweet.", "main": "./dist/main.js", "types": "./dist/main.d.ts", @@ -45,7 +46,7 @@ "yjs": "^13.0.0" }, "dependencies": { - "@y-sweet/sdk": "0.2.1", + "@y-sweet/sdk": "0.2.2", "y-protocols": "^1.0.5" } } diff --git a/js-pkg/gen-docs/package.json b/js-pkg/gen-docs/package.json index 9ed4192a..4a5049d7 100644 --- a/js-pkg/gen-docs/package.json +++ b/js-pkg/gen-docs/package.json @@ -1,6 +1,6 @@ { "name": "gen-docs", - "version": "0.2.1", + "version": "0.2.2", "description": "", "scripts": { "build": "ts-node src/main.ts", diff --git a/js-pkg/react/package.json b/js-pkg/react/package.json index 7cf7c454..4004f029 100644 --- a/js-pkg/react/package.json +++ b/js-pkg/react/package.json @@ -4,9 +4,10 @@ "build": "tsup", "clean": "rm -rf dist", "dev": "tsup --watch", - "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"" + "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"", + "prepare": "npm run build" }, - "version": "0.2.1", + "version": "0.2.2", "description": "React library for building collaboration features with y-sweet.", "main": "./dist/main.js", "types": "./dist/main.d.ts", @@ -46,8 +47,8 @@ "yjs": "^13.0.0" }, "dependencies": { - "@y-sweet/client": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/client": "0.2.2", + "@y-sweet/sdk": "0.2.2", "y-protocols": "^1.0.5" } } diff --git a/js-pkg/sdk/package.json b/js-pkg/sdk/package.json index 8d447972..8824a6fe 100644 --- a/js-pkg/sdk/package.json +++ b/js-pkg/sdk/package.json @@ -4,9 +4,10 @@ "build": "tsup", "clean": "rm -rf dist", "dev": "tsup --watch", - "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"" + "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"", + "prepare": "npm run build" }, - "version": "0.2.1", + "version": "0.2.2", "description": "Javascript/Typescript backend SDK for building collaboration features with y-sweet.", "main": "./dist/main.js", "types": "./dist/main.d.ts", diff --git a/js-pkg/server/package.json b/js-pkg/server/package.json index 5107e652..b565b9d3 100644 --- a/js-pkg/server/package.json +++ b/js-pkg/server/package.json @@ -5,9 +5,10 @@ }, "scripts": { "postinstall": "node src/install.js", - "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"" + "format": "prettier --write \"**/*.{ts,tsx,js,jsx}\"", + "prepare": "npm run build" }, - "version": "0.2.1", + "version": "0.2.2", "description": "npm wrapper for y-sweet server", "homepage": "https://github.com/drifting-in-space/y-sweet", "repository": { diff --git a/package-lock.json b/package-lock.json index 3235af08..602e3513 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,8 +32,8 @@ "@types/node": "20.4.8", "@types/react": "18.2.18", "@types/react-dom": "18.2.7", - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2", "autoprefixer": "10.4.14", "eslint": "8.46.0", "eslint-config-next": "13.4.12", @@ -71,8 +71,8 @@ "@tldraw/tldraw": "2.0.0-alpha.17", "@types/react-color": "3.0.6", "@uiw/react-color": "1.3.3", - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2", "autoprefixer": "10.4.14", "codemirror": "5.65.14", "next": "13.5.6", @@ -950,8 +950,8 @@ "name": "examples-vanilla", "version": "0.1.0", "dependencies": { - "@y-sweet/client": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/client": "0.2.2", + "@y-sweet/sdk": "0.2.2", "cors": "^2.8.5", "express": "^4.18.2", "yjs": "^13.6.7" @@ -1019,10 +1019,10 @@ }, "js-pkg/client": { "name": "@y-sweet/client", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "dependencies": { - "@y-sweet/sdk": "0.2.1", + "@y-sweet/sdk": "0.2.2", "y-protocols": "^1.0.5" }, "devDependencies": { @@ -1036,7 +1036,7 @@ } }, "js-pkg/gen-docs": { - "version": "0.2.1", + "version": "0.2.2", "license": "ISC", "dependencies": { "ts-node": "^10.9.1", @@ -1048,11 +1048,11 @@ }, "js-pkg/react": { "name": "@y-sweet/react", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "dependencies": { - "@y-sweet/client": "0.2.1", - "@y-sweet/sdk": "0.2.1", + "@y-sweet/client": "0.2.2", + "@y-sweet/sdk": "0.2.2", "y-protocols": "^1.0.5" }, "devDependencies": { @@ -1068,7 +1068,7 @@ }, "js-pkg/sdk": { "name": "@y-sweet/sdk", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "dependencies": { "@types/node": "^20.5.9" @@ -13646,8 +13646,8 @@ "version": "0.0.0", "license": "MIT", "dependencies": { - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1" + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2" }, "devDependencies": { "@types/ws": "^8.5.5", diff --git a/tests/package.json b/tests/package.json index 4a3b6640..c6775951 100644 --- a/tests/package.json +++ b/tests/package.json @@ -17,7 +17,7 @@ "yjs": "^13.6.7" }, "dependencies": { - "@y-sweet/react": "0.2.1", - "@y-sweet/sdk": "0.2.1" + "@y-sweet/react": "0.2.2", + "@y-sweet/sdk": "0.2.2" } }