Skip to content

Commit

Permalink
Merge pull request #15 from jvmn/feature/newpattern-fix
Browse files Browse the repository at this point in the history
fix(newpattern): starter template + bump to 2.4.3
  • Loading branch information
oemueller committed Aug 5, 2021
2 parents 05b61ea + 01c0319 commit 9b4fbb3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
5 changes: 4 additions & 1 deletion lib/templates/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
## <%= filename %>
<% if (scss === false) { %>> Style can be found in global/style<% } %>

<% if (scss === false) { %>> Style can be found in global/style<% } %>

Concept: [](https://)
4 changes: 2 additions & 2 deletions lib/templates/pattern.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<{{tag}} {{#if id}}id="{{id}}" {{/if}} class="<%= classname %>{{#if modifiers}} {{modifiers}}{{/if}}{{#if xclasses}} {{xclasses}}{{/if}}" <% if (scss || js) { %> data-jsinit="<%= filename %>"<% } %>{{#if jsInstanceId}} data-module-id="{{jsInstanceId}}"{{/if}}{{#if xclasses}} {{{xattributes}}}{{/if}}>
<div class="<%= classname %>-ct">
<{{tag}} {{#if id}}id="{{id}}" {{/if}} class="<%= classname %>{{#if modifiers}} {{modifiers}}{{/if}}{{#if xclasses}} {{xclasses}}{{/if}}" <% if (scss || js) { %> data-jsinit="<%= filename %>"<% } %>{{#if jsInstanceId}} data-module-id="{{jsInstanceId}}"{{/if}}{{#if xattributes}} {{{xattributes}}}{{/if}}>
<div class="<%= classname %>__ct">
</div>
</{{tag}}>
1 change: 0 additions & 1 deletion lib/templates/pattern.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* init <%= filename %>
* @alias <%= filename %>
* @namespace <%= namespace %>
* @return {Object} <% if(js){ %>public methods and css bundle<% } %><% if (!js) { %>with css bundle<% } %>
*/
<% if (scss) { %>
Expand Down
6 changes: 2 additions & 4 deletions lib/templates/pattern.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
*/
.<%= classname %> {
$-<%= type.charAt(0) %>: &; // A convenient shortcut to use with modifiers #{$-c}. example below
position: relative;

&-ct {
position: relative;
}
// &__ct {
// }

// &--mdfClass {
// #{$-c}-ct {
Expand Down
1 change: 0 additions & 1 deletion lib/templates/pattern.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* init <%= filename %>
* @alias <%= filename %>
* @namespace <%= namespace %>
* @return {Object} <% if(js){ %>public methods and css bundle<% } %><% if (!js) { %>with css bundle<% } %>
*/
<% if (js) { %>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jvmn/groundzero-taskrunner-webpack",
"version": "2.4.2",
"version": "2.4.3",
"description": "Taskrunner for JvM/Neckar Groundzero projects",
"keywords": [
"taskrunner",
Expand Down

0 comments on commit 9b4fbb3

Please sign in to comment.