From 8278236156b11ba35619bede3e32219d4c24f41b Mon Sep 17 00:00:00 2001 From: Christian Shum-Harden Date: Wed, 14 Mar 2018 14:45:05 -0700 Subject: [PATCH] (release) 2.0.1 (#76) --- CHANGELOG.md | 31 +++++++++++++++++++++---------- package.json | 26 ++++++++++++-------------- 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c268e1b..1380687 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ + + +## [2.0.1](https://github.com/nfl/react-gpt/compare/v2.0.0...v2.0.1) (2018-03-13) + +### Code Refactoring + +* Adds `onSlotOnload` event +* Allows `["fluid"]` slotSize as an array + ## [2.0.0](https://github.com/nfl/react-gpt/compare/v1.1.1...v2.0.0) (2018-01-04) @@ -9,10 +18,13 @@ ### Migration notes **< 2.0.0** you may have imported `createManagerTest` like this: + ``` import {createManagerTest} from "react-gpt"; ``` + **>= 2.0.0** you now need to import `createManagerTest` like this: + ``` import {createManagerTest} from "react-gpt/es/utils/createManagerTest"; ``` @@ -33,12 +45,12 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest"; ## [1.0.1](https://github.com/nfl/react-gpt/compare/v1.0.0...v1.0.1) (2017-09-19) - ### Bug Fixes * **package.json:** Add es folder to published package ([2aa1a03](https://github.com/nfl/react-gpt/commit/2aa1a03)) + ## [1.0.0](https://github.com/nfl/react-gpt/compare/v0.3.0...v1.0.0) (2017-09-18) ### Features @@ -47,8 +59,8 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest"; * **package.json:** Add Yarn ([#38](https://github.com/nfl/react-gpt/issues/38)) ([8b7a570](https://github.com/nfl/react-gpt/commit/8b7a570)) * **package.json:** Export es modules ([#54](https://github.com/nfl/react-gpt/issues/54)) ([2d7a3ec](https://github.com/nfl/react-gpt/commit/2d7a3ec)), closes [#29](https://github.com/nfl/react-gpt/issues/29) - + ## [0.3.0](https://github.com/nfl/react-gpt/compare/v0.2.5...v0.3.0) (2017-09-18) ### Code Refactoring @@ -62,35 +74,34 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest"; * Upgrade eslint and introduce prettier ([17c8b89](https://github.com/nfl/react-gpt/commit/17c8b89)) + ## [0.2.5](https://github.com/nfl/react-gpt/compare/v0.2.4...v0.2.5) (2017-07-31) ### Bug Fixes * Add yarn.lock ([b7c7c50](https://github.com/nfl/react-gpt/commit/b7c7c50)) -* Import PropTypes from prop-types package ([34b61be](https://github.com/nfl/react-gpt/commit/34b61be)) +* Import PropTypes from prop-types package ([34b61be](https://github.com/nfl/react-gpt/commit/34b61be)) * Move MockGPT out of distribution files ([775fe26](https://github.com/nfl/react-gpt/commit/775fe26)) * Import ReactTestUtils from test-utils ([75e74f6](https://github.com/nfl/react-gpt/commit/75e74f6)) -## [0.2.4](https://github.com/nfl/react-gpt/compare/v0.2.3...v0.2.4) (2017-03-23) +## [0.2.4](https://github.com/nfl/react-gpt/compare/v0.2.3...v0.2.4) (2017-03-23) ### Bug Fixes -* more gracefully handle adSlot becoming empty object due to AdBlocker ([7f9a989](https://github.com/nfl/react-gpt/commit/7f9a989)) - +* more gracefully handle adSlot becoming empty object due to AdBlocker ([7f9a989](https://github.com/nfl/react-gpt/commit/7f9a989)) -## [0.2.3](https://github.com/nfl/react-gpt/compare/v0.2.2...v0.2.3) (2017-02-21) +## [0.2.3](https://github.com/nfl/react-gpt/compare/v0.2.2...v0.2.3) (2017-02-21) ### Bug Fixes * fix calling the same pubads API on Bling not overriding the previous one ([fc374b6](https://github.com/nfl/react-gpt/commit/fc374b6)) - - + ## [0.2.2](https://github.com/nfl/react-gpt/compare/v0.2.1...v0.2.2) (2016-10-13) ### Code Refactoring @@ -101,4 +112,4 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest"; Features: - - Initial release +* Initial release diff --git a/package.json b/package.json index b254f36..d812022 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-gpt", - "version": "2.0.0", + "version": "2.0.1", "description": "A react display ad component using Google Publisher Tag", "main": "lib/index.js", "jsnext:main": "es/index.js", @@ -25,14 +25,7 @@ "bugs": { "url": "https://github.com/nfl/react-gpt/issues" }, - "files": [ - "*.md", - "docs", - "es", - "src", - "dist", - "lib" - ], + "files": ["*.md", "docs", "es", "src", "dist", "lib"], "dependencies": { "deep-equal": "^1.0.1", "eventemitter3": "^2.0.2", @@ -107,16 +100,21 @@ "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", "build": "npm run clean && npm run compile", "build:es": "BABEL_ENV=es babel --copy-files ./src -d es", - "build:umd": "NODE_ENV=development webpack src/index.js dist/react-gpt.js", - "build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js", + "build:umd": + "NODE_ENV=development webpack src/index.js dist/react-gpt.js", + "build:umd:min": + "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js", "bundlesize": "npm run build:umd:min && bundlesize", "clean": "rimraf lib coverage dist lib es", "compile": "babel src --out-dir lib", - "examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", + "examples": + "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline", "lint": "eslint --fix src test examples", - "start": "npm run build && env BABEL_ENV=examples node examples/server/index.js", + "start": + "npm run build && env BABEL_ENV=examples node examples/server/index.js", "pretest": "npm run build", - "prepublish": "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", + "prepublish": + "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min", "test": "npm run lint && karma start", "update-apilist": "node ./scripts/updateAPIList.js" },