Skip to content

Commit 112151b

Browse files
chore(release): 2.1.0 [skip ci]
<a name="2.1.0"></a> # [2.1.0](v2.0.4...v2.1.0) (2019-02-26) ### Features * add displayName to forwardRef ([6e69ad1](6e69ad1))
1 parent 6e69ad1 commit 112151b

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<a name="2.1.0"></a>
2+
# [2.1.0](https://github.com/react-restart/context/compare/v2.0.4...v2.1.0) (2019-02-26)
3+
4+
5+
### Features
6+
7+
* add displayName to forwardRef ([6e69ad1](https://github.com/react-restart/context/commit/6e69ad1))
8+
19
## [2.0.3](https://github.com/react-restart/context/compare/v2.0.2...v2.0.3) (2019-02-07)
210

311

package.json

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@restart/context",
3-
"version": "2.0.4",
3+
"version": "2.1.0",
44
"main": "lib/index.js",
55
"module": "lib/es/index.js",
66
"types": "index.d.ts",
@@ -16,15 +16,11 @@
1616
"testonly": "jest",
1717
"test:types": "dtslint types",
1818
"build:es": "babel src -d lib/es --env-name esm --ignore **/__tests__ ",
19-
"build:lib":
20-
"babel src -d lib --ignore **/__tests__ --delete-dir-on-start ",
21-
"build":
22-
"npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es",
19+
"build:lib": "babel src -d lib --ignore **/__tests__ --delete-dir-on-start ",
20+
"build": "npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es",
2321
"prepublishOnly": "yarn run build",
24-
"lint":
25-
"eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'",
26-
"format":
27-
"eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'",
22+
"lint": "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'",
23+
"format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'",
2824
"precommit": "lint-staged"
2925
},
3026
"publishConfig": {
@@ -36,18 +32,25 @@
3632
"trailingComma": "all"
3733
},
3834
"lint-staged": {
39-
"*.js": ["eslint --fix", "git add"],
35+
"*.js": [
36+
"eslint --fix",
37+
"git add"
38+
],
4039
"*.{json,css,md}": [
4140
"prettier --write --ignore-path .eslintignore",
4241
"git add"
4342
]
4443
},
4544
"jest": {
4645
"testEnvironment": "jsdom",
47-
"setupFiles": ["<rootDir>/test/index.js"]
46+
"setupFiles": [
47+
"<rootDir>/test/index.js"
48+
]
4849
},
4950
"release": {
50-
"extends": ["@4c/semantic-release-config"],
51+
"extends": [
52+
"@4c/semantic-release-config"
53+
],
5154
"pkgRoot": "lib"
5255
},
5356
"devDependencies": {

0 commit comments

Comments
 (0)