aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/.npmignore7
-rw-r--r--packages/json-schemas/CHANGELOG.md4
-rw-r--r--packages/json-schemas/package.json8
-rw-r--r--packages/json-schemas/scripts/postpublish.js12
4 files changed, 16 insertions, 15 deletions
diff --git a/packages/json-schemas/.npmignore b/packages/json-schemas/.npmignore
new file mode 100644
index 000000000..e14c0cba7
--- /dev/null
+++ b/packages/json-schemas/.npmignore
@@ -0,0 +1,7 @@
+.*
+yarn-error.log
+/src/
+/scripts/
+/schemas/
+test/
+tsconfig.json
diff --git a/packages/json-schemas/CHANGELOG.md b/packages/json-schemas/CHANGELOG.md
index 28f38acc5..9a9fc12de 100644
--- a/packages/json-schemas/CHANGELOG.md
+++ b/packages/json-schemas/CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG
+## v0.7.10 - _February 9, 2018_
+
+* Fix publishing issue where .npmignore was not properly excluding undesired content (#389)
+
## v0.7.0 - _December 20, 2017_
* Rename `subscriptionOptsSchema` to `blockRangeSchema` (#272)
diff --git a/packages/json-schemas/package.json b/packages/json-schemas/package.json
index 270b4d4e0..15f57d2b8 100644
--- a/packages/json-schemas/package.json
+++ b/packages/json-schemas/package.json
@@ -1,6 +1,6 @@
{
"name": "@0xproject/json-schemas",
- "version": "0.7.9",
+ "version": "0.7.11",
"description": "0x-related json schemas",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
@@ -28,13 +28,13 @@
"lodash.values": "^4.3.0"
},
"devDependencies": {
- "@0xproject/tslint-config": "^0.4.7",
- "@0xproject/utils": "^0.3.1",
+ "@0xproject/tslint-config": "^0.4.9",
+ "@0xproject/utils": "^0.3.3",
"@types/lodash.foreach": "^4.5.3",
"@types/lodash.values": "^4.3.3",
"@types/mocha": "^2.2.42",
"chai": "^4.0.1",
- "chai-typescript-typings": "^0.0.2",
+ "chai-typescript-typings": "^0.0.3",
"dirty-chai": "^2.0.1",
"lodash.foreach": "^4.5.0",
"mocha": "^4.0.1",
diff --git a/packages/json-schemas/scripts/postpublish.js b/packages/json-schemas/scripts/postpublish.js
index 16d67e03f..b3e5407c8 100644
--- a/packages/json-schemas/scripts/postpublish.js
+++ b/packages/json-schemas/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