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.)
This commit is contained in:
F. Eugene Aumson 2019-11-06 02:39:35 -05:00 committed by GitHub
parent f51c80adb2
commit 857a4042ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -1,6 +1,6 @@
[ [
{ {
"version": "4.5.0-beta.0", "version": "4.4.0-beta.0",
"changes": [ "changes": [
{ {
"note": "In Python wrappers, accept string arguments to bytes parameters", "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()", "note": "In Python wrappers, fix bug with casting some bytes objects using bytes.fromhex()",
"pr": 2284 "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", "note": "Add `getSelector` method to all functions",
"pr": 2224 "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
} }
] ]
}, },

View File

@ -110,5 +110,6 @@
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
} },
"files": ["templates/*", "*.js", "*.ts", "*.map"]
} }