Skip to content

Commit 2b83f38

Browse files
authored
Upgrade package version to 0.2.64 (#427)
* Upgrade package version to 0.2.64 * Comment CI workflow to publish docker image * Update CI workflow names
1 parent 8515630 commit 2b83f38

File tree

16 files changed

+82
-82
lines changed

16 files changed

+82
-82
lines changed

.github/workflows/on-main.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Compose Build
1+
name: Lint & Test
22

33
on:
44
push:
@@ -39,21 +39,21 @@ jobs:
3939
yarn build
4040
yarn test:init
4141
yarn test
42-
build:
43-
name: Run docker build
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/checkout@v2
47-
- name: Get the version
48-
id: vars
49-
run: |
50-
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
51-
echo ::set-output name=repo::$(echo ${{ github.repository }})
52-
- name: Run docker build
53-
run: make docker-build
54-
- name: Tag docker image
55-
run: docker tag ${{steps.vars.outputs.repo}} ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}
56-
- name: Docker Login
57-
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u cerc-io --password-stdin
58-
- name: Docker Push
59-
run: docker push ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}
42+
# build:
43+
# name: Run docker build
44+
# runs-on: ubuntu-latest
45+
# steps:
46+
# - uses: actions/checkout@v2
47+
# - name: Get the version
48+
# id: vars
49+
# run: |
50+
# echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
51+
# echo ::set-output name=repo::$(echo ${{ github.repository }})
52+
# - name: Run docker build
53+
# run: make docker-build
54+
# - name: Tag docker image
55+
# run: docker tag ${{steps.vars.outputs.repo}} ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}
56+
# - name: Docker Login
57+
# run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u cerc-io --password-stdin
58+
# - name: Docker Push
59+
# run: docker push ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}

.github/workflows/on-pr.yaml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Build
1+
name: Lint & Test
22

33
on: [pull_request]
44

@@ -36,11 +36,11 @@ jobs:
3636
yarn build
3737
yarn test:init
3838
yarn test
39-
build:
40-
name: Run docker build
41-
runs-on: ubuntu-latest
42-
needs: test
43-
steps:
44-
- uses: actions/checkout@v2
45-
- name: Run docker build
46-
run: make docker-build
39+
# build:
40+
# name: Run docker build
41+
# runs-on: ubuntu-latest
42+
# needs: test
43+
# steps:
44+
# - uses: actions/checkout@v2
45+
# - name: Run docker build
46+
# run: make docker-build

