Skip to content

Commit

Permalink
[release] 20231017 (#190)
Browse files Browse the repository at this point in the history
- Add script to each package to simplify release changelogs
- Fix yarn releases
  • Loading branch information
stwiname committed Oct 16, 2023
1 parent 8a654f7 commit 3075d57
Show file tree
Hide file tree
Showing 18 changed files with 991 additions and 62 deletions.
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,13 @@ docs/.vuepress/.caches
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

### VisualStudioCode template
.vscode/*
Expand Down
3 changes: 3 additions & 0 deletions .yarn/versions/2b49ee2c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/node-cosmos"
- "@subql/types-cosmos"
3 changes: 3 additions & 0 deletions .yarn/versions/3fc8a53f.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-cosmos"
- "@subql/node-cosmos"
File renamed without changes.
3 changes: 3 additions & 0 deletions .yarn/versions/729708d0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-cosmos"
- "@subql/node-cosmos"
3 changes: 3 additions & 0 deletions .yarn/versions/79581ac3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-cosmos"
- "@subql/node-cosmos"
3 changes: 3 additions & 0 deletions .yarn/versions/c0efa143.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-cosmos"
- "@subql/node-cosmos"
Empty file removed .yarn/versions/cd726781.yml
Empty file.
3 changes: 3 additions & 0 deletions .yarn/versions/ed8a5e5e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-cosmos"
- "@subql/node-cosmos"
3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ plugins:
spec: "@yarnpkg/plugin-version"

yarnPath: .yarn/releases/yarn-3.1.1.cjs

changesetIgnorePatterns:
- '.yarn/**/*'
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,8 @@
"prettier --write"
]
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"dependencies": {
"@geut/chan": "^3.2.9"
}
}
5 changes: 4 additions & 1 deletion packages/common-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.0.3] - 2023-10-17
### Changed
- Update type names to be consistent with main SDK (#189)

Expand Down Expand Up @@ -93,7 +95,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix chainTypes not being in deployments

## [0.0.5] - 2022-06-15
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/3.0.2...HEAD
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/3.0.3...HEAD
[3.0.3]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/3.0.2...common-cosmos/3.0.3
[3.0.2]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/3.0.1...common-cosmos/3.0.2
[3.0.1]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/3.0.0...common-cosmos/3.0.1
[3.0.0]: https://github.com/subquery/subql-cosmos/compare/common-cosmos/2.5.1...common-cosmos/3.0.0
Expand Down
14 changes: 7 additions & 7 deletions packages/common-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "@subql/common-cosmos",
"version": "3.0.3-0",
"version": "3.0.3",
"description": "",
"scripts": {
"build": "rm -rf dist && tsc -b",
"test": "echo \"Error: no test specified\" && exit 1",
"format": "prettier --write \"src/**/*.ts\""
"format": "prettier --write \"src/**/*.ts\"",
"changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-cosmos\" --release-prefix=\"common-cosmos/\""
},
"homepage": "https://github.com/subquery/subql",
"repository": "github:subquery/subql",
"author": "Ian He",
"homepage": "https://github.com/subquery/subql-cosmos",
"repository": "github:subquery/subql-cosmos",
"author": "SubQuery Pte Ltd",
"main": "dist/index.js",
"license": "GPL-3.0",
"dependencies": {
Expand Down Expand Up @@ -44,6 +45,5 @@
"ejs": "3.1.7",
"lodash": "4.17.21",
"rimraf": "^3.0.2"
},
"stableVersion": "3.0.2"
}
}
6 changes: 5 additions & 1 deletion packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.0.3] - 2023-10-17
### Changed
- Update type names to be consistent with main SDK (#189)

### Fixed
- Fix contractCall filtering issue on non-object calls (#188)

Expand Down Expand Up @@ -281,7 +284,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Init release

[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.0.2...HEAD
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.0.3...HEAD
[3.0.3]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.0.2...node-cosmos/3.0.3
[3.0.2]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.0.1...node-cosmos/3.0.2
[3.0.1]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/3.0.0...node-cosmos/3.0.1
[3.0.0]: https://github.com/subquery/subql-cosmos/compare/node-cosmos/2.10.3...node-cosmos/3.0.0
Expand Down
16 changes: 8 additions & 8 deletions packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"name": "@subql/node-cosmos",
"version": "3.0.3-1",
"version": "3.0.3",
"description": "",
"author": "Naveen Veluswamy",
"author": "SubQuery Pte Ltd",
"license": "GPL-3.0",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -b",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nodemon",
"start:prod": "node dist/main"
"start:prod": "node dist/main",
"changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-cosmos\" --release-prefix=\"node-cosmos/\""
},
"homepage": "https://github.com/subquery/subql",
"repository": "github:subquery/subql",
"homepage": "https://github.com/subquery/subql-cosmos",
"repository": "github:subquery/subql-cosmos",
"bin": {
"subql-node-cosmos": "./bin/run"
},
Expand All @@ -29,7 +30,7 @@
"@nestjs/schedule": "^3.0.1",
"@subql/common": "^3.1.2",
"@subql/common-cosmos": "workspace:*",
"@subql/node-core": "^6.0.1",
"@subql/node-core": "^6.0.2",
"@subql/types-cosmos": "workspace:*",
"cosmjs-types": "^0.7.0",
"cron-converter": "^1.0.2",
Expand Down Expand Up @@ -61,6 +62,5 @@
"files": [
"/dist",
"/bin"
],
"stableVersion": "3.0.3-0"
]
}
39 changes: 21 additions & 18 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [3.0.3] - 2023-10-17
### Changed
- Update type names to be consistent with main SDK (#189)

Expand Down Expand Up @@ -79,21 +81,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix chainTypes not being in deployments

## [0.0.5] - 2022-06-15
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/types/3.0.2...HEAD
[3.0.2]: https://github.com/subquery/subql-cosmos/compare/types/3.0.1...types/3.0.2
[3.0.1]: https://github.com/subquery/subql-cosmos/compare/types/3.0.0...types/3.0.1
[3.0.0]: https://github.com/subquery/subql-cosmos/compare/types/2.2.0...types/3.0.0
[2.2.1]: https://github.com/subquery/subql-cosmos/compare/types/2.2.0...types/2.2.1
[2.2.0]: https://github.com/subquery/subql-cosmos/compare/types/2.1.0...types/2.2.0
[2.1.0]: https://github.com/subquery/subql-cosmos/compare/types/2.0.0...types/2.1.0
[2.0.0]: https://github.com/subquery/subql-cosmos/compare/types/0.4.3...types/2.0.0
[0.4.3]: https://github.com/subquery/subql-cosmos/compare/types/0.4.2...types/0.4.3
[0.4.2]: https://github.com/subquery/subql-cosmos/compare/types/0.4.1...types/0.4.2
[0.4.1]: https://github.com/subquery/subql-cosmos/compare/types/0.4.0...types/0.4.1
[0.4.0]: https://github.com/subquery/subql-cosmos/compare/types/0.3.0...types/0.4.0
[0.3.0]: https://github.com/subquery/subql-cosmos/compare/types/0.2.0...types/0.3.0
[0.2.0]: https://github.com/subquery/subql-cosmos/compare/types/0.1.1...types/0.2.0
[0.1.1]: https://github.com/subquery/subql-cosmos/compare/types/0.1.0...types/0.1.1
[0.1.0]: https://github.com/subquery/subql-cosmos/compare/types/0.0.6...types/0.1.0
[0.0.6]: https://github.com/subquery/subql-cosmos/compare/types/0.0.5...types/0.0.6
[0.0.5]: https://github.com/subquery/subql-cosmos/tag/types/0.0.5
[Unreleased]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/3.0.3...HEAD
[3.0.3]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/3.0.2...types-cosmos/3.0.3
[3.0.2]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/3.0.1...types-cosmos/3.0.2
[3.0.1]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/3.0.0...types-cosmos/3.0.1
[3.0.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/2.2.0...types-cosmos/3.0.0
[2.2.1]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/2.2.0...types-cosmos/2.2.1
[2.2.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/2.1.0...types-cosmos/2.2.0
[2.1.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/2.0.0...types-cosmos/2.1.0
[2.0.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.4.3...types-cosmos/2.0.0
[0.4.3]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.4.2...types-cosmos/0.4.3
[0.4.2]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.4.1...types-cosmos/0.4.2
[0.4.1]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.4.0...types-cosmos/0.4.1
[0.4.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.3.0...types-cosmos/0.4.0
[0.3.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.2.0...types-cosmos/0.3.0
[0.2.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.1.1...types-cosmos/0.2.0
[0.1.1]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.1.0...types-cosmos/0.1.1
[0.1.0]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.0.6...types-cosmos/0.1.0
[0.0.6]: https://github.com/subquery/subql-cosmos/compare/types-cosmos/0.0.5...types-cosmos/0.0.6
[0.0.5]: https://github.com/subquery/subql-cosmos/tag/types-cosmos/0.0.5
14 changes: 7 additions & 7 deletions packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "@subql/types-cosmos",
"version": "3.0.3-0",
"version": "3.0.3",
"description": "",
"homepage": "https://github.com/subquery/subql",
"repository": "github:subquery/subql",
"homepage": "https://github.com/subquery/subql-cosmos",
"repository": "github:subquery/subql-cosmos",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf dist && tsc -b"
"build": "rm -rf dist && tsc -b",
"changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-cosmos\" --release-prefix=\"types-cosmos/\""
},
"author": "Naveen Veluswamy",
"author": "SubQuery Pte Ltd",
"main": "dist/index.js",
"license": "GPL-3.0",
"files": [
Expand All @@ -19,6 +20,5 @@
"@cosmjs/proto-signing": "^0.30.1",
"@cosmjs/stargate": "^0.30.1",
"@subql/types-core": "^0.1.1"
},
"stableVersion": "3.0.2"
}
}
Loading

0 comments on commit 3075d57

Please sign in to comment.