Skip to content

Commit

Permalink
ci: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Papirniy committed Jan 31, 2022
1 parent 0a5f6a1 commit e8e7e32
Show file tree
Hide file tree
Showing 45 changed files with 2,617 additions and 143 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ Thumbs.db

.env
migrations.json
storage
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"name": "tatumio",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.200",
"license": "MIT",
"scripts": {
"start": "nx serve",
"build": "nx affected:build",
"build:all": "nx run-many --target=build --all --parallel",
"build:libs": "nx run-many --target=build --projects=$(nx affected:libs --plain | sed 's/ /,/g')",
"test:ci": "nx run-many --target=test --all --parallel --max-parallel=3 --coverage --coverageReporters=lcov && node ./tools/coverageMerger.js",
"lint": "nx affected:lint --parallel",
"format": "nx format:write",
"test": "nx affected:test --parallel",
"dep-graph": "nx dep-graph",
"generate-api": "openapi --exportCore false --useUnionTypes true --client axios --input ./packages/api-client/src/api_schema.json --output ./packages/api-client/src/generated",
"registry:start": "nxpm registry:start",
"registry:enable": "nxpm registry:enable",
"registry:disable": "nxpm registry:disable",
"registry:statum": "nxpm registry:status\n",
"prepare": "husky install"
},
"private": true,
Expand All @@ -32,8 +37,8 @@
"form-data": "^4.0.0",
"hdkey": "^2.0.1",
"reflect-metadata": "^0.1.13",
"stellar-sdk": "^8.1.0",
"ripple-lib": "^1.7.1",
"stellar-sdk": "^8.1.0",
"tslib": "^2.0.0",
"web3": "^1.7.0",
"web3-core": "^1.7.0",
Expand Down Expand Up @@ -67,6 +72,7 @@
"glob": "^7.2.0",
"husky": "^7.0.4",
"jest": "^27.4.5",
"nxpm": "^2.0.0",
"openapi-typescript-codegen": "^0.12.5",
"prettier": "2.5.1",
"ts-jest": "27.0.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/api-client",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/api-client/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/api-client",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/bch/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/bch",
"version": "0.0.1"
"name": "@tatumio/sdk-bch",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/bch/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/bch",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/bsc/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/bsc",
"version": "0.0.1"
"name": "@tatumio/sdk-bsc",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/bsc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/bsc",
Expand Down
6 changes: 3 additions & 3 deletions packages/blockchain/btc/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/btc",
"version": "0.0.1",
"type": "commonjs"
"name": "@tatumio/sdk-btc",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/btc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/btc",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/celo/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/celo",
"version": "0.0.1"
"name": "@tatumio/sdk-celo",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/celo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/celo",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/doge/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/doge",
"version": "0.0.1"
"name": "@tatumio/sdk-doge",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/doge/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/doge",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/eth/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/eth",
"version": "0.0.1"
"name": "@tatumio/sdk-eth",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/eth/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/eth",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/kcs/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/kcs",
"version": "0.0.1"
"name": "@tatumio/sdk-kcs",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/kcs/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/kcs",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/ltc/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/ltc",
"version": "0.0.1"
"name": "@tatumio/sdk-ltc",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/ltc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/ltc",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/one/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/one",
"version": "0.0.1"
"name": "@tatumio/sdk-one",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/one/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/one",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/polygon/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/polygon",
"version": "0.0.1"
"name": "@tatumio/sdk-polygon",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/polygon/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/polygon",
Expand Down
6 changes: 3 additions & 3 deletions packages/blockchain/scrypta/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tatumio/scrypta",
"version": "0.0.1",
"type": "commonjs"
"name": "@tatumio/sdk-scrypta",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
3 changes: 2 additions & 1 deletion packages/blockchain/scrypta/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/scrypta",
"main": "packages/blockchain/scrypta/src/index.ts",
"packageJson": "packages/blockchain/scrypta/package.json",
"tsConfig": "packages/blockchain/scrypta/tsconfig.lib.json"
}
},
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/xlm/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/xlm",
"version": "0.0.1"
"name": "@tatumio/sdk-xlm",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/xlm/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/xlm",
Expand Down
5 changes: 3 additions & 2 deletions packages/blockchain/xrp/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/xrp",
"version": "0.0.1"
"name": "@tatumio/sdk-xrp",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/blockchain/xrp/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/blockchain/xrp",
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/sdk",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/sdk",
Expand Down
5 changes: 3 additions & 2 deletions packages/shared/abstract-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/abstract-sdk",
"version": "0.0.1"
"name": "@tatumio/shared-abstract-sdk",
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/shared/abstract-sdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/shared/abstract-sdk",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/blockchain/abstract/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/shared-blockchain-abstract",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/shared/blockchain/abstract/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/shared/blockchain/abstract",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/blockchain/btc-based/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/shared-blockchain-btc-based",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/shared/blockchain/btc-based/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/shared/blockchain/btc-based",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/blockchain/evm-based/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/shared-blockchain-evm-based",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/shared/blockchain/evm-based/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/shared/blockchain/evm-based",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/core/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/shared-core",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
2 changes: 1 addition & 1 deletion packages/shared/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/js:tsc",
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/shared/core",
Expand Down
3 changes: 2 additions & 1 deletion packages/shared/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@tatumio/shared-testing",
"version": "0.0.1"
"version": "2.0.0-alpha.200",
"license": "MIT"
}
Loading

0 comments on commit e8e7e32

Please sign in to comment.