update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov 2019-02-27 09:39:56 -05:00
parent 07b96f8288
commit 81524f537e
6 changed files with 13 additions and 8 deletions

View File

@ -3,7 +3,11 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
## [3.1.1][2019-02-27] ## [3.1.2][2019-02-27]
* Fix bundle
## [3.1.0][2019-02-27]
* Make `Konva` modular: `import Konva from 'konva/lib/Core';`; * Make `Konva` modular: `import Konva from 'konva/lib/Core';`;
* Fix incorrect `Transformer` behavior * Fix incorrect `Transformer` behavior

View File

@ -5,7 +5,7 @@
}(this, function () { 'use strict'; }(this, function () { 'use strict';
/* /*
* Konva JavaScript Framework v3.0.0 * Konva JavaScript Framework v3.1.1
* http://konvajs.org/ * http://konvajs.org/
* Licensed under the MIT * Licensed under the MIT
* Date: Wed Feb 27 2019 * Date: Wed Feb 27 2019
@ -19,7 +19,7 @@
/** /**
* @namespace Konva * @namespace Konva
*/ */
var version = '3.0.0'; var version = '3.1.1';
var isBrowser = typeof window !== 'undefined' && var isBrowser = typeof window !== 'undefined' &&
// browser case // browser case
({}.toString.call(window) === '[object Window]' || ({}.toString.call(window) === '[object Window]' ||

4
konva.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -21,7 +21,8 @@
"prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote", "prettier": "prettier --write \"src/**/*.js\" \"test/**/*.js\" --single-quote",
"tsc": "tsc -d --declarationDir ./types --removeComments --module CommonJS || echo \"tsc faild for some file(s).\"", "tsc": "tsc -d --declarationDir ./types --removeComments --module CommonJS || echo \"tsc faild for some file(s).\"",
"rollup": "rollup -c", "rollup": "rollup -c",
"compile": "npm run tsc && npm run rollup", "clean": "rm -rf ./lib",
"compile": "npm run clean && npm run tsc && npm run rollup",
"watch": "rollup -c -w" "watch": "rollup -c -w"
}, },
"devDependencies": { "devDependencies": {

View File

@ -67,7 +67,7 @@ echo "include konva-v${new_version}-documentation.zip into version in github"
cd ../konva cd ../konva
git push >/dev/null git push >/dev/null
git push --tags >/dev/null git push --tags >/dev/null
npm publish npm publish >/dev/null
echo "copy konva.js into konva-site" echo "copy konva.js into konva-site"
cp ./konva.js ../konva-site/ cp ./konva.js ../konva-site/

View File

@ -8,7 +8,7 @@ export default {
input: `src/index.ts`, input: `src/index.ts`,
output: [ output: [
{ {
file: pkg.main, file: 'konva.js',
name: 'Konva', name: 'Konva',
format: 'umd', format: 'umd',
sourcemap: false, sourcemap: false,