File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-components-cli" ,
3
- "version" : " 1.0.9 " ,
3
+ "version" : " 1.0.10 " ,
4
4
"description" : " React styled template generator with command line and scripts" ,
5
5
"repository" : {
6
6
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -112,22 +112,22 @@ module.exports = function(plop) {
112
112
if ( data . story ) {
113
113
actions . push ( {
114
114
type : 'add' ,
115
- path : baseDir + `/{{selectedComponentCase name}}/{{ name }}.story.${ fileExt } x` ,
115
+ path : baseDir + `/{{selectedComponentCase name}}/{{ selectedComponentCase name }}.story.${ fileExt } x` ,
116
116
templateFile : `${ templateFile } /story.hbs` ,
117
117
} )
118
118
}
119
119
120
120
if ( data . styled ) {
121
121
actions . push ( {
122
122
type : 'add' ,
123
- path : baseDir + `/{{selectedComponentCase name}}/{{ name }}.style.${ fileExt } ` ,
123
+ path : baseDir + `/{{selectedComponentCase name}}/{{ selectedComponentCase name }}.style.${ fileExt } ` ,
124
124
templateFile : `${ templateFile } /style.hbs` ,
125
125
} )
126
126
}
127
127
128
128
actions . push ( {
129
129
type : 'add' ,
130
- path : baseDir + `/{{selectedComponentCase name}}/{{ name }}.test.${ fileExt } x` ,
130
+ path : baseDir + `/{{selectedComponentCase name}}/{{ selectedComponentCase name }}.test.${ fileExt } x` ,
131
131
templateFile : `${ templateFile } /test.hbs` ,
132
132
} )
133
133
You can’t perform that action at this time.
0 commit comments