From 30195af8ca447fcb7ae4d893477cf0ae9fcf6840 Mon Sep 17 00:00:00 2001 From: Dylan Vorster Date: Sun, 25 Feb 2018 14:04:59 +0200 Subject: [PATCH] fix types add changelog --- CHANGELOG.md | 17 +++++++++++++++++ package.json | 4 ++-- tsconfig.json | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bceb372..1fc2c49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +__5.0.0__ + +PR: https://github.com/projectstorm/react-diagrams/pull/145 + +* [refactor] Links completely overhauled +* [feature] Smart Routing +* [feature] Flow support +* [demo] Smart Routing +* [demo] Animated links +* [api] Bootstrapping Improvements +* [feature] add custom properties to all widgets +* [refactor] use BEM for all css +* [feature] Default Link factory hooks +* [tests] e2e tests + helper framework +* [tests] automatically load JEST Snapshots +* [feature] Link labels! + __4.0.0__ http://dylanv.blog/2018/01/18/storm-react-diagrams-v4-0-0/ * [refactor] Events system was completely overhauled diff --git a/package.json b/package.json index b421833..e765839 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "nodes" ], "main": "./dist/main.js", - "typings": "./dist/src/main", + "typings": "./dist/@types/src/main", "author": "dylanvorster", "scripts": { "test:ci": "rm -rf ./dist && node ./tests/e2e/generate-e2e.js && jest --no-cache", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 9001 -c .storybook", "storybook:build": "build-storybook -c .storybook -o .out", "storybook:github": "storybook-to-ghpages", - "prepublishOnly": "export NODE_ENV=production && webpack && ./node_modules/node-sass/bin/node-sass --output-style compressed ./src/sass/main.scss > ./dist/style.min.css", + "prepublishOnly": "rm -rf ./dist && export NODE_ENV=production && webpack && ./node_modules/node-sass/bin/node-sass --output-style compressed ./src/sass/main.scss > ./dist/style.min.css", "pretty": "prettier --use-tabs --write \"{src,demos}/**/*.{ts,tsx}\" --print-width 120" }, "dependencies": { diff --git a/tsconfig.json b/tsconfig.json index 756d4b5..5da6853 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,7 @@ "compilerOptions": { "suppressExcessPropertyErrors": true, "declaration": true, - "outDir": "dist", + "outDir": "@types", "target": "es5", "strictNullChecks": false, "sourceMap": true,