diff --git a/Cargo.lock b/Cargo.lock index 51785cb6..dbaf1b41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -936,7 +936,6 @@ dependencies = [ "cw2", "cw721", "cw721-base", - "name-marketplace", "schemars", "semver", "serde", diff --git a/Cargo.toml b/Cargo.toml index 017e3f65..d4695eee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,27 +10,34 @@ repository = "https://github.com/public-awesome/names" license = "Apache-2.0" [workspace.dependencies] -cosmwasm-schema = "1.2.1" -cosmwasm-std = "1.2.1" -cw2 = "0.16.0" -cw721 = "0.16.0" -cw721-base = "0.16.0" -cw-controllers = "0.16.0" -cw-multi-test = "0.16.0" +cosmwasm-schema = "1.2.1" +cosmwasm-std = "1.2.1" +cw2 = "0.16.0" +cw721 = "0.16.0" +cw721-base = "0.16.0" +cw-controllers = "0.16.0" +cw-multi-test = "0.16.0" cw-storage-macro = "0.16.0" -cw-storage-plus = "0.16.0" -cw-utils = "0.16.0" -schemars = "0.8.11" -semver = "1" -serde = { version = "1.0.145", default-features = false, features = ["derive"] } -sg1 = "0.22.9" -sg721 = "0.22.9" -sg721-base = "0.22.9" -sg-controllers = "0.22.9" -sg-metadata = "0.22.9" -sg-multi-test = "0.22.9" -sg-std = "0.22.9" -thiserror = "1.0.31" +cw-storage-plus = "0.16.0" +cw-utils = "0.16.0" +schemars = "0.8.11" +semver = "1" +serde = { version = "1.0.145", default-features = false, features = ["derive"] } +sg1 = "0.22.9" +sg721 = "0.22.9" +sg721-base = "0.22.9" +sg-controllers = "0.22.9" +sg-metadata = "0.22.9" +sg-multi-test = "0.22.9" +sg-std = "0.22.9" +thiserror = "1.0.31" +sg-name-common = { version = "1.2.4", path = "./packages/sg-name-common" } +sg721-name = { version = "1.2.4", path = "./contracts/sg721-name" } +sg-name = { version = "1.2.4", path = "./packages/sg-name" } +sg-name-market = { version = "1.2.4", path = "./packages/sg-name-market" } +name-marketplace = { version = "1.2.4", path = "./contracts/marketplace", features = [ + "library", +] } [profile.release.package.name-minter] codegen-units = 1 diff --git a/contracts/marketplace/Cargo.toml b/contracts/marketplace/Cargo.toml index 666fb8fa..33682d18 100644 --- a/contracts/marketplace/Cargo.toml +++ b/contracts/marketplace/Cargo.toml @@ -1,8 +1,8 @@ [package] -name = "name-marketplace" -authors = ["Shane Vitarana "] +name = "name-marketplace" +authors = ["Shane Vitarana "] description = "Stargaze Name Marketplace Smart Contract" -license = "BUSL-1.1" +license = "BUSL-1.1" version = { workspace = true } edition = { workspace = true } homepage = { workspace = true } @@ -26,25 +26,25 @@ backtraces = ["cosmwasm-std/backtraces"] library = [] [dependencies] -cosmwasm-schema = { workspace = true } -cosmwasm-std = { workspace = true } -cw-storage-plus = { workspace = true } +cosmwasm-schema = { workspace = true } +cosmwasm-std = { workspace = true } +cw-storage-plus = { workspace = true } cw-storage-macro = { workspace = true } -cw-utils = { workspace = true } -cw2 = { workspace = true } -cw721 = { workspace = true } -cw721-base = { workspace = true, features = ["library"] } -schemars = { workspace = true } -semver = { workspace = true } -serde = { workspace = true } -sg-controllers = { workspace = true } -sg-name-common = { path = "../../packages/sg-name-common" } -sg-std = { workspace = true } -sg1 = { workspace = true } -thiserror = { workspace = true } +cw-utils = { workspace = true } +cw2 = { workspace = true } +cw721 = { workspace = true } +cw721-base = { workspace = true, features = ["library"] } +schemars = { workspace = true } +semver = { workspace = true } +serde = { workspace = true } +sg-controllers = { workspace = true } +sg-name-common = { workspace = true } +sg-std = { workspace = true } +sg1 = { workspace = true } +thiserror = { workspace = true } [dev-dependencies] cw-multi-test = { workspace = true } sg-multi-test = { workspace = true } -sg721-name = { path = "../sg721-name", features = ["library"] } -sg721 = { workspace = true } +sg721-name = { workspace = true, features = ["library"] } +sg721 = { workspace = true } diff --git a/contracts/sg721-name/Cargo.toml b/contracts/sg721-name/Cargo.toml index 2d9d2657..37df3d2c 100644 --- a/contracts/sg721-name/Cargo.toml +++ b/contracts/sg721-name/Cargo.toml @@ -4,11 +4,12 @@ authors = [ "Shane Vitarana ", "John Y ", ] -version = { workspace = true } -edition = { workspace = true } -homepage = { workspace = true } -repository = { workspace = true } -license = { workspace = true } +description = "Stargaze Names Collection Contract" +version = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +repository = { workspace = true } +license = { workspace = true } exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. @@ -28,21 +29,21 @@ library = [] [dependencies] cosmwasm-schema = { workspace = true } -cosmwasm-std = { workspace = true } -cw-controllers = { workspace = true } +cosmwasm-std = { workspace = true } +cw-controllers = { workspace = true } cw-storage-plus = { workspace = true } -cw-utils = { workspace = true } -cw2 = { workspace = true } -schemars = { workspace = true } -serde = { workspace = true } -semver = { workspace = true } -sg-name = { path = "../../packages/sg-name" } -sg-std = { workspace = true } -sg721 = { workspace = true } -sg721-base = { workspace = true, features = ["library"] } -thiserror = { workspace = true } -cw721 = { workspace = true } -cw721-base = { workspace = true, features = ["library"] } -sg-name-market = { path = "../../packages/sg-name-market" } +cw-utils = { workspace = true } +cw2 = { workspace = true } +schemars = { workspace = true } +serde = { workspace = true } +semver = { workspace = true } +sg-name = { workspace = true } +sg-std = { workspace = true } +sg721 = { workspace = true } +sg721-base = { workspace = true, features = ["library"] } +thiserror = { workspace = true } +cw721 = { workspace = true } +cw721-base = { workspace = true, features = ["library"] } +sg-name-market = { workspace = true } subtle-encoding = { version = "0.5.1", features = ["bech32-preview"] } -name-marketplace = { path = "../marketplace", features = ["library"] } +# name-marketplace = { workspace = true, features = ["library"] } diff --git a/scripts/publish.sh b/scripts/publish.sh index 670a8331..07b5c2df 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -6,10 +6,5 @@ for d in packages/*; do fi done -for d in contracts/*; do - if [ -d "$d" ]; then - cd $d - cargo publish - cd ../.. - fi -done +cd contracts/sg721-name && cargo publish && cd ../../.. +