Skip to content

Commit

Permalink
Specify versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shanev committed Jun 2, 2023
1 parent b3442a5 commit 225c9e6
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 69 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

47 changes: 27 additions & 20 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
40 changes: 20 additions & 20 deletions contracts/marketplace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "name-marketplace"
authors = ["Shane Vitarana <s@noreply.publicawesome.com>"]
name = "name-marketplace"
authors = ["Shane Vitarana <s@noreply.publicawesome.com>"]
description = "Stargaze Name Marketplace Smart Contract"
license = "BUSL-1.1"
license = "BUSL-1.1"
version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand All @@ -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 }
43 changes: 22 additions & 21 deletions contracts/sg721-name/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ authors = [
"Shane Vitarana <s@noreply.publicawesome.com>",
"John Y <j@noreply.publicawesome.com>",
]
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.
Expand All @@ -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"] }
9 changes: 2 additions & 7 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../../..

0 comments on commit 225c9e6

Please sign in to comment.