File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
kaizen-cg/_templates/component/new
kaizen-tg/_templates/drupal-9-theme/new Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ to: <%= h.src() %>/packages/components/<%= h.changeCase.lower(h.inflection.plura
1414 < % if ( typeof themeName != 'undefined' ) { % > settings . behaviors . < %= h . changeCase . snakeCase ( themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > &&
1515 settings . behaviors . < %= h . changeCase . snakeCase ( themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > . entries
1616 ? settings . behaviors . < %= h . changeCase . snakeCase ( themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > . entries
17- : '' ;
17+ : { } ;
1818 < % } else { % > settings . behaviors . < %= h . changeCase . snakeCase ( h . themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > &&
1919 settings . behaviors . < %= h . changeCase . snakeCase ( h . themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > . entries
2020 ? settings . behaviors . < %= h . changeCase . snakeCase ( h . themeName ) % > _storybook_ < %= h . changeCase . lower ( component_type ) . charAt ( 0 ) % > _ < %= h . changeCase . snakeCase ( h . inflection . dasherize ( name ) ) % > . entries
21- : '' ; < % } % >
21+ : { } ; < % } % >
2222 const config = {
2323 entries : [
2424 {
@@ -30,7 +30,7 @@ to: <%= h.src() %>/packages/components/<%= h.changeCase.lower(h.inflection.plura
3030 } ;
3131
3232 config . entries . forEach ( ( entry ) => {
33- once ( config . processingName , entry . className , context ) . forEach ( ( el ) => {
33+ once ( config . processingName , `. ${ entry . className } ` , context ) . forEach ( ( el ) => {
3434 // eslint-disable-next-line no-console
3535 console . log ( el ) ;
3636 } ) ;
Original file line number Diff line number Diff line change 11---
22to: <%= h.src() %> /<%= h.changeCase.lower(name) %> /.eslintignore
33---
4- /dist /js /** /* .js
5- /dist /entries /* .js
6- /dist /storybook /
4+ /dist /** /* .js
75/color /* .js
86postcss.config.js
97* .stories.js
Original file line number Diff line number Diff line change 22to: <%= h.src() %> /<%= h.changeCase.lower(name) %> /.stylelintignore
33---
44/color /* .css
5- /dist /css / ** /* .css
5+ /dist /** /* .css
You can’t perform that action at this time.
0 commit comments