.github/workflows/publish.yaml

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,8 @@
1-
name: Publish Docker image
1+
name: Publish packages
22
on:
33
release:
44
types: [published]
55
jobs:
6-
docker_publish:
7-
name: Push Docker image to Github Hub
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Get the version
11-
id: vars
12-
run: |
13-
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
14-
echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
15-
- name: Docker Login to Registry
16-
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u cerc-io --password-stdin
17-
- name: Docker Pull
18-
run: docker pull ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.sha}}
19-
- name: Tag docker image
20-
run: docker tag ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.sha}} ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.tag}}
21-
- name: Docker Push to Github Hub
22-
run: docker push ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.tag}}
23-
246
npm_publish:
257
runs-on: ubuntu-latest
268
strategy:
@@ -49,3 +31,21 @@ jobs:
4931
- name: lerna publish
5032
run: |
5133
yarn lerna publish from-package --no-git-tag-version --yes
34+
35+
# docker_publish:
36+
# name: Push Docker image to Github Hub
37+
# runs-on: ubuntu-latest
38+
# steps:
39+
# - name: Get the version
40+
# id: vars
41+
# run: |
42+
# echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
43+
# echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
44+
# - name: Docker Login to Registry
45+
# run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u cerc-io --password-stdin
46+
# - name: Docker Pull
47+
# run: docker pull ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.sha}}
48+
# - name: Tag docker image
49+
# run: docker tag ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.sha}} ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.tag}}
50+
# - name: Docker Push to Github Hub
51+
# run: docker push ghcr.io/cerc-io/watcher-ts:${{steps.vars.outputs.tag}}

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "0.2.63",
5+
"version": "0.2.64",
66
"npmClient": "yarn",
77
"useWorkspaces": true,
88
"command": {

packages/cache/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/cache",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "Generic object cache",
55
"main": "dist/index.js",
66
"scripts": {

packages/cli/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/cli",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"main": "dist/index.js",
55
"license": "AGPL-3.0",
66
"scripts": {
@@ -12,13 +12,13 @@
1212
},
1313
"dependencies": {
1414
"@apollo/client": "^3.7.1",
15-
"@cerc-io/cache": "^0.2.63",
16-
"@cerc-io/ipld-eth-client": "^0.2.63",
15+
"@cerc-io/cache": "^0.2.64",
16+
"@cerc-io/ipld-eth-client": "^0.2.64",
1717
"@cerc-io/libp2p": "^0.42.2-laconic-0.1.4",
1818
"@cerc-io/nitro-node": "^0.1.13",
19-
"@cerc-io/peer": "^0.2.63",
20-
"@cerc-io/rpc-eth-client": "^0.2.63",
21-
"@cerc-io/util": "^0.2.63",
19+
"@cerc-io/peer": "^0.2.64",
20+
"@cerc-io/rpc-eth-client": "^0.2.64",
21+
"@cerc-io/util": "^0.2.64",
2222
"@ethersproject/providers": "^5.4.4",
2323
"@graphql-tools/utils": "^9.1.1",
2424
"@ipld/dag-cbor": "^8.0.0",

packages/codegen/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/codegen",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "Code generator",
55
"private": true,
66
"main": "index.js",
@@ -20,7 +20,7 @@
2020
},
2121
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
2222
"dependencies": {
23-
"@cerc-io/util": "^0.2.63",
23+
"@cerc-io/util": "^0.2.64",
2424
"@graphql-tools/load-files": "^6.5.2",
2525
"@poanet/solidity-flattener": "https://github.com/vulcanize/solidity-flattener.git",
2626
"@solidity-parser/parser": "^0.13.2",

packages/codegen/src/templates/package-template.handlebars

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
4242
"dependencies": {
4343
"@apollo/client": "^3.3.19",
44-
"@cerc-io/cli": "^0.2.63",
45-
"@cerc-io/ipld-eth-client": "^0.2.63",
46-
"@cerc-io/solidity-mapper": "^0.2.63",
47-
"@cerc-io/util": "^0.2.63",
44+
"@cerc-io/cli": "^0.2.64",
45+
"@cerc-io/ipld-eth-client": "^0.2.64",
46+
"@cerc-io/solidity-mapper": "^0.2.64",
47+
"@cerc-io/util": "^0.2.64",
4848
{{#if (subgraphPath)}}
49-
"@cerc-io/graph-node": "^0.2.63",
49+
"@cerc-io/graph-node": "^0.2.64",
5050
{{/if}}
5151
"@ethersproject/providers": "^5.4.4",
5252
"apollo-type-bigint": "^0.1.3",

packages/graph-node/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@cerc-io/graph-node",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"main": "dist/index.js",
55
"license": "AGPL-3.0",
66
"devDependencies": {
7-
"@cerc-io/solidity-mapper": "^0.2.63",
7+
"@cerc-io/solidity-mapper": "^0.2.64",
88
"@ethersproject/providers": "^5.4.4",
99
"@graphprotocol/graph-ts": "^0.22.0",
1010
"@nomiclabs/hardhat-ethers": "^2.0.2",
@@ -51,9 +51,9 @@
5151
"dependencies": {
5252
"@apollo/client": "^3.3.19",
5353
"@cerc-io/assemblyscript": "0.19.10-watcher-ts-0.1.2",
54-
"@cerc-io/cache": "^0.2.63",
55-
"@cerc-io/ipld-eth-client": "^0.2.63",
56-
"@cerc-io/util": "^0.2.63",
54+
"@cerc-io/cache": "^0.2.64",
55+
"@cerc-io/ipld-eth-client": "^0.2.64",
56+
"@cerc-io/util": "^0.2.64",
5757
"@types/json-diff": "^0.5.2",
5858
"@types/yargs": "^17.0.0",
5959
"bn.js": "^4.11.9",

packages/ipld-eth-client/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/ipld-eth-client",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "IPLD ETH Client",
55
"main": "dist/index.js",
66
"scripts": {
@@ -20,7 +20,7 @@
2020
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
2121
"dependencies": {
2222
"@apollo/client": "^3.7.1",
23-
"@cerc-io/cache": "^0.2.63",
23+
"@cerc-io/cache": "^0.2.64",
2424
"cross-fetch": "^3.1.4",
2525
"debug": "^4.3.1",
2626
"ethers": "^5.4.4",

packages/peer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/peer",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "libp2p module",
55
"main": "dist/index.js",
66
"exports": "./dist/index.js",

packages/rpc-eth-client/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/rpc-eth-client",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "RPC ETH Client",
55
"main": "dist/index.js",
66
"scripts": {
@@ -19,9 +19,9 @@
1919
},
2020
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
2121
"dependencies": {
22-
"@cerc-io/cache": "^0.2.63",
23-
"@cerc-io/ipld-eth-client": "^0.2.63",
24-
"@cerc-io/util": "^0.2.63",
22+
"@cerc-io/cache": "^0.2.64",
23+
"@cerc-io/ipld-eth-client": "^0.2.64",
24+
"@cerc-io/util": "^0.2.64",
2525
"chai": "^4.3.4",
2626
"ethers": "^5.4.4",
2727
"left-pad": "^1.3.0",

packages/solidity-mapper/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@cerc-io/solidity-mapper",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"main": "dist/index.js",
55
"license": "AGPL-3.0",
66
"devDependencies": {
7-
"@cerc-io/ipld-eth-client": "^0.2.63",
7+
"@cerc-io/ipld-eth-client": "^0.2.64",
88
"@ethersproject/abi": "^5.3.0",
99
"@nomiclabs/hardhat-ethers": "^2.0.2",
1010
"@nomiclabs/hardhat-waffle": "^2.0.1",

packages/test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/test",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"main": "dist/index.js",
55
"license": "AGPL-3.0",
66
"private": true,

packages/tracing-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cerc-io/tracing-client",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"description": "ETH VM tracing client",
55
"main": "dist/index.js",
66
"scripts": {

packages/util/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@cerc-io/util",
3-
"version": "0.2.63",
3+
"version": "0.2.64",
44
"main": "dist/index.js",
55
"license": "AGPL-3.0",
66
"dependencies": {
77
"@apollo/utils.keyvaluecache": "^1.0.1",
88
"@cerc-io/nitro-node": "^0.1.13",
9-
"@cerc-io/peer": "^0.2.63",
10-
"@cerc-io/solidity-mapper": "^0.2.63",
9+
"@cerc-io/peer": "^0.2.64",
10+
"@cerc-io/solidity-mapper": "^0.2.64",
1111
"@cerc-io/ts-channel": "1.0.3-ts-nitro-0.1.1",
1212
"@ethersproject/properties": "^5.7.0",
1313
"@ethersproject/providers": "^5.4.4",
@@ -51,7 +51,7 @@
5151
"yargs": "^17.0.1"
5252
},
5353
"devDependencies": {
54-
"@cerc-io/cache": "^0.2.63",
54+
"@cerc-io/cache": "^0.2.64",
5555
"@nomiclabs/hardhat-waffle": "^2.0.1",
5656
"@types/bunyan": "^1.8.8",
5757
"@types/express": "^4.17.14",

0 commit comments

Comments
 (0)