From 2289d3341257e5efd94ff6679b9191c6530b61b9 Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Tue, 13 Sep 2016 19:36:26 -0400 Subject: [PATCH] 5.2.0 See CHANGELOG.md --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ package.json | 5 +---- 2 files changed, 46 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30f6c1b..6bedb90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,48 @@ +### 5.2.0 (9/13/2016) + +Update various dependencies, including: + +``` +babel-jest ^12.0.0 >> ^15.0.0 +eslint ^2.0.0 >> ^3.0.0 +eslint-plugin-react ^4.2.3 >> ^6.0.0 +jest-cli ^13.0.0 >> ^15.1.0 +react ^15.0.0 >> ^15.3.0 +react-dom ^15.0.0 >> ^15.3.0 +``` + +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). + +Before: + +``` +/ + component-x/ + __tests__/ + index.js + index.js + component-y/ + __tests__/ + index.js + index.js +``` + +After: + +``` +/ + component-x/ + index.js + index.spec.js + component-y/ + index.js + index.spec.js +``` + +Thank you for using `generator-enigma`! + +--- + ### 5.1.0 (6/21/2016) __[Feature] Optional react-router installation, + 2 misc fixes__ (0fb2c08) diff --git a/package.json b/package.json index b2eaf57..e84ff1b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "generator-enigma", "description": "Generate a React application with best practice enforcement, integrated testing, and more.", - "version": "5.1.0", + "version": "5.2.0", "license": "MIT", "contributors": [ "Evan Jacobs (http://yaycmyk.com)" @@ -22,9 +22,6 @@ "lodash": "^4.0.0", "mkdirp": "^0.5.1" }, - "peerDependencies": { - "yo": ">= 1.8" - }, "engines": { "node": ">= 4" },