diff --git a/crates/compact-bytes/Cargo.toml b/crates/compact-bytes/Cargo.toml index ae26a62c..2a4a8354 100644 --- a/crates/compact-bytes/Cargo.toml +++ b/crates/compact-bytes/Cargo.toml @@ -2,6 +2,7 @@ name = "compact-bytes" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-common/Cargo.toml b/crates/loro-common/Cargo.toml index 01293390..2c9014de 100644 --- a/crates/loro-common/Cargo.toml +++ b/crates/loro-common/Cargo.toml @@ -2,6 +2,7 @@ name = "loro-common" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-ffi/Cargo.toml b/crates/loro-ffi/Cargo.toml index 46e1f5c0..89796e00 100644 --- a/crates/loro-ffi/Cargo.toml +++ b/crates/loro-ffi/Cargo.toml @@ -3,6 +3,7 @@ name = "loro-ffi" version = "0.1.0" edition = "2021" build = "build.rs" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-internal/Cargo.toml b/crates/loro-internal/Cargo.toml index 5b844aaf..cb3b50f6 100644 --- a/crates/loro-internal/Cargo.toml +++ b/crates/loro-internal/Cargo.toml @@ -2,6 +2,7 @@ name = "loro-internal" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-preload/Cargo.toml b/crates/loro-preload/Cargo.toml index 7412d9b3..71339e66 100644 --- a/crates/loro-preload/Cargo.toml +++ b/crates/loro-preload/Cargo.toml @@ -2,6 +2,7 @@ name = "loro-preload" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-python/Cargo.toml b/crates/loro-python/Cargo.toml index 66135c92..720dbc51 100644 --- a/crates/loro-python/Cargo.toml +++ b/crates/loro-python/Cargo.toml @@ -2,6 +2,7 @@ name = "pyloro" version = "0.1.0" edition = "2021" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/crates/loro-wasm/package.json b/crates/loro-wasm/package.json index dc3ff118..0f2b7bba 100644 --- a/crates/loro-wasm/package.json +++ b/crates/loro-wasm/package.json @@ -2,7 +2,14 @@ "name": "loro-wasm", "version": "0.4.1", "description": "Loro CRDTs is a high-performance CRDT framework that makes your app state synchronized, collaborative and maintainable effortlessly.", - "keywords": ["crdt", "CRDTs", "realtime", "collaboration", "sync", "p2p"], + "keywords": [ + "crdt", + "CRDTs", + "realtime", + "collaboration", + "sync", + "p2p" + ], "main": "nodejs/loro_wasm.js", "module": "bundler/loro_wasm.js", "scripts": { @@ -10,9 +17,9 @@ }, "homepage": "https://loro.dev", "author": "", - "license": "ISC", + "license": "MIT", "devDependencies": { "vite-plugin-top-level-await": "^1.2.2", "vite-plugin-wasm": "^3.1.0" } -} +} \ No newline at end of file diff --git a/loro-js/LICENSE b/loro-js/LICENSE new file mode 100644 index 00000000..bffe7781 --- /dev/null +++ b/loro-js/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Loro + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/loro-js/package.json b/loro-js/package.json index 8c0a2636..209344e0 100644 --- a/loro-js/package.json +++ b/loro-js/package.json @@ -21,7 +21,7 @@ }, "author": "Loro", "homepage": "https://loro.dev", - "license": "ISC", + "license": "MIT", "dependencies": { "loro-wasm": "workspace:*" }, @@ -40,4 +40,4 @@ "vite-plugin-wasm": "^3.2.2", "vitest": "^0.34.0" } -} +} \ No newline at end of file