From ed08dcf572d197b91fede2e90a881cfb50c505e5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 11 Nov 2019 21:11:31 +0000 Subject: [PATCH] chore(release): 2.0.0 [skip ci] # [2.0.0](https://github.com/echobind/eb-scripts/compare/v1.0.0...v2.0.0) (2019-11-11) ### Features * **generate, init:** create new release ([#39](https://github.com/echobind/eb-scripts/issues/39)) ([c4d4f54](https://github.com/echobind/eb-scripts/commit/c4d4f549581230272adb5204d667fade4c36c817)), closes [#6](https://github.com/echobind/eb-scripts/issues/6) [#13](https://github.com/echobind/eb-scripts/issues/13) [#14](https://github.com/echobind/eb-scripts/issues/14) [#15](https://github.com/echobind/eb-scripts/issues/15) [#16](https://github.com/echobind/eb-scripts/issues/16) [#11](https://github.com/echobind/eb-scripts/issues/11) [#22](https://github.com/echobind/eb-scripts/issues/22) [#8](https://github.com/echobind/eb-scripts/issues/8) [#23](https://github.com/echobind/eb-scripts/issues/23) [#26](https://github.com/echobind/eb-scripts/issues/26) [#24](https://github.com/echobind/eb-scripts/issues/24) [#35](https://github.com/echobind/eb-scripts/issues/35) [#30](https://github.com/echobind/eb-scripts/issues/30) [#36](https://github.com/echobind/eb-scripts/issues/36) [#33](https://github.com/echobind/eb-scripts/issues/33) [#37](https://github.com/echobind/eb-scripts/issues/37) [#6](https://github.com/echobind/eb-scripts/issues/6) [#15](https://github.com/echobind/eb-scripts/issues/15) [#11](https://github.com/echobind/eb-scripts/issues/11) [#36](https://github.com/echobind/eb-scripts/issues/36) [#33](https://github.com/echobind/eb-scripts/issues/33) [#37](https://github.com/echobind/eb-scripts/issues/37) ### BREAKING CHANGES * **generate, init:** modify how generate command works --- README.md | 37 +++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 30 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4a810420..1d256884 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,10 @@ A CLI and scripts used at Echobind [![License](https://img.shields.io/npm/l/eb-scripts.svg)](https://github.com/echobind/eb-scripts/blob/master/package.json) -- [eb-scripts](#eb-scripts) -- [Usage](#usage) -- [Commands](#commands) -- [Contributing](#contributing) +* [eb-scripts](#eb-scripts) +* [Usage](#usage) +* [Commands](#commands) +* [Contributing](#contributing) # Usage @@ -24,7 +24,7 @@ $ npm install -g eb-scripts $ eb-scripts COMMAND running command... $ eb-scripts (-v|--version|version) -eb-scripts/1.0.0 darwin-x64 node-v10.16.0 +eb-scripts/2.0.0 linux-x64 node-v13.1.0 $ eb-scripts --help [COMMAND] USAGE $ eb-scripts COMMAND @@ -35,10 +35,11 @@ USAGE # Commands -* [`eb-scripts generate [COMPONENT NAME]`](#eb-scripts-generate-component-name) +* [`eb-scripts generate TEMPLATENAME`](#eb-scripts-generate-templatename) * [`eb-scripts help [COMMAND]`](#eb-scripts-help-command) +* [`eb-scripts init PROJECT`](#eb-scripts-init-project) -## `eb-scripts generate [COMPONENT NAME]` +## `eb-scripts generate TEMPLATENAME` generates new files @@ -61,7 +62,7 @@ EXAMPLE added: src/MyNewComponent.js ``` -_See code: [src/commands/generate.ts](https://github.com/echobind/eb-scripts/blob/v1.0.0/src/commands/generate.ts)_ +_See code: [src/commands/generate.ts](https://github.com/echobind/eb-scripts/blob/v2.0.0/src/commands/generate.ts)_ ## `eb-scripts help [COMMAND]` @@ -80,6 +81,26 @@ OPTIONS _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_ +## `eb-scripts init PROJECT` + +initializes project by installing `eb-scripts` and adding scripts to `package.json` + +``` +USAGE + $ eb-scripts init PROJECT + +ARGUMENTS + PROJECT (react|react-typescript|react-native-typescript) The language or framework of the project. + Valid options: react,react-typescript,react-native-typescript + +OPTIONS + -h, --help show CLI help + +EXAMPLE + $ npx eb-scripts init react +``` + +_See code: [src/commands/init.ts](https://github.com/echobind/eb-scripts/blob/v2.0.0/src/commands/init.ts)_ # Contributing diff --git a/package.json b/package.json index 8e6be1b4..351c3a5e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eb-scripts", "description": "A CLI and scripts used at Echobind", - "version": "1.0.0", + "version": "2.0.0", "author": "Joe Previte @jsjoeio", "bin": { "eb-scripts": "./bin/run"