Skip to content

Commit

Permalink
bump script (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci authored May 3, 2023
1 parent 6aca227 commit e8ac343
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lib/
dist/
examples/
scripts/
packages/evm-subql/src/types
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jspm_packages/
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.yarn/versions

# Optional eslint cache
.eslintcache
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"files.associations": {
"*.json": "json"
}
},
"typescript.tsdk": "node_modules/typescript/lib"
}
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ docker logs -f <container_id> # logs for specific container
### CI
first bump versions and commit
```
yarn workspaces foreach -vit --include "@acala-network/*" --exclude "@acala-network/evm-subql" version <patch, minor, major>
yarn bump <patch, minor, major>
git add .
git commit -m "bump v2.x.x"
```
Expand All @@ -99,5 +99,3 @@ then tag the commit and push
git tag v2.x.x
git push --atomic origin master v2.x.x
```


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"e2e:waffle": "yarn start:chain; yarn run test:waffle",
"e2e:truffle": "yarn start:eth-rpc-adapter; cd examples/truffle-tutorials; yarn install --immutable; yarn test:mandala",
"e2e:hardhat": "docker compose up --build -- eth-rpc-adapter-rich-ready; cd examples/hardhat-tutorials; yarn install --immutable; yarn test:mandala",
"bump": "yarn workspaces foreach -vit --include \"@acala-network/*\" version patch",
"bump": "yarn workspaces foreach -vit --include '@acala-network/*' --exclude '@acala-network/evm-subql' version",
"postinstall": "husky install"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"target": "es2020",
"skipLibCheck": true,
"strict": true,
"allowJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"declaration": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "./tsconfig.base.json",
"exclude": ["**/node_modules", "**/lib", "packages/evm-subql/src/types", "**/__tests__"],
"include": ["./packages/**/*"]
"exclude": ["**/node_modules", "**/lib", "packages/evm-subql/src/types"],
"include": ["packages/**/*", "packages/**/src/**/*.json"]
}

0 comments on commit e8ac343

Please sign in to comment.