From 6e15d7bb0f965b2e2f96c2355960b905c6fd8587 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 20 Jul 2018 16:29:47 +0200 Subject: Fix the abi-gen entry point --- packages/abi-gen/CHANGELOG.json | 9 +++++++++ packages/abi-gen/bin/abi-gen.js | 2 +- packages/abi-gen/package.json | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/abi-gen/CHANGELOG.json b/packages/abi-gen/CHANGELOG.json index 0207266a2..a8f9c709c 100644 --- a/packages/abi-gen/CHANGELOG.json +++ b/packages/abi-gen/CHANGELOG.json @@ -1,4 +1,13 @@ [ + { + "version": "1.0.1", + "changes": [ + { + "note": "Fix the abi-gen entry point in package.json", + "pr": 901 + } + ] + }, { "version": "1.0.0", "changes": [ diff --git a/packages/abi-gen/bin/abi-gen.js b/packages/abi-gen/bin/abi-gen.js index 8d6bdccf8..73ffe76ed 100755 --- a/packages/abi-gen/bin/abi-gen.js +++ b/packages/abi-gen/bin/abi-gen.js @@ -1,2 +1,2 @@ #!/usr/bin/env node -require('../lib/src/index.js') +require('../lib/src/index.js'); diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json index 41561268c..d40db09b9 100644 --- a/packages/abi-gen/package.json +++ b/packages/abi-gen/package.json @@ -5,8 +5,8 @@ "node": ">=6.12" }, "description": "Generate contract wrappers from ABI and handlebars templates", - "main": "lib/index.js", - "types": "lib/index.d.ts", + "main": "lib/src/index.js", + "types": "lib/src/index.d.ts", "scripts": { "watch_without_deps": "tsc -w", "lint": "tslint --project .", -- cgit v1.2.3