Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/ccd-js-gen 1.0.0 #296

Merged
merged 3 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
path: |
./packages/sdk/lib
./packages/sdk/src
./packages/ccd-js-gen/lib
./packages/ccd-js-gen/src
./packages/rust-bindings/lib
./packages/*/package.json
./packages/*/README.md
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
DUMMY: 2 # For cache busting.
DUMMY: 3 # For cache busting.
NODE_VERSION: 18.16.0
RUST_VERSION: 1.65
RUST_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Wrappers for interacting with the Concordium node.
- [Making a new release](#making-a-new-release)
- [SDK](#sdk)
- [rust-bindings](#rust-bindings)
- [ccd-js-gen](#ccd-js-gen)
- [Test](#test)
<!--toc:end-->

Expand Down Expand Up @@ -133,6 +134,19 @@ each of the packages contained in this repository.
- From the rust-bindings package directory (packages/rust-bindings) run
`yarn npm publish`

### ccd-js-gen

- Bump the version in [package.json](./packages/ccd-js-gen/package.json).
- Update the [CHANGELOG](./packages/ccd-js-gen/CHANGELOG.md) describing
the changes made.
- Commit and tag the release.
- Tag should be `ccd-js-gen/x.y.z`.
- Run the deploy workflow.
- Under github actions, run the "deploy" workflow and download the
`build-release` artifact. Unpack this file and use it for the release.
- Publish the release to NPM.
- From the ccd-js-gen package directory (packages/ccd-js-gen) run `yarn npm publish`

## Test

An automatic test suite is part of this project, and it is run by executing:
Expand Down
5 changes: 5 additions & 0 deletions packages/ccd-js-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog - ccd-js-gen

## 1.0.0

- Initial release
4 changes: 2 additions & 2 deletions packages/ccd-js-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
},
"license": "Apache-2.0",
"peerDependencies": {
"@concordium/web-sdk": "7.0.0"
"@concordium/web-sdk": "7.x"
},
"dependencies": {
"@concordium/web-sdk": "7.0.0",
"@concordium/web-sdk": "^7.0.0",
"buffer": "^6.0.3",
"commander": "^11.0.0",
"sanitize-filename": "^1.6.3",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@concordium/ccd-js-gen@workspace:packages/ccd-js-gen"
dependencies:
"@concordium/web-sdk": 7.0.0
"@concordium/web-sdk": ^7.0.0
"@types/jest": ^26.0.23
"@types/node": ^20.5.0
buffer: ^6.0.3
Expand All @@ -666,7 +666,7 @@ __metadata:
ts-morph: ^19.0.0
typescript: ^5.2.2
peerDependencies:
"@concordium/web-sdk": 7.0.0
"@concordium/web-sdk": 7.x
bin:
ccd-js-gen: bin/ccd-js-gen.js
languageName: unknown
Expand Down Expand Up @@ -704,7 +704,7 @@ __metadata:
languageName: unknown
linkType: soft

"@concordium/[email protected], @concordium/web-sdk@workspace:^, @concordium/web-sdk@workspace:packages/sdk":
"@concordium/web-sdk@^7.0.0, @concordium/web-sdk@workspace:^, @concordium/web-sdk@workspace:packages/sdk":
version: 0.0.0-use.local
resolution: "@concordium/web-sdk@workspace:packages/sdk"
dependencies:
Expand Down