Skip to content

Commit 2289d33

Browse files
author
Evan Jacobs
committed
5.2.0
See CHANGELOG.md
1 parent 42d9bb8 commit 2289d33

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
### 5.2.0 (9/13/2016)
2+
3+
Update various dependencies, including:
4+
5+
```
6+
babel-jest ^12.0.0 >> ^15.0.0
7+
eslint ^2.0.0 >> ^3.0.0
8+
eslint-plugin-react ^4.2.3 >> ^6.0.0
9+
jest-cli ^13.0.0 >> ^15.1.0
10+
react ^15.0.0 >> ^15.3.0
11+
react-dom ^15.0.0 >> ^15.3.0
12+
```
13+
14+
Aside from the dependencies, the default test file extension has been changed from `__tests__/index.js` style to `*.spec.js`. The primary reason was reduced confusion due to the test file living alongside what it's targetting; it's also harder to accidentally forget the tests exist for a file in general when they're co-located in the same directory. This fits into the organization guidelines set forth in [A maintainable front-end project structure (2016)](https://medium.com/@ultraviol3tlux/maintainable-front-end-project-structures-2ce0dca2fe2d).
15+
16+
Before:
17+
18+
```
19+
/
20+
component-x/
21+
__tests__/
22+
index.js
23+
index.js
24+
component-y/
25+
__tests__/
26+
index.js
27+
index.js
28+
```
29+
30+
After:
31+
32+
```
33+
/
34+
component-x/
35+
index.js
36+
index.spec.js
37+
component-y/
38+
index.js
39+
index.spec.js
40+
```
41+
42+
Thank you for using `generator-enigma`!
43+
44+
---
45+
146
### 5.1.0 (6/21/2016)
247

348
__[Feature] Optional react-router installation, + 2 misc fixes__ (0fb2c08)

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "generator-enigma",
33
"description": "Generate a React application with best practice enforcement, integrated testing, and more.",
4-
"version": "5.1.0",
4+
"version": "5.2.0",
55
"license": "MIT",
66
"contributors": [
77
"Evan Jacobs <[email protected]> (http://yaycmyk.com)"
@@ -22,9 +22,6 @@
2222
"lodash": "^4.0.0",
2323
"mkdirp": "^0.5.1"
2424
},
25-
"peerDependencies": {
26-
"yo": ">= 1.8"
27-
},
2825
"engines": {
2926
"node": ">= 4"
3027
},

0 commit comments

Comments
 (0)