Skip to content

Commit 8278236

Browse files
authored
(release) 2.0.1 (#76)
1 parent 2243755 commit 8278236

File tree

2 files changed

+33
-24
lines changed

2 files changed

+33
-24
lines changed

CHANGELOG.md

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="2.0.1"></a>
2+
3+
## [2.0.1](https://github.com/nfl/react-gpt/compare/v2.0.0...v2.0.1) (2018-03-13)
4+
5+
### Code Refactoring
6+
7+
* Adds `onSlotOnload` event
8+
* Allows `["fluid"]` slotSize as an array
9+
110
<a name="2.0.0"></a>
211

312
## [2.0.0](https://github.com/nfl/react-gpt/compare/v1.1.1...v2.0.0) (2018-01-04)
@@ -9,10 +18,13 @@
918
### Migration notes
1019

1120
**< 2.0.0** you may have imported `createManagerTest` like this:
21+
1222
```
1323
import {createManagerTest} from "react-gpt";
1424
```
25+
1526
**>= 2.0.0** you now need to import `createManagerTest` like this:
27+
1628
```
1729
import {createManagerTest} from "react-gpt/es/utils/createManagerTest";
1830
```
@@ -33,12 +45,12 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest";
3345

3446
## [1.0.1](https://github.com/nfl/react-gpt/compare/v1.0.0...v1.0.1) (2017-09-19)
3547

36-
3748
### Bug Fixes
3849

3950
* **package.json:** Add es folder to published package ([2aa1a03](https://github.com/nfl/react-gpt/commit/2aa1a03))
4051

4152
<a name="1.0.0"></a>
53+
4254
## [1.0.0](https://github.com/nfl/react-gpt/compare/v0.3.0...v1.0.0) (2017-09-18)
4355

4456
### Features
@@ -47,8 +59,8 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest";
4759
* **package.json:** Add Yarn ([#38](https://github.com/nfl/react-gpt/issues/38)) ([8b7a570](https://github.com/nfl/react-gpt/commit/8b7a570))
4860
* **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)
4961

50-
5162
<a name="0.3.0"></a>
63+
5264
## [0.3.0](https://github.com/nfl/react-gpt/compare/v0.2.5...v0.3.0) (2017-09-18)
5365

5466
### Code Refactoring
@@ -62,35 +74,34 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest";
6274
* Upgrade eslint and introduce prettier ([17c8b89](https://github.com/nfl/react-gpt/commit/17c8b89))
6375

6476
<a name="0.2.5"></a>
77+
6578
## [0.2.5](https://github.com/nfl/react-gpt/compare/v0.2.4...v0.2.5) (2017-07-31)
6679

6780
### Bug Fixes
6881

6982
* Add yarn.lock ([b7c7c50](https://github.com/nfl/react-gpt/commit/b7c7c50))
70-
* Import PropTypes from prop-types package ([34b61be](https://github.com/nfl/react-gpt/commit/34b61be))
83+
* Import PropTypes from prop-types package ([34b61be](https://github.com/nfl/react-gpt/commit/34b61be))
7184
* Move MockGPT out of distribution files ([775fe26](https://github.com/nfl/react-gpt/commit/775fe26))
7285
* Import ReactTestUtils from test-utils ([75e74f6](https://github.com/nfl/react-gpt/commit/75e74f6))
7386

7487
<a name="0.2.4"></a>
75-
## [0.2.4](https://github.com/nfl/react-gpt/compare/v0.2.3...v0.2.4) (2017-03-23)
7688

89+
## [0.2.4](https://github.com/nfl/react-gpt/compare/v0.2.3...v0.2.4) (2017-03-23)
7790

7891
### Bug Fixes
7992

80-
* more gracefully handle adSlot becoming empty object due to AdBlocker ([7f9a989](https://github.com/nfl/react-gpt/commit/7f9a989))
81-
93+
* more gracefully handle adSlot becoming empty object due to AdBlocker ([7f9a989](https://github.com/nfl/react-gpt/commit/7f9a989))
8294

8395
<a name="0.2.3"></a>
84-
## [0.2.3](https://github.com/nfl/react-gpt/compare/v0.2.2...v0.2.3) (2017-02-21)
8596

97+
## [0.2.3](https://github.com/nfl/react-gpt/compare/v0.2.2...v0.2.3) (2017-02-21)
8698

8799
### Bug Fixes
88100

89101
* fix calling the same pubads API on Bling not overriding the previous one ([fc374b6](https://github.com/nfl/react-gpt/commit/fc374b6))
90102

91-
92-
93103
<a name="0.2.2"></a>
104+
94105
## [0.2.2](https://github.com/nfl/react-gpt/compare/v0.2.1...v0.2.2) (2016-10-13)
95106

96107
### Code Refactoring
@@ -101,4 +112,4 @@ import {createManagerTest} from "react-gpt/es/utils/createManagerTest";
101112

102113
Features:
103114

104-
- Initial release
115+
* Initial release

package.json

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-gpt",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A react display ad component using Google Publisher Tag",
55
"main": "lib/index.js",
66
"jsnext:main": "es/index.js",
@@ -25,14 +25,7 @@
2525
"bugs": {
2626
"url": "https://github.com/nfl/react-gpt/issues"
2727
},
28-
"files": [
29-
"*.md",
30-
"docs",
31-
"es",
32-
"src",
33-
"dist",
34-
"lib"
35-
],
28+
"files": ["*.md", "docs", "es", "src", "dist", "lib"],
3629
"dependencies": {
3730
"deep-equal": "^1.0.1",
3831
"eventemitter3": "^2.0.2",
@@ -107,16 +100,21 @@
107100
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
108101
"build": "npm run clean && npm run compile",
109102
"build:es": "BABEL_ENV=es babel --copy-files ./src -d es",
110-
"build:umd": "NODE_ENV=development webpack src/index.js dist/react-gpt.js",
111-
"build:umd:min": "NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js",
103+
"build:umd":
104+
"NODE_ENV=development webpack src/index.js dist/react-gpt.js",
105+
"build:umd:min":
106+
"NODE_ENV=production webpack -p src/index.js dist/react-gpt.min.js",
112107
"bundlesize": "npm run build:umd:min && bundlesize",
113108
"clean": "rimraf lib coverage dist lib es",
114109
"compile": "babel src --out-dir lib",
115-
"examples": "webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline",
110+
"examples":
111+
"webpack-dev-server --config examples/webpack.config.js --content-base examples/apps --inline",
116112
"lint": "eslint --fix src test examples",
117-
"start": "npm run build && env BABEL_ENV=examples node examples/server/index.js",
113+
"start":
114+
"npm run build && env BABEL_ENV=examples node examples/server/index.js",
118115
"pretest": "npm run build",
119-
"prepublish": "npm run build && npm run build:es && npm run build:umd && npm run build:umd:min",
116+
"prepublish":
117+
"npm run build && npm run build:es && npm run build:umd && npm run build:umd:min",
120118
"test": "npm run lint && karma start",
121119
"update-apilist": "node ./scripts/updateAPIList.js"
122120
},

0 commit comments

Comments
 (0)