From 021cdbbf71eacf010667c05c1078f10f48f3faa0 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Wed, 31 May 2017 14:45:37 +0200 Subject: [PATCH] Published version 3.1.11 --- CHANGELOG.md | 4 ++++ package.json | 4 ++-- scripts/publish.js | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d8251b79..e0afc67aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 3.1.11 + +* Using rollup as bundler, instead of custom hacked build scripts, by @rossipedia, see #1023 + # 3.1.10 * Fixed flow typings for `when`, by @jamsea diff --git a/package.json b/package.json index 1a22941ab..537e19d86 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mobx", - "version": "3.1.10", + "version": "3.1.11", "description": "Simple, scalable state management.", "main": "lib/mobx.js", "umd:main": "lib/mobx.umd.js", @@ -85,4 +85,4 @@ "state management", "data flow" ] -} +} \ No newline at end of file diff --git a/scripts/publish.js b/scripts/publish.js index 637ccf366..31135bccf 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -4,7 +4,11 @@ /* Run this file from the root of the repository */ module.exports = function(shell, npm, git) { // build - npm("run", "small-build") + + // FIXME: rollup dies when not spawning from terminal... + // npm("run", "small-build") + if (shell.prompt("Please run 'npm run small-build' first. Done?", "Y") !== "Y") + shell.exit(1) var pkg = JSON.parse(shell.read('package.json'));