Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit b9ae1b6

Browse files
committed
2.2.1
2.2.1 - 2017-04-16 ------------------------------------------------------------ * Removes redundant root files (README.md, CHANGELOG, LICENSE) from extracted starter kit * Slims down `README.md` by delegating features to the [kit repo](https://github.com/reactql/kit)
1 parent c2e9ccf commit b9ae1b6

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.2.1 - 2017-04-16
2+
------------------------------------------------------------
3+
* Removes redundant root files (README.md, CHANGELOG, LICENSE) from extracted starter kit
4+
* Slims down `README.md` by delegating features to the [kit repo](https://github.com/reactql/kit)
5+
16
2.2.0 - 2017-04-16
27
------------------------------------------------------------
38
* CLI now downloads & extracts source from Github instead of bundling with the kit

cli/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,13 @@ const args = yargs
300300
license: args.license,
301301
}));
302302

303+
// Remove root files that irrelevant to the new project
304+
['README.md', 'CHANGELOG', 'LICENSE'].forEach(file => {
305+
try {
306+
fse.unlinkSync(path.resolve(args.path, file));
307+
} catch(_) { /* ignore errors */ }
308+
});
309+
303310
// Install pakckage dependencies using yarn if we have
304311
// it, otherwise using NPM
305312
let installer;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactql",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "Universal React+GraphQL starter kit: React, Apollo, Webpack 2, React Router 4, PostCSS, SSR",
55
"main": "cli/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)