From f15c8d2bb45d35ecfcd68a9e4d4bd4c7a9939543 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 | 12 +- .../package.json | 4 +- .../package.json | 6 +- .../package.json | 2 +- .../package.json | 10 +- .../package.json | 10 +- .../package.json | 4 +- .../package.json | 6 +- .../package.json | 2 +- .../cactus-example-tcs-huawei/package.json | 6 +- .../package.json | 4 +- examples/supply-chain-app/package.json | 2 +- .../package.json | 4 +- .../package.json | 6 +- packages/cactus-api-client/package.json | 4 +- packages/cactus-cmd-api-server/package.json | 6 +- .../cactus-cmd-socketio-server/package.json | 39 +++- .../cactus-cmd-socketio-server/tsconfig.json | 9 +- packages/cactus-common/package.json | 4 +- packages/cactus-core-api/package.json | 90 ++++---- packages/cactus-core/package.json | 4 +- .../package.json | 6 +- .../package.json | 176 ++++++++-------- .../cactus-plugin-htlc-eth-besu/package.json | 8 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../package.json | 6 +- .../cactus-plugin-keychain-vault/package.json | 6 +- .../package.json | 4 +- .../package.json | 2 +- .../package.json | 6 +- .../package.json | 8 +- .../package.json | 6 +- .../package.json | 57 ++++- .../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 | 4 +- .../package.json | 4 +- .../package.json | 4 +- .../package.json | 52 ++++- .../tsconfig.json | 9 +- .../package.json | 50 ++++- .../tsconfig.json | 8 +- .../package.json | 196 +++++++++--------- .../package.json | 4 +- .../cactus-plugin-odap-hermes/package.json | 6 +- .../package.json | 12 +- .../package.json | 12 +- packages/cactus-test-api-client/package.json | 4 +- .../cactus-test-cmd-api-server/package.json | 4 +- .../package.json | 4 +- .../package.json | 4 +- .../package.json | 4 +- .../package.json | 4 +- .../package.json | 4 +- packages/cactus-test-tooling/package.json | 4 +- .../cactus-test-verifier-client/package.json | 4 +- .../cactus-test-verifier-client/tsconfig.json | 2 +- packages/cactus-verifier-client/package.json | 46 ++-- tsconfig.tsbuildinfo | 1 + yarn.lock | 2 +- 67 files changed, 605 insertions(+), 447 deletions(-) create mode 100644 tsconfig.tsbuildinfo diff --git a/examples/cactus-check-connection-ethereum-validator/package.json b/examples/cactus-check-connection-ethereum-validator/package.json index ad6df5ceded..dacc78201e2 100644 --- a/examples/cactus-check-connection-ethereum-validator/package.json +++ b/examples/cactus-check-connection-ethereum-validator/package.json @@ -3,15 +3,15 @@ "version": "2.0.0-alpha.1", "private": true, "scripts": { - "start": "node ../../dist/packages/cactus-cmd-socketio-server/src/main/typescript/routing-interface/www.js", - "debug": "nodemon --inspect ../../dist/packages/cactus-cmd-socketio-server/src/main/typescript/routing-interface/www.js", "build": "npm run build-ts && npm run copy-static-assets && npm run copy-blp-config && npm run replace-blp-config-path", "build-ts": "tsc -p ./tsconfig.json", - "tslint": "tslint -c tslint.json -p tsconfig.json './*.ts'", - "copy-static-assets": "ts-node copyStaticAssets.ts", "copy-blp-config": "ts-node copyBLPConfig.ts", + "copy-static-assets": "ts-node copyStaticAssets.ts", + "debug": "nodemon --inspect ../../dist/packages/cactus-cmd-socketio-server/src/main/typescript/routing-interface/www.js", + "init-check-connection-ethereum-validator": "ln -s ../examples/cactus-check-connection-ethereum-validator/node_modules ../../dist/node_modules", "replace-blp-config-path": "ts-node replaceBLPConfigPath.ts", - "init-check-connection-ethereum-validator": "ln -s ../examples/cactus-check-connection-ethereum-validator/node_modules ../../dist/node_modules" + "start": "node ../../dist/packages/cactus-cmd-socketio-server/src/main/typescript/routing-interface/www.js", + "tslint": "tslint -c tslint.json -p tsconfig.json './*.ts'" }, "dependencies": { "escape-html": "1.0.3", @@ -21,4 +21,4 @@ "@types/escape-html": "1.0.1", "@types/node": "15.14.7" } -} +} \ No newline at end of file diff --git a/examples/cactus-example-carbon-accounting-backend/package.json b/examples/cactus-example-carbon-accounting-backend/package.json index 3b4fcdaae0a..ebca79c5054 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": [ { @@ -101,4 +101,4 @@ "extensions": "sol" } } -} +} \ No newline at end of file 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..a192c502049 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": [ { @@ -46,8 +46,8 @@ "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", + "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", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -91,4 +91,4 @@ ] } } -} +} \ No newline at end of file diff --git a/examples/cactus-example-carbon-accounting-frontend/package.json b/examples/cactus-example-carbon-accounting-frontend/package.json index 07359ea6d70..a52cea90eff 100644 --- a/examples/cactus-example-carbon-accounting-frontend/package.json +++ b/examples/cactus-example-carbon-accounting-frontend/package.json @@ -94,4 +94,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/examples/cactus-example-discounted-asset-trade/package.json b/examples/cactus-example-discounted-asset-trade/package.json index d3085d967ec..0685e0b4209 100644 --- a/examples/cactus-example-discounted-asset-trade/package.json +++ b/examples/cactus-example-discounted-asset-trade/package.json @@ -1,18 +1,18 @@ { "name": "@hyperledger/cactus-example-discounted-asset-trade", "version": "2.0.0-alpha.1", + "private": true, "license": "Apache-2.0", "main": "dist/www.js", "module": "dist/www.js", "types": "dist/www.d.ts", - "private": true, "scripts": { - "start": "npm run build_pip_indy_package && docker-compose build && docker-compose up", - "start-dockerless": "node ./dist/www.js", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", + "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/", "build_pip_indy_package": "cd ../../packages-python/cactus_validator_socketio_indy && python3 setup.py bdist_wheel", - "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/" + "start": "npm run build_pip_indy_package && docker-compose build && docker-compose up", + "start-dockerless": "node ./dist/www.js" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -48,4 +48,4 @@ "@types/express": "4.17.13", "@types/jsrsasign": "10.5.8" } -} +} \ No newline at end of file diff --git a/examples/cactus-example-electricity-trade/package.json b/examples/cactus-example-electricity-trade/package.json index 16f8a35ce85..ba47e3cb1c1 100644 --- a/examples/cactus-example-electricity-trade/package.json +++ b/examples/cactus-example-electricity-trade/package.json @@ -1,17 +1,17 @@ { "name": "@hyperledger/cactus-example-electricity-trade", "version": "2.0.0-alpha.1", + "private": true, "license": "Apache-2.0", "main": "dist/www.js", "module": "dist/www.js", "types": "dist/www.d.ts", - "private": true, "scripts": { - "start": "docker-compose build && docker-compose up", - "start-dockerless": "node ./dist/www.js", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", - "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/" + "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/", + "start": "docker-compose build && docker-compose up", + "start-dockerless": "node ./dist/www.js" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -47,4 +47,4 @@ "eslint-plugin-prettier": "4.0.0", "prettier": "2.5.1" } -} +} \ No newline at end of file diff --git a/examples/cactus-example-supply-chain-backend/package.json b/examples/cactus-example-supply-chain-backend/package.json index a2aa829901b..3a018d86b58 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": [ { @@ -90,4 +90,4 @@ "browserMinified": "dist/cactus-example-supply-chain-backend.web.umd.min.js", "mainMinified": "dist/cactus-example-supply-chain-backend.node.umd.min.js", "watch": {} -} +} \ No newline at end of file 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..5b372076fa7 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": [ { @@ -46,8 +46,8 @@ "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/", "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", + "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/", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -92,4 +92,4 @@ ] } } -} +} \ No newline at end of file diff --git a/examples/cactus-example-supply-chain-frontend/package.json b/examples/cactus-example-supply-chain-frontend/package.json index 4af8ac0c9f0..a67696ad79b 100644 --- a/examples/cactus-example-supply-chain-frontend/package.json +++ b/examples/cactus-example-supply-chain-frontend/package.json @@ -94,4 +94,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/examples/cactus-example-tcs-huawei/package.json b/examples/cactus-example-tcs-huawei/package.json index c25e18266a9..e5bc5689d27 100644 --- a/examples/cactus-example-tcs-huawei/package.json +++ b/examples/cactus-example-tcs-huawei/package.json @@ -6,10 +6,10 @@ "module": "dist/www.js", "types": "dist/www.d.ts", "scripts": { - "start": "docker-compose build && docker-compose up", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", - "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/" + "build:dev:backend:postbuild": "cp -f ../../yarn.lock ./dist/", + "start": "docker-compose build && docker-compose up" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -47,4 +47,4 @@ "eslint-plugin-prettier": "4.0.0", "prettier": "2.5.1" } -} +} \ No newline at end of file diff --git a/examples/cactus-workshop-examples-2022-11-14/package.json b/examples/cactus-workshop-examples-2022-11-14/package.json index c4c59abc948..0935296c8ad 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": [ { @@ -68,4 +68,4 @@ "browserMinified": "dist/cactus-workshop-examples-2022-11-14.web.umd.min.js", "mainMinified": "dist/cactus-workshop-examples-2022-11-14.node.umd.min.js", "watch": {} -} +} \ No newline at end of file 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..2692aec86e2 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": [ { @@ -99,4 +99,4 @@ ] } } -} +} \ No newline at end of file diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index 2829dd31cfb..536a9d70e3a 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": [ { @@ -46,8 +46,8 @@ "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", + "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", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -87,4 +87,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-api-client/package.json b/packages/cactus-api-client/package.json index ca12959f257..0a6285d06ab 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": [ { @@ -74,4 +74,4 @@ "browserMinified": "dist/cactus-api-client.web.umd.min.js", "mainMinified": "dist/cactus-api-client.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-cmd-api-server/package.json b/packages/cactus-cmd-api-server/package.json index 6bfad0beeea..95cc642237f 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": [ { @@ -47,8 +47,8 @@ "codegen:openapi": "npm run generate-sdk", "codegen:proto": "run-s proto:openapi proto:protoc-gen-ts", "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", + "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", "proto:openapi": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --additional-properties=packageName=org.hyperledger.cactus.cmd_api_server -o ./src/main/proto/generated/openapi/ -t=./src/main/openapi-generator/templates/protobuf-schema/", "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ ./src/main/proto/generated/openapi/services/*.proto", "watch": "npm-watch", @@ -135,4 +135,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-cmd-socketio-server/package.json b/packages/cactus-cmd-socketio-server/package.json index 638bb4d0c93..4078c4d9d5f 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", @@ -55,4 +86,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file 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..bd2d602a471 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": [ { @@ -76,4 +76,4 @@ "browserMinified": "dist/cactus-common.web.umd.min.js", "mainMinified": "dist/cactus-common.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index a15743f65e8..1ae59b4d5dc 100644 --- a/packages/cactus-core-api/package.json +++ b/packages/cactus-core-api/package.json @@ -2,49 +2,6 @@ "name": "@hyperledger/cactus-core-api", "version": "2.0.0-alpha.1", "description": "Contains type definitions/interfaces for the kernel of the codebase. Kept separate from the implementation so that it is easier to use it as a dependency.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-core-api.node.umd.min.js", - "browser": "dist/cactus-core-api.web.umd.js", - "browserMinified": "dist/cactus-core-api.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "codegen": "run-s 'codegen:*'", - "codegen:openapi": "npm run generate-sdk", - "codegen:proto": "run-s proto:protoc-gen-ts", - "generate-sdk": "run-s '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", - "proto:protoc-gen-ts": "run-s proto:protoc-gen-ts:make-dir proto:protoc-gen-ts:grpc_tools_node_protoc", - "proto:protoc-gen-ts:make-dir": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", - "proto:protoc-gen-ts:grpc_tools_node_protoc": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", - "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" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cacti.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -56,11 +13,15 @@ "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/cactus" + "url": "https://www.hyperledger.org/use/cacti" }, "contributors": [ { @@ -74,6 +35,29 @@ "url": "https://accenture.com" } ], + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-core-api.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-s 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "codegen:proto": "run-s proto:protoc-gen-ts", + "generate-sdk": "run-s '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", + "proto:protoc-gen-ts": "run-s proto:protoc-gen-ts:make-dir proto:protoc-gen-ts:grpc_tools_node_protoc", + "proto:protoc-gen-ts:make-dir": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", + "proto:protoc-gen-ts:grpc_tools_node_protoc": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", + "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", "axios": "0.21.4" @@ -91,7 +75,23 @@ "socket.io": "4.5.4", "typescript-optional": "2.0.1" }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-core-api.web.umd.min.js", "installConfig": { "hoistingLimits": "dependencies" + }, + "mainMinified": "dist/cactus-core-api.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } -} +} \ No newline at end of file diff --git a/packages/cactus-core/package.json b/packages/cactus-core/package.json index 2f370cd7541..09cbb348e5e 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": [ { @@ -71,4 +71,4 @@ "browserMinified": "dist/cactus-core.web.umd.min.js", "mainMinified": "dist/cactus-core.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 397829b7f3e..d159f173cd9 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": [ { @@ -46,8 +46,8 @@ "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", + "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", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -88,4 +88,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json index 76a26133332..ee8b298c262 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: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", + "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", + "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" + ] } -} + } +} \ No newline at end of file diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index b5ef22f024a..023ce773ce8 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": [ { @@ -55,6 +55,7 @@ "scripts": { "codegen": "run-p 'codegen:*'", "codegen:openapi": "npm run generate-sdk", + "compile-contracts": "forge build", "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", "lint": "solhint --fix", @@ -62,8 +63,7 @@ "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", - "compile-contracts": "forge build" + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, "dependencies": { "@hyperledger/cactus-common": "2.0.0-alpha.1", @@ -105,4 +105,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index a6d99eac7db..63da50559b9 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": [ { @@ -46,8 +46,8 @@ "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/", "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", + "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/", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -88,4 +88,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index 762adc47ea4..175d1db2d17 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": [ { @@ -51,8 +51,8 @@ "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/", "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", + "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/", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -93,4 +93,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index d30089a4e03..bcc316de936 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": [ { @@ -46,8 +46,8 @@ "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/", "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", + "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/", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -87,4 +87,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index 7ed72aea048..f7bad85fcd3 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": [ { @@ -49,8 +49,8 @@ "del-wasm-pack-project-files": "del-cli src/main/typescript/generated/wasm-pack/{package.json,README.md,.gitignore}", "generate-rust-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g rust-server -o ./src/main/rust/generated/openapi/rust-server", "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", + "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", "wasm-pack": "CARGO_TARGET_DIR=${PWD}/dist/target-rustc/ wasm-pack build src/main/rust/cactus-plugin-keychain-memory-wasm/ --release --scope=hyperledger --target=nodejs --out-dir=../../../../src/main/typescript/generated/wasm-pack/", "postwasm-pack": "run-s del-wasm-pack-project-files copy-wasm-bg", "watch": "npm-watch", @@ -89,4 +89,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index 36a3f636c06..f86c06c4fa4 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": [ { @@ -46,8 +46,8 @@ "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", + "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", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -82,4 +82,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index 0408a942660..6b6e764d96e 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": [ { @@ -46,8 +46,8 @@ "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/", "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", + "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/", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -92,4 +92,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index 1cc55d8d38c..32e4f3c7f68 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": [ { @@ -97,4 +97,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-cdl-socketio/package.json b/packages/cactus-plugin-ledger-connector-cdl-socketio/package.json index af0f7c4692e..513cb225490 100644 --- a/packages/cactus-plugin-ledger-connector-cdl-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-cdl-socketio/package.json @@ -84,4 +84,4 @@ "access": "public" }, "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index 3170feb955e..6800f6a5f42 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": [ { @@ -46,8 +46,8 @@ "codegen": "run-p 'codegen:*'", "codegen:openapi": "run-p generate-sdk generate-server", "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/", "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", + "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/", "generate-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin-spring -o ./src/main-server/kotlin/gen/kotlin-spring/ -c ./src/main-server/openapi-generator-config.yaml", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", @@ -93,4 +93,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json b/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json index e8d63a8514b..0f96c4e5925 100644 --- a/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json @@ -6,12 +6,12 @@ "module": "dist/index.js", "types": "dist/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 prepare-docker-build", - "prepare-docker-build": "cp -af ../../yarn.lock ./dist/yarn.lock" + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "prepare-docker-build": "cp -af ../../yarn.lock ./dist/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -48,4 +48,4 @@ "@types/lodash": "4.14.195", "ts-node": "9.1.1" } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index 0e56d8378c1..535165b8fc4 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": [ { @@ -46,8 +46,8 @@ "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", + "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", "watch": "npm-watch", "webpack": "npm-run-all webpack:dev", "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", @@ -120,4 +120,4 @@ ] } } -} +} \ No newline at end of file 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..4312685968a 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", + "files": [ + "dist/*" + ], "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" + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-ethereum": "cp -af ../../yarn.lock ./dist/lib/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "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" } -} +} \ No newline at end of file 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..ae558852a5a 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" + "@types/shelljs": "^0.8.12", + "typescript": "3.9.10" } } 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..981f18f9bbd 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": [ { @@ -97,4 +97,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-iroha2/package.json b/packages/cactus-plugin-ledger-connector-iroha2/package.json index acf5a9a0c98..54d34c32a9c 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": [ { @@ -81,4 +81,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index 782c62dfd09..3c3d19994de 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": [ { @@ -100,4 +100,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json index ed89616e784..d7ff86d0b60 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json @@ -1,17 +1,48 @@ { "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", + "files": [ + "dist/*" + ], "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" + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-sawtooth": "cp -af ../../yarn.lock ./dist/lib/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "dependencies": { "@hyperledger/cactus-cmd-socketio-server": "2.0.0-alpha.1", @@ -39,5 +70,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" } -} +} \ No newline at end of file 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..575cec723fc 100644 --- a/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-tcs-huawei-socketio/package.json @@ -1,14 +1,49 @@ { "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", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run init", - "init": "cp -af ../../yarn.lock ./dist/yarn.lock" + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init": "cp -af ../../yarn.lock ./dist/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "dependencies": { "@types/node": "14.17.32", @@ -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" } -} +} \ No newline at end of file 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..a3f39e0329a 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", + "tsc": "tsc --project ./tsconfig.json", + "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-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 } -} + } +} \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index bcdd5891f9c..7b04787c8da 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": [ { @@ -87,4 +87,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-odap-hermes/package.json b/packages/cactus-plugin-odap-hermes/package.json index 8e92f78f2db..bdcf633f823 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": [ { @@ -41,8 +41,8 @@ "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", + "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", "pretsc": "npm run generate-sdk", "tsc": "tsc --project ./tsconfig.json", "watch": "npm-watch" @@ -101,4 +101,4 @@ "runOnChangeOnly": true } } -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-ethereum/package.json b/packages/cactus-plugin-persistence-ethereum/package.json index 9e60e5cb91a..a779ad12683 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": [ { @@ -47,14 +47,14 @@ "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", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run copy-sql && npm run copy-yarn-lock", + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", "copy-sql": "cp -raf ./src/main/sql ./dist/lib/main/", - "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock" + "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock", + "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" }, "dependencies": { "@ethersproject/abi": "5.7.0", @@ -90,4 +90,4 @@ "access": "public" }, "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-plugin-persistence-fabric/package.json b/packages/cactus-plugin-persistence-fabric/package.json index 17c1999fb1c..b42d1331061 100644 --- a/packages/cactus-plugin-persistence-fabric/package.json +++ b/packages/cactus-plugin-persistence-fabric/package.json @@ -53,18 +53,18 @@ "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", "build": "npm run build-ts && npm run build:dev:backend:postbuild", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run copy-yarn-lock", + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock", + "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", - "copy-yarn-lock": "cp -af ../../yarn.lock ./dist/yarn.lock" + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, "dependencies": { "@hyperledger/cactus-common": "2.0.0-alpha.1", @@ -105,4 +105,4 @@ ] } } -} +} \ No newline at end of file diff --git a/packages/cactus-test-api-client/package.json b/packages/cactus-test-api-client/package.json index 268a97c5721..d47cdf1f4ab 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": [ { @@ -73,4 +73,4 @@ "browserMinified": "dist/cactus-test-api-client.web.umd.min.js", "mainMinified": "dist/cactus-test-api-client.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-cmd-api-server/package.json b/packages/cactus-test-cmd-api-server/package.json index 117a03829c0..35c8d0a2b5f 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": [ { @@ -71,4 +71,4 @@ "browserMinified": "dist/cactus-test-cmd-api-server.web.umd.min.js", "mainMinified": "dist/cactus-test-cmd-api-server.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-plugin-consortium-manual/package.json b/packages/cactus-test-plugin-consortium-manual/package.json index df9404b1e1e..11057dce488 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": [ { @@ -69,4 +69,4 @@ "browserMinified": "dist/cactus-test-plugin-consortium-manual.web.umd.min.js", "mainMinified": "dist/cactus-test-plugin-consortium-manual.node.umd.min.js", "watch": {} -} +} \ No newline at end of file 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..4f1e923b841 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": [ { @@ -76,4 +76,4 @@ "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.web.umd.min.js", "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-plugin-htlc-eth-besu/package.json b/packages/cactus-test-plugin-htlc-eth-besu/package.json index 24dbf3a3fb6..d9a2be6ecc3 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": [ { @@ -76,4 +76,4 @@ "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu.web.umd.min.js", "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-plugin-ledger-connector-besu/package.json b/packages/cactus-test-plugin-ledger-connector-besu/package.json index 5d6207cae76..14c751bc6b3 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": [ { @@ -76,4 +76,4 @@ "browserMinified": "dist/cactus-test-plugin-ledger-connector-besu.web.umd.min.js", "mainMinified": "dist/cactus-test-plugin-ledger-connector-besu.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-plugin-ledger-connector-quorum/package.json b/packages/cactus-test-plugin-ledger-connector-quorum/package.json index e8e4d55a52a..04b7e6b28ab 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": [ { @@ -75,4 +75,4 @@ "browserMinified": "dist/cactus-test-plugin-ledger-connector-quorum.web.umd.min.js", "mainMinified": "dist/cactus-test-plugin-ledger-connector-quorum.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-tooling/package.json b/packages/cactus-test-tooling/package.json index 93804d8480a..b4ddc200436 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": [ { @@ -114,4 +114,4 @@ "browserMinified": "dist/cactus-test-tooling.web.umd.min.js", "mainMinified": "dist/cactus-test-tooling.node.umd.min.js", "watch": {} -} +} \ No newline at end of file diff --git a/packages/cactus-test-verifier-client/package.json b/packages/cactus-test-verifier-client/package.json index b76538fa403..d9c174f6dcf 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": [ { @@ -66,4 +66,4 @@ "access": "public" }, "watch": {} -} +} \ No newline at end of file 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 d8205a04803..0039cfc764f 100644 --- a/packages/cactus-verifier-client/package.json +++ b/packages/cactus-verifier-client/package.json @@ -2,23 +2,6 @@ "name": "@hyperledger/cactus-verifier-client", "version": "2.0.0-alpha.1", "description": "Verifier cactus client library to communicate with validators through socket.io", - "main": "dist/lib/main/typescript/index.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "scripts": { - "build": "tsc" - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -26,10 +9,19 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "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": [ { @@ -43,11 +35,12 @@ "url": "https://www.fujitsu.com/global/" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "types": "dist/lib/main/typescript/index.d.ts", + "scripts": { + "build": "tsc" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "2.0.0-alpha.1", "@hyperledger/cactus-common": "2.0.0-alpha.1", @@ -60,5 +53,12 @@ "@hyperledger/cactus-plugin-ledger-connector-quorum": "2.0.0-alpha.1", "jest-extended": "0.11.5", "rxjs": "7.8.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" } -} +} \ No newline at end of file diff --git a/tsconfig.tsbuildinfo b/tsconfig.tsbuildinfo new file mode 100644 index 00000000000..0d2dfb16c3b --- /dev/null +++ b/tsconfig.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":[],"fileInfos":[],"root":[],"options":{"declaration":true,"esModuleInterop":true,"inlineSourceMap":true,"module":1,"removeComments":false,"strict":true,"target":4,"useUnknownInCatchVariables":false},"referencedMap":[],"exportedModulesMap":[]},"version":"5.1.6"} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 90f0cd1de4c..5c0f27b6919 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7149,7 +7149,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