aboutsummaryrefslogtreecommitdiffstats
path: root/packages/abi-gen
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2018-02-12 22:01:24 +0800
committerGitHub <noreply@github.com>2018-02-12 22:01:24 +0800
commit7f1e789264e2b67c7feffc633bd64caa257657cc (patch)
tree721cee22fbc45c71ea21fd296dda88c0a03d75a5 /packages/abi-gen
parentba57c34adb0348af61210aa0bbee3e734b477f58 (diff)
parent07d00cc515e0f9825b81595386b358593b7a3d6f (diff)
downloaddexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar.gz
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar.bz2
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar.lz
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar.xz
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.tar.zst
dexon-sol-tools-7f1e789264e2b67c7feffc633bd64caa257657cc.zip
Merge branch 'development' into fix/windows_install
Diffstat (limited to 'packages/abi-gen')
-rw-r--r--packages/abi-gen/.npmignore5
-rw-r--r--packages/abi-gen/CHANGELOG.md14
-rw-r--r--packages/abi-gen/package.json8
-rw-r--r--packages/abi-gen/scripts/postpublish.js12
4 files changed, 19 insertions, 20 deletions
diff --git a/packages/abi-gen/.npmignore b/packages/abi-gen/.npmignore
new file mode 100644
index 000000000..87bc30436
--- /dev/null
+++ b/packages/abi-gen/.npmignore
@@ -0,0 +1,5 @@
+.*
+yarn-error.log
+/src/
+/scripts/
+tsconfig.json
diff --git a/packages/abi-gen/CHANGELOG.md b/packages/abi-gen/CHANGELOG.md
index ac6d58e9c..c86d6fb55 100644
--- a/packages/abi-gen/CHANGELOG.md
+++ b/packages/abi-gen/CHANGELOG.md
@@ -1,12 +1,16 @@
# CHANGELOG
+## v0.2.1 - _February 9, 2018_
+
+ * Fix publishing issue where .npmignore was not properly excluding undesired content (#389)
+
## v0.2.0 - _February 7, 2018_
-* Added CLI options for explicit specifying location of partials and main template (#346)
-* Added CLI option to specify networkId, adding support for the JSON artifact format found in @0xproject/contracts (#388)
+ * Added CLI options for explicit specifying location of partials and main template (#346)
+ * Added CLI option to specify networkId, adding support for the JSON artifact format found in @0xproject/contracts (#388)
## v0.1.0 - _January 11, 2018_
-* Fixed array typings with union types (#295)
-* Add event ABIs to context data passed to templates (#302)
-* Add constructor ABIs to context data passed to templates (#304)
+ * Fixed array typings with union types (#295)
+ * Add event ABIs to context data passed to templates (#302)
+ * Add constructor ABIs to context data passed to templates (#304)
diff --git a/packages/abi-gen/package.json b/packages/abi-gen/package.json
index 17810a7f1..4cf40d304 100644
--- a/packages/abi-gen/package.json
+++ b/packages/abi-gen/package.json
@@ -1,6 +1,6 @@
{
"name": "@0xproject/abi-gen",
- "version": "0.2.0",
+ "version": "0.2.2",
"description": "Generate contract wrappers from ABI and handlebars templates",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,7 +23,7 @@
},
"homepage": "https://github.com/0xProject/0x.js/packages/abi-gen/README.md",
"dependencies": {
- "@0xproject/utils": "^0.3.1",
+ "@0xproject/utils": "^0.3.3",
"chalk": "^2.3.0",
"glob": "^7.1.2",
"handlebars": "^4.0.11",
@@ -34,7 +34,7 @@
"yargs": "^10.0.3"
},
"devDependencies": {
- "@0xproject/tslint-config": "^0.4.7",
+ "@0xproject/tslint-config": "^0.4.9",
"@types/glob": "^5.0.33",
"@types/handlebars": "^4.0.36",
"@types/mkdirp": "^0.5.1",
@@ -44,6 +44,6 @@
"shx": "^0.2.2",
"tslint": "5.8.0",
"typescript": "2.7.1",
- "web3-typescript-typings": "^0.9.9"
+ "web3-typescript-typings": "^0.9.10"
}
}
diff --git a/packages/abi-gen/scripts/postpublish.js b/packages/abi-gen/scripts/postpublish.js
index 16d67e03f..b3e5407c8 100644
--- a/packages/abi-gen/scripts/postpublish.js
+++ b/packages/abi-gen/scripts/postpublish.js
@@ -2,14 +2,4 @@ const postpublish_utils = require('../../../scripts/postpublish_utils');
const packageJSON = require('../package.json');
const subPackageName = packageJSON.name;
-
-postpublish_utils
- .getLatestTagAndVersionAsync(subPackageName)
- .then(function(result) {
- const releaseName = postpublish_utils.getReleaseName(subPackageName, result.version);
- const assets = [];
- return postpublish_utils.publishReleaseNotes(result.tag, releaseName, assets);
- })
- .catch(function(err) {
- throw err;
- });
+postpublish_utils.standardPostPublishAsync(subPackageName); \ No newline at end of file