@svrx/create-plugin
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.0.8](https://github.com/svrxjs/svrx-create-plugin/compare/v0.0.7...v0.0.8) (2019-09-24) | ||
### Bug Fixes | ||
* fix scope undefined ([31c39a0](https://github.com/svrxjs/svrx-create-plugin/commit/31c39a0)) | ||
### [0.0.7](https://github.com/svrxjs/svrx-create-plugin/compare/v0.0.6...v0.0.7) (2019-09-24) | ||
@@ -7,0 +14,0 @@ |
@@ -38,3 +38,3 @@ const { resolve } = require('path'); | ||
}, | ||
{ | ||
scope && { | ||
type: 'input', | ||
@@ -44,5 +44,2 @@ name: 'scopeName', | ||
default: scope.startsWith('@') ? scope : `@${scope}`, | ||
when() { | ||
return !!scope; | ||
}, | ||
validate(input) { | ||
@@ -88,3 +85,3 @@ if (!input || !input.startsWith('@')) { | ||
}, | ||
]; | ||
].filter(Boolean); | ||
@@ -91,0 +88,0 @@ new Generator({ |
{ | ||
"name": "@svrx/create-plugin", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Initialize a svrx plugin by running one command.", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/index.js", |
17752
355