Comparing version 1.0.4 to 1.0.5
@@ -8,3 +8,3 @@ "use strict"; | ||
import { unmountComponentAtNode } from 'react-dom'; | ||
import { ${opts.name}${helpers_1.capitalize(opts.type)} } from './${opts.name}'; | ||
import ${opts.name}${helpers_1.capitalize(opts.type)} from './${opts.name}'; | ||
@@ -11,0 +11,0 @@ describe('${opts.name}${helpers_1.capitalize(opts.type)}', () => { |
@@ -1,1 +0,1 @@ | ||
{"version":"1.0.4","commands":{"add":{"id":"add","description":"Add a react component to your project","pluginName":"rscli2","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Page or Component, (default: component)"},"format":{"name":"format","type":"option","char":"f","description":"TypeScript (tsx) or JavaScript (jsx), (default: tsx)"},"name":{"name":"name","type":"option","char":"n","description":"Component Name, (default: NewFeature)"},"style":{"name":"style","type":"option","char":"s","description":"SASS or CSS, (default: sass)"},"path":{"name":"path","type":"option","char":"p","description":"Path to components folder, (default: src/components)"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"component"}]}}} | ||
{"version":"1.0.5","commands":{"add":{"id":"add","description":"Add a react component to your project","pluginName":"rscli2","pluginType":"core","aliases":[],"flags":{"type":{"name":"type","type":"option","char":"t","description":"Page or Component, (default: component)"},"format":{"name":"format","type":"option","char":"f","description":"TypeScript (tsx) or JavaScript (jsx), (default: tsx)"},"name":{"name":"name","type":"option","char":"n","description":"Component Name, (default: NewFeature)"},"style":{"name":"style","type":"option","char":"s","description":"SASS or CSS, (default: sass)"},"path":{"name":"path","type":"option","char":"p","description":"Path to components folder, (default: src/components)"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"component"}]}}} |
{ | ||
"name": "rscli2", | ||
"description": "Simple React CLI", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Michael Doye @michaeldoye", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -21,3 +21,3 @@ rscli | ||
$ rscli (-v|--version|version) | ||
rscli2/1.0.4 darwin-x64 node-v10.16.0 | ||
rscli2/1.0.5 darwin-x64 node-v10.16.0 | ||
$ rscli --help [COMMAND] | ||
@@ -51,3 +51,3 @@ USAGE | ||
_See code: [src/commands/add.ts](https://github.com/michaeldoye/rscli/blob/v1.0.4/src/commands/add.ts)_ | ||
_See code: [src/commands/add.ts](https://github.com/michaeldoye/rscli/blob/v1.0.5/src/commands/add.ts)_ | ||
@@ -54,0 +54,0 @@ ## `rscli help [COMMAND]` |
12100