From 857a4042ef93a833a428649ec7feb8c4b4fe9eaf Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 6 Nov 2019 02:39:35 -0500 Subject: [PATCH] abi-gen: Include templates in published tarball (#2315) * abi-gen: Include templates in published tarball * abi-gen: update CHANGELOG * abi-gen/package.json: explicitly include code Apparently when you include a "files" section, it by default only includes the code directly referenced by the package.json. (For this package, it was including the lib/src/index.js referenced by "main", and the bin/abi-gen.js referenced by "bin", but no other *.js files, nor any *.d.ts files.) --- packages/abi-gen/CHANGELOG.json | 19 +++++++++---------- packages/abi-gen/package.json | 3 ++- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/abi-gen/CHANGELOG.json b/packages/abi-gen/CHANGELOG.json index 567126e1e1..3e61ce1840 100644 --- a/packages/abi-gen/CHANGELOG.json +++ b/packages/abi-gen/CHANGELOG.json @@ -1,6 +1,6 @@ [ { - "version": "4.5.0-beta.0", + "version": "4.4.0-beta.0", "changes": [ { "note": "In Python wrappers, accept string arguments to bytes parameters", @@ -18,18 +18,17 @@ "note": "In Python wrappers, fix bug with casting some bytes objects using bytes.fromhex()", "pr": 2284 }, - { - "note": "Command-line argument network-id has changed to chain-id", - "pr": 2313 - } - ] - }, - { - "version": "4.4.0-beta.0", - "changes": [ { "note": "Add `getSelector` method to all functions", "pr": 2224 + }, + { + "note": "Command-line argument network-id has changed to chain-id", + "pr": 2313 + }, + { + "note": "Fix templates not being included in published tarball", + "pr": 2315 } ] }, diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json index b1cbfed930..88484e7aba 100644 --- a/packages/abi-gen/package.json +++ b/packages/abi-gen/package.json @@ -110,5 +110,6 @@ }, "publishConfig": { "access": "public" - } + }, + "files": ["templates/*", "*.js", "*.ts", "*.map"] }