From 33bf0f05ed4fb181c6ddd6b4250fbd0b03bf8b9a Mon Sep 17 00:00:00 2001 From: Tomasz Awramski Date: Wed, 9 Aug 2023 16:54:32 +0200 Subject: [PATCH] fix: use common package convention - change package.json and tsconfig.json files to follow common convention Closes: #2216 Signed-off-by: Tomasz Awramski --- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- examples/supply-chain-app/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/cactus-api-client/package.json | 2 +- packages/cactus-cmd-api-server/package.json | 2 +- .../cactus-cmd-socketio-server/package.json | 37 +++- .../cactus-cmd-socketio-server/tsconfig.json | 9 +- packages/cactus-common/package.json | 2 +- packages/cactus-core-api/package.json | 2 +- packages/cactus-core/package.json | 2 +- .../package.json | 2 +- .../package.json | 174 ++++++++-------- .../cactus-plugin-htlc-eth-besu/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../cactus-plugin-keychain-vault/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 51 ++++- .../test/typescript/unit-test/package.json | 7 +- .../unit-test/validatorDriver_getNonceHex.ts | 10 +- .../validatorDriver_getNumericBalance.ts | 10 +- .../validatorDriver_sendRawTransaction.ts | 12 +- .../validatorDriver_transferNumericAsset.ts | 10 +- .../tsconfig.json | 12 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 46 ++++- .../tsconfig.json | 9 +- .../package.json | 42 ++++ .../tsconfig.json | 8 +- .../package.json | 194 +++++++++--------- .../package.json | 2 +- .../cactus-plugin-odap-hermes/package.json | 2 +- .../package.json | 2 +- packages/cactus-test-api-client/package.json | 2 +- .../cactus-test-cmd-api-server/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/cactus-test-tooling/package.json | 2 +- .../cactus-test-verifier-client/package.json | 2 +- .../cactus-test-verifier-client/tsconfig.json | 2 +- packages/cactus-verifier-client/package.json | 2 +- yarn.lock | 2 +- 57 files changed, 436 insertions(+), 279 deletions(-) diff --git a/examples/cactus-example-carbon-accounting-backend/package.json b/examples/cactus-example-carbon-accounting-backend/package.json index 0abcc912b52..a1a61deb166 100644 --- a/examples/cactus-example-carbon-accounting-backend/package.json +++ b/examples/cactus-example-carbon-accounting-backend/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json index abfa7b5ed79..1c84fd25523 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/examples/cactus-example-supply-chain-backend/package.json b/examples/cactus-example-supply-chain-backend/package.json index a2aa829901b..3e51737f300 100644 --- a/examples/cactus-example-supply-chain-backend/package.json +++ b/examples/cactus-example-supply-chain-backend/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/package.json b/examples/cactus-example-supply-chain-business-logic-plugin/package.json index 86693bb9b15..3a2a29106c5 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/package.json +++ b/examples/cactus-example-supply-chain-business-logic-plugin/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/examples/cactus-workshop-examples-2022-11-14/package.json b/examples/cactus-workshop-examples-2022-11-14/package.json index c4c59abc948..1efac6cc302 100644 --- a/examples/cactus-workshop-examples-2022-11-14/package.json +++ b/examples/cactus-workshop-examples-2022-11-14/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/examples/supply-chain-app/package.json b/examples/supply-chain-app/package.json index ecf61fe0260..79d55c531e4 100644 --- a/examples/supply-chain-app/package.json +++ b/examples/supply-chain-app/package.json @@ -27,7 +27,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/package.json b/extensions/cactus-plugin-htlc-coordinator-besu/package.json index 8dac806c47c..c71f1f1c581 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/package.json +++ b/extensions/cactus-plugin-htlc-coordinator-besu/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index 2829dd31cfb..382f8f53955 100644 --- a/extensions/cactus-plugin-object-store-ipfs/package.json +++ b/extensions/cactus-plugin-object-store-ipfs/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-api-client/package.json b/packages/cactus-api-client/package.json index ca12959f257..1ce491a1b9c 100644 --- a/packages/cactus-api-client/package.json +++ b/packages/cactus-api-client/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-cmd-api-server/package.json b/packages/cactus-cmd-api-server/package.json index b6f5e903660..9eabacc6575 100644 --- a/packages/cactus-cmd-api-server/package.json +++ b/packages/cactus-cmd-api-server/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-cmd-socketio-server/package.json b/packages/cactus-cmd-socketio-server/package.json index 638bb4d0c93..ed79b2fcfde 100644 --- a/packages/cactus-cmd-socketio-server/package.json +++ b/packages/cactus-cmd-socketio-server/package.json @@ -1,10 +1,41 @@ { "name": "@hyperledger/cactus-cmd-socketio-server", "version": "2.0.0-alpha.1", + "description": "Allows Cactus nodes to interact with HTLC ETH contracts", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, "license": "Apache-2.0", - "main": "dist/src/main/typescript/index.js", - "module": "dist/src/main/typescript/index.js", - "types": "dist/src/main/typescript/index.d.ts", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], "scripts": { "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", diff --git a/packages/cactus-cmd-socketio-server/tsconfig.json b/packages/cactus-cmd-socketio-server/tsconfig.json index 2916d20e7a0..6d60953dfce 100644 --- a/packages/cactus-cmd-socketio-server/tsconfig.json +++ b/packages/cactus-cmd-socketio-server/tsconfig.json @@ -2,8 +2,9 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "composite": true, - "outDir": "./dist/", - "tsBuildInfoFile": "../../.build-cache/cactus-cmd-socketio-server.tsbuildinfo", + "outDir": "./dist/lib", + "rootDir": "./src", + "tsBuildInfoFile": "../../.build-cache/cactus-cmd-socketio-server.tsbuildinfo" }, "include": [ "./src/main/typescript/business-logic-plugin/*.ts", @@ -13,9 +14,7 @@ "./src/main/typescript/util/*.ts", "./src/main/typescript/routing-interface/**/*.ts" ], - "exclude": [ - "copyStaticAssets.ts" - ], + "exclude": ["copyStaticAssets.ts"], "references": [ { "path": "../cactus-common/tsconfig.json" diff --git a/packages/cactus-common/package.json b/packages/cactus-common/package.json index 2baa19cca69..0ca39697103 100644 --- a/packages/cactus-common/package.json +++ b/packages/cactus-common/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index 9562828d21c..902fc4b6590 100644 --- a/packages/cactus-core-api/package.json +++ b/packages/cactus-core-api/package.json @@ -60,7 +60,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-core/package.json b/packages/cactus-core/package.json index 2f370cd7541..06b8ae861c0 100644 --- a/packages/cactus-core/package.json +++ b/packages/cactus-core/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 397829b7f3e..b4c75a8590f 100644 --- a/packages/cactus-plugin-consortium-manual/package.json +++ b/packages/cactus-plugin-consortium-manual/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json index 76a26133332..f8b6869954a 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json @@ -1,92 +1,92 @@ { - "name": "@hyperledger/cactus-plugin-htlc-eth-besu-erc20", - "version": "2.0.0-alpha.1", - "description": "Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens", - "keywords": [ - "Hyperledger", - "Cactus", - "Integration", - "Blockchain", - "Distributed Ledger Technology" - ], - "homepage": "https://github.com/hyperledger/cacti#readme", - "bugs": { - "url": "https://github.com/hyperledger/cacti/issues" + "name": "@hyperledger/cactus-plugin-htlc-eth-besu-erc20", + "version": "2.0.0-alpha.1", + "description": "Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cacti.git" + { + "name": "Peter Somogyvari", + "email": "peter.somogyvari@accenture.com", + "url": "https://accenture.com" }, - "license": "Apache-2.0", - "author": { - "name": "Hyperledger Cactus Contributors", - "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" - }, - "contributors": [ - { - "name": "Please add yourself to the list of contributors", - "email": "your.name@example.com", - "url": "https://example.com" - }, - { - "name": "Peter Somogyvari", - "email": "peter.somogyvari@accenture.com", - "url": "https://accenture.com" - }, - { - "name": "Jordi Giron", - "email": "jordi.giron.amezcua@accenture.com", - "url": "https://accenture.com" - } - ], - "main": "dist/lib/main/typescript/index.js", - "module": "dist/lib/main/typescript/index.js", - "browser": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "codegen": "run-p 'codegen:*'", - "codegen:openapi": "npm run generate-sdk", - "generate-sdk": "run-p 'generate-sdk:*'", - "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" - }, - "dependencies": { - "@hyperledger/cactus-common": "2.0.0-alpha.1", - "@hyperledger/cactus-core": "2.0.0-alpha.1", - "@hyperledger/cactus-core-api": "2.0.0-alpha.1", - "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.1", - "axios": "0.21.4", - "express": "4.17.1", - "joi": "17.9.1", - "openapi-types": "9.1.0", - "typescript-optional": "2.0.1" - }, - "devDependencies": { - "@types/express": "4.17.13" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "publishConfig": { - "access": "public" - }, - "browserMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.min.js", - "mainMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.node.umd.min.js", - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } + { + "name": "Jordi Giron", + "email": "jordi.giron.amezcua@accenture.com", + "url": "https://accenture.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "run-p 'generate-sdk:*'", + "generate-sdk:typescript-axios": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "generate-sdk:kotlin": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin -o ./src/main/kotlin/generated/openapi/kotlin-client/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" + }, + "dependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.1", + "@hyperledger/cactus-core": "2.0.0-alpha.1", + "@hyperledger/cactus-core-api": "2.0.0-alpha.1", + "@hyperledger/cactus-plugin-ledger-connector-besu": "2.0.0-alpha.1", + "axios": "0.21.4", + "express": "4.17.1", + "joi": "17.9.1", + "openapi-types": "9.1.0", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@types/express": "4.17.13" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] } + } } diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index b5ef22f024a..b66fd235acf 100644 --- a/packages/cactus-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-plugin-htlc-eth-besu/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index a6d99eac7db..954cae92210 100644 --- a/packages/cactus-plugin-keychain-aws-sm/package.json +++ b/packages/cactus-plugin-keychain-aws-sm/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index 762adc47ea4..1af246198e8 100644 --- a/packages/cactus-plugin-keychain-azure-kv/package.json +++ b/packages/cactus-plugin-keychain-azure-kv/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index d30089a4e03..58a781afa3a 100644 --- a/packages/cactus-plugin-keychain-google-sm/package.json +++ b/packages/cactus-plugin-keychain-google-sm/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index 7ed72aea048..3a594912167 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/package.json +++ b/packages/cactus-plugin-keychain-memory-wasm/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index 36a3f636c06..b6a77fb5b22 100644 --- a/packages/cactus-plugin-keychain-memory/package.json +++ b/packages/cactus-plugin-keychain-memory/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index 0408a942660..a023c9b565d 100644 --- a/packages/cactus-plugin-keychain-vault/package.json +++ b/packages/cactus-plugin-keychain-vault/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index 1cc55d8d38c..ebf0a6b63ea 100644 --- a/packages/cactus-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-plugin-ledger-connector-besu/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index 83b561b8189..ac4c23c02e7 100644 --- a/packages/cactus-plugin-ledger-connector-corda/package.json +++ b/packages/cactus-plugin-ledger-connector-corda/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index eb41e298f0d..2438ca19ea2 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json index 34468aeb1ad..3022f9d3863 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json @@ -1,22 +1,53 @@ { "name": "@hyperledger/cactus-plugin-ledger-connector-go-ethereum-socketio", "version": "2.0.0-alpha.1", + "description": "Allows Cactus nodes to connect to a Ethereum ledger ", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, "license": "Apache-2.0", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "types": "dist/lib/main/typescript/index.d.ts", "scripts": { "start": "cd ./dist && node common/core/bin/www.js", "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run init-ethereum", - "init-ethereum": "cp -af ../../yarn.lock ./dist/yarn.lock" + "init-ethereum": "cp -af ../../yarn.lock ./dist/lib/yarn.lock" }, + "files": [ + "dist/*" + ], "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", "@hyperledger/cactus-common": "2.0.0-alpha.1", - "@types/node": "14.17.32", + "@types/node": "15.14.7", "body-parser": "1.17.2", "cookie-parser": "1.4.6", "debug": "3.1.0", @@ -38,6 +69,14 @@ "@types/config": "0.0.41", "@types/cookie-parser": "1.4.3", "@types/express": "4.17.13", - "@types/http-errors": "2.0.1" + "@types/http-errors": "2.0.1", + "@types/node": "15.14.7" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" } } diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/package.json b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/package.json index 2c5cbff6095..192c179b1bd 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/package.json +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/package.json @@ -13,11 +13,12 @@ "config": "1.31.0", "ethereumjs-common": "1.5.2", "ethereumjs-tx": "2.1.2", + "socket.io-client": "4.5.4", "ts-node": "9.1.1", - "web3": "1.7.0", - "socket.io-client": "4.5.4" + "web3": "1.7.0" }, "devDependencies": { - "typescript": "4.9.5" + "typescript": "4.9.5", + "@types/shelljs": "^0.8.12" } } diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNonceHex.ts b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNonceHex.ts index e41f3a7326a..8b9ff0a6673 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNonceHex.ts +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNonceHex.ts @@ -60,7 +60,7 @@ import { io } from "socket.io-client"; reqID: reqID, }; - const json2str = (jsonObj) => { + const json2str = (jsonObj: object) => { try { return JSON.stringify(jsonObj); } catch (error) { @@ -68,25 +68,25 @@ import { io } from "socket.io-client"; } }; - socket.on("connect_error", (err) => { + socket.on("connect_error", (err: object) => { console.log("####connect_error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("connect_timeout", (err) => { + socket.on("connect_timeout", (err: object) => { console.log("####Error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("error", (err) => { + socket.on("error", (err: object) => { console.log("####Error:", err); }); - socket.on("eventReceived", function (res) { + socket.on("eventReceived", function (res: object) { // output the data received from the client console.log("#[recv]eventReceived, res: " + json2str(res)); }); diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNumericBalance.ts b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNumericBalance.ts index e24bb5e77cd..7fb491742af 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNumericBalance.ts +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_getNumericBalance.ts @@ -57,7 +57,7 @@ import { io } from "socket.io-client"; reqID: reqID, }; - const json2str = (jsonObj) => { + const json2str = (jsonObj: object) => { try { return JSON.stringify(jsonObj); } catch (error) { @@ -65,25 +65,25 @@ import { io } from "socket.io-client"; } }; - socket.on("connect_error", (err) => { + socket.on("connect_error", (err: object) => { console.log("####connect_error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("connect_timeout", (err) => { + socket.on("connect_timeout", (err: object) => { console.log("####Error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("error", (err) => { + socket.on("error", (err: object) => { console.log("####Error:", err); }); - socket.on("eventReceived", function (res) { + socket.on("eventReceived", function (res: object) { // output the data received from the client console.log("#[recv]eventReceived, res: " + json2str(res)); }); diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_sendRawTransaction.ts b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_sendRawTransaction.ts index 162ece00308..00a9bd61e5c 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_sendRawTransaction.ts +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_sendRawTransaction.ts @@ -65,7 +65,7 @@ import { io } from "socket.io-client"; const gas = 21000; - const json2str = (jsonObj) => { + const json2str = (jsonObj: any) => { try { return JSON.stringify(jsonObj); } catch (error) { @@ -75,7 +75,7 @@ import { io } from "socket.io-client"; const makeTxTransferNumericAsset = () => { //web3_v1.2.9_support - web3.eth.getTransactionCount("0x" + fromAddress).then((_nance) => { + web3.eth.getTransactionCount("0x" + fromAddress).then((_nance: any) => { const txnCount = _nance; // NOTE: No need to count up. @@ -115,25 +115,25 @@ import { io } from "socket.io-client"; }); }; - socket.on("connect_error", (err) => { + socket.on("connect_error", (err: object) => { console.log("####connect_error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("connect_timeout", (err) => { + socket.on("connect_timeout", (err: object) => { console.log("####Error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("error", (err) => { + socket.on("error", (err: any) => { console.log("####Error:", err); }); - socket.on("eventReceived", function (res) { + socket.on("eventReceived", function (res: object) { // output the data received from the client console.log("#[recv]eventReceived, res: " + json2str(res)); }); diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_transferNumericAsset.ts b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_transferNumericAsset.ts index 9baa08377c2..711c76a9cb9 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_transferNumericAsset.ts +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/src/test/typescript/unit-test/validatorDriver_transferNumericAsset.ts @@ -70,7 +70,7 @@ import { io } from "socket.io-client"; reqID: reqID, }; - const json2str = (jsonObj) => { + const json2str = (jsonObj: object) => { try { return JSON.stringify(jsonObj); } catch (error) { @@ -78,25 +78,25 @@ import { io } from "socket.io-client"; } }; - socket.on("connect_error", (err) => { + socket.on("connect_error", (err: object) => { console.log("####connect_error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("connect_timeout", (err) => { + socket.on("connect_timeout", (err: object) => { console.log("####Error:", err); // end communication socket.disconnect(); process.exit(0); }); - socket.on("error", (err) => { + socket.on("error", (err: object) => { console.log("####Error:", err); }); - socket.on("eventReceived", function (res) { + socket.on("eventReceived", function (res: any) { // output the data received from the client console.log("#[recv]eventReceived, res: " + json2str(res)); }); diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/tsconfig.json b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/tsconfig.json index 336b4d803f0..c760aaf1768 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/tsconfig.json +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/tsconfig.json @@ -1,20 +1,24 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "rootDir": "./src/main/typescript", + "rootDir": "./src", "composite": true, - "outDir": "./dist", + "outDir": "./dist/lib/", + "declarationDir": "./dist/lib", "sourceMap": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-go-ethereum-socketio.tsbuildinfo", + "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-go-ethereum-socketio.tsbuildinfo" }, "include": [ "./src/main/typescript/common/core/*.ts", "./src/main/typescript/common/core/bin/*.ts", "./src/main/typescript/common/core/config/*.ts", "./src/main/typescript/connector/*.ts", - "./src/main/typescript/*.ts" + "./src/main/typescript/*.ts", + "./src/test/typescript/**/*.ts", + "src/**/*.json", + "src/**/*.sol" ], "references": [ { diff --git a/packages/cactus-plugin-ledger-connector-iroha/package.json b/packages/cactus-plugin-ledger-connector-iroha/package.json index 086ab6a5947..9709741eaca 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha/package.json @@ -22,7 +22,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-iroha2/package.json b/packages/cactus-plugin-ledger-connector-iroha2/package.json index 430129511d3..6f6c25c4029 100644 --- a/packages/cactus-plugin-ledger-connector-iroha2/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha2/package.json @@ -24,7 +24,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index 782c62dfd09..e2ae8b9e4da 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-plugin-ledger-connector-quorum/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json index ed89616e784..0e94cbe0fdf 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json @@ -1,17 +1,45 @@ { "name": "@hyperledger/cactus-plugin-ledger-connector-sawtooth-socketio", "version": "2.0.0-alpha.1", + "description": "Allows Cactus nodes to connect to a Sawtooth ledger", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, "license": "Apache-2.0", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "types": "dist/lib/main/typescript/index.d.ts", "scripts": { "start": "cd ./dist && node common/core/bin/www.js", "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run init-sawtooth", - "init-sawtooth": "cp -af ../../yarn.lock ./dist/yarn.lock" + "init-sawtooth": "cp -af ../../yarn.lock ./dist/lib/yarn.lock" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -39,5 +67,15 @@ "@types/cookie-parser": "1.4.3", "@types/express": "4.17.13", "@types/http-errors": "2.0.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "files": [ + "dist/*" + ], + "publishConfig": { + "access": "public" } } diff --git a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/tsconfig.json b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/tsconfig.json index ea43e4c32e6..b223436d86f 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/tsconfig.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/tsconfig.json @@ -1,20 +1,21 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "rootDir": "./src/main/typescript", + "rootDir": "./src", "composite": true, - "outDir": "./dist", + "outDir": "./dist/lib", "sourceMap": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-sawtooth-socketio.tsbuildinfo", + "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-sawtooth-socketio.tsbuildinfo" }, "include": [ "./src/main/typescript/common/core/*.ts", "./src/main/typescript/common/core/bin/*.ts", "./src/main/typescript/common/core/config/*.ts", "./src/main/typescript/connector/*.ts", - "./src/main/typescript/*.ts" + "./src/main/typescript/*.ts", + "./src/test/typescript/integration/*.ts" ], "references": [ { diff --git a/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json b/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json index 07cb3e33fe0..4400c209801 100644 --- a/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json @@ -1,7 +1,42 @@ { "name": "@hyperledger/cactus-plugin-ledger-connector-tcs-huawei-socketio", "version": "2.0.0-alpha.1", + "description": "Allows Cactus nodes to connect to a Trusted Cross-chain Service-Huawei", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, "license": "Apache-2.0", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-htlc-eth-besu.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], "scripts": { "start": "cd ./dist && node common/core/bin/www.js", "debug": "nodemon --inspect ./dist/common/core/bin/www.js", @@ -33,5 +68,12 @@ "@types/cookie-parser": "1.4.3", "@types/express": "4.17.13", "@types/http-errors": "2.0.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" } } diff --git a/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/tsconfig.json b/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/tsconfig.json index 952920156b6..9eec1442cb6 100644 --- a/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/tsconfig.json +++ b/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/tsconfig.json @@ -1,13 +1,15 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "rootDir": "./src/main/typescript", "composite": true, - "outDir": "./dist", + "outDir": "./dist/lib/", + "declarationDir": "dist/lib", + "resolveJsonModule": true, + "rootDir": "./src", "sourceMap": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, - "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-tcs-huawei-socketio.tsbuildinfo", + "tsBuildInfoFile": "../../.build-cache/cactus-plugin-ledger-connector-tcs-huawei-socketio.tsbuildinfo" }, "include": [ "./src/main/typescript/common/core/*.ts", diff --git a/packages/cactus-plugin-ledger-connector-ubiquity/package.json b/packages/cactus-plugin-ledger-connector-ubiquity/package.json index a68637d04bc..a1fcc8e0b00 100644 --- a/packages/cactus-plugin-ledger-connector-ubiquity/package.json +++ b/packages/cactus-plugin-ledger-connector-ubiquity/package.json @@ -1,102 +1,102 @@ { - "name": "@hyperledger/cactus-plugin-ledger-connector-ubiquity", - "version": "2.0.0-alpha.1", - "description": "Allows Cacti nodes to connect to a set of public blockchains.", - "keywords": [ - "Hyperledger", - "Cactus", - "Integration", - "Blockchain", - "Distributed Ledger Technology", - "Ubiquity" - ], - "homepage": "https://github.com/hyperledger/cacti#readme", - "bugs": { - "url": "https://github.com/hyperledger/cacti/issues" + "name": "@hyperledger/cactus-plugin-ledger-connector-ubiquity", + "version": "2.0.0-alpha.1", + "description": "Allows Cacti nodes to connect to a set of public blockchains.", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology", + "Ubiquity" + ], + "homepage": "https://github.com/hyperledger/cacti#readme", + "bugs": { + "url": "https://github.com/hyperledger/cacti/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cacti.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cacti" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cacti.git" - }, - "license": "Apache-2.0", - "author": { - "name": "Hyperledger Cactus Contributors", - "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" - }, - "contributors": [ - { - "name": "Please add yourself to the list of contributors", - "email": "your.name@example.com", - "url": "https://example.com" - }, - { - "name": "Rafael Belchior", - "email": "rbelchior@blockdaemon.com", - "url": "https://blockdaemon.com" - } - ], - "main": "dist/lib/main/typescript/index.js", - "module": "dist/lib/main/typescript/index.js", - "browser": "dist/cactus-plugin-ledger-connector-ubiquity.web.umd.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "codegen": "run-p 'codegen:*'", - "codegen:openapi": "npm run generate-sdk", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "tsc": "tsc --project ./tsconfig.json" - }, - "dependencies": { - "@hyperledger/cactus-core": "2.0.0-alpha.1", - "@hyperledger/cactus-core-api": "2.0.0-alpha.1", - "@ubiquity/ubiquity-ts-client-modified": "https://github.com/RafaelAPB/ubiquity-ts-client-mirror.git", - "dotenv": "16.0.1", - "prom-client": "13.2.0", - "typescript-optional": "2.0.1" - }, - "devDependencies": { - "@hyperledger/cactus-common": "2.0.0-alpha.1", - "@hyperledger/cactus-test-tooling": "2.0.0-alpha.1", - "@types/express": "4.17.8" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "publishConfig": { - "access": "public" + { + "name": "Rafael Belchior", + "email": "rbelchior@blockdaemon.com", + "url": "https://blockdaemon.com" + } + ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-ubiquity.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", + "tsc": "tsc --project ./tsconfig.json" + }, + "dependencies": { + "@hyperledger/cactus-core": "2.0.0-alpha.1", + "@hyperledger/cactus-core-api": "2.0.0-alpha.1", + "@ubiquity/ubiquity-ts-client-modified": "https://github.com/RafaelAPB/ubiquity-ts-client-mirror.git", + "dotenv": "16.0.1", + "prom-client": "13.2.0", + "typescript-optional": "2.0.1" + }, + "devDependencies": { + "@hyperledger/cactus-common": "2.0.0-alpha.1", + "@hyperledger/cactus-test-tooling": "2.0.0-alpha.1", + "@types/express": "4.17.8" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-ubiquity.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-ubiquity.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] }, - "browserMinified": "dist/cactus-plugin-ledger-connector-ubiquity.web.umd.min.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-ubiquity.node.umd.min.js", - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - }, - "tsc": { - "patterns": [ - "src/", - "src/*/json/**/openapi*" - ], - "ignore": [ - "src/**/generated/*" - ], - "extensions": [ - "ts", - "json" - ], - "quiet": true, - "verbose": false, - "runOnChangeOnly": true - } + "tsc": { + "patterns": [ + "src/", + "src/*/json/**/openapi*" + ], + "ignore": [ + "src/**/generated/*" + ], + "extensions": [ + "ts", + "json" + ], + "quiet": true, + "verbose": false, + "runOnChangeOnly": true } + } } diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index bcdd5891f9c..a1da9af8d04 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/package.json +++ b/packages/cactus-plugin-ledger-connector-xdai/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-odap-hermes/package.json b/packages/cactus-plugin-odap-hermes/package.json index 8e92f78f2db..ebbdaf4b3b3 100644 --- a/packages/cactus-plugin-odap-hermes/package.json +++ b/packages/cactus-plugin-odap-hermes/package.json @@ -18,7 +18,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-plugin-persistence-ethereum/package.json b/packages/cactus-plugin-persistence-ethereum/package.json index a37fe245c5b..d9e1efb5654 100644 --- a/packages/cactus-plugin-persistence-ethereum/package.json +++ b/packages/cactus-plugin-persistence-ethereum/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-api-client/package.json b/packages/cactus-test-api-client/package.json index 268a97c5721..0fa27c15628 100644 --- a/packages/cactus-test-api-client/package.json +++ b/packages/cactus-test-api-client/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-cmd-api-server/package.json b/packages/cactus-test-cmd-api-server/package.json index 117a03829c0..729f61c3dce 100644 --- a/packages/cactus-test-cmd-api-server/package.json +++ b/packages/cactus-test-cmd-api-server/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-plugin-consortium-manual/package.json b/packages/cactus-test-plugin-consortium-manual/package.json index df9404b1e1e..fa5ffbfff98 100644 --- a/packages/cactus-test-plugin-consortium-manual/package.json +++ b/packages/cactus-test-plugin-consortium-manual/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json index e361a8e41b9..d8b0c202045 100644 --- a/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-plugin-htlc-eth-besu/package.json b/packages/cactus-test-plugin-htlc-eth-besu/package.json index 24dbf3a3fb6..9b20df184fe 100644 --- a/packages/cactus-test-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-test-plugin-htlc-eth-besu/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-plugin-ledger-connector-besu/package.json b/packages/cactus-test-plugin-ledger-connector-besu/package.json index 5d6207cae76..9a136f9d63d 100644 --- a/packages/cactus-test-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-test-plugin-ledger-connector-besu/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-plugin-ledger-connector-quorum/package.json b/packages/cactus-test-plugin-ledger-connector-quorum/package.json index e8e4d55a52a..cd6edf07c36 100644 --- a/packages/cactus-test-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-test-plugin-ledger-connector-quorum/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-tooling/package.json b/packages/cactus-test-tooling/package.json index 35ab171687e..91eaefbc40c 100644 --- a/packages/cactus-test-tooling/package.json +++ b/packages/cactus-test-tooling/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-verifier-client/package.json b/packages/cactus-test-verifier-client/package.json index b76538fa403..caf535e9cf9 100644 --- a/packages/cactus-test-verifier-client/package.json +++ b/packages/cactus-test-verifier-client/package.json @@ -21,7 +21,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/packages/cactus-test-verifier-client/tsconfig.json b/packages/cactus-test-verifier-client/tsconfig.json index 443b21d0869..19994372ba1 100644 --- a/packages/cactus-test-verifier-client/tsconfig.json +++ b/packages/cactus-test-verifier-client/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "composite": true, - "outDir": "./dist/", + "outDir": "./dist/lib", "declarationDir": "dist/", "resolveJsonModule": true, "rootDir": "./src", diff --git a/packages/cactus-verifier-client/package.json b/packages/cactus-verifier-client/package.json index 824465acd93..342a6dd4005 100644 --- a/packages/cactus-verifier-client/package.json +++ b/packages/cactus-verifier-client/package.json @@ -29,7 +29,7 @@ "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { diff --git a/yarn.lock b/yarn.lock index 8330088f085..bebcc6c76dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7290,7 +7290,7 @@ __metadata: "@types/cookie-parser": 1.4.3 "@types/express": 4.17.13 "@types/http-errors": 2.0.1 - "@types/node": 14.17.32 + "@types/node": 15.14.7 body-parser: 1.17.2 cookie-parser: 1.4.6 debug: 3.1.0