Skip to content

Commit

Permalink
fix(core): remove suffixes to use regular module resolution, and forc…
Browse files Browse the repository at this point in the history
…e publish all packages with every release (#229)

* fix(core): remove suffixes to use regular module resolution

* specify the correct config import path

* add force publish to align all the versions

* add descriptive comment
  • Loading branch information
cal-smith committed Mar 26, 2019
1 parent 2368062 commit 2e33ca6
Show file tree
Hide file tree
Showing 12 changed files with 95 additions and 183 deletions.
4 changes: 3 additions & 1 deletion packages/core/demo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ import {
// Styles
import "./index.scss";
import "./../src/style.scss";
import { ChartData } from "./configuration";

// Interfaces
import { ChartData } from "./../src/configuration";

//
// Experimental Switch Toggle
Expand Down
28 changes: 11 additions & 17 deletions packages/core/src/assets/patterns/index.ts
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
const PATTERN_1 = require("./pattern-1.ts");
const PATTERN_2 = require("./pattern-2.ts");
const PATTERN_3 = require("./pattern-3.ts");
const PATTERN_4 = require("./pattern-4.ts");
const PATTERN_5 = require("./pattern-5.ts");
const PATTERN_6 = require("./pattern-6.ts");
const PATTERN_7 = require("./pattern-7.ts");
const PATTERN_8 = require("./pattern-8.ts");
const PATTERN_9 = require("./pattern-9.ts");
const PATTERN_10 = require("./pattern-10.ts");
const PATTERN_11 = require("./pattern-11.ts");
const PATTERN_1 = require("./pattern-1");
const PATTERN_2 = require("./pattern-2");
const PATTERN_3 = require("./pattern-3");
const PATTERN_4 = require("./pattern-4");
const PATTERN_5 = require("./pattern-5");
const PATTERN_6 = require("./pattern-6");
const PATTERN_7 = require("./pattern-7");
const PATTERN_8 = require("./pattern-8");

export default [
PATTERN_1,
PATTERN_2,
// PATTERN_3,
PATTERN_3,
PATTERN_4,
PATTERN_5,
// PATTERN_6,
PATTERN_6,
PATTERN_7,
PATTERN_8,
// PATTERN_9,
PATTERN_10,
PATTERN_11
PATTERN_8
];
23 changes: 0 additions & 23 deletions packages/core/src/assets/patterns/pattern-10.ts

This file was deleted.

21 changes: 0 additions & 21 deletions packages/core/src/assets/patterns/pattern-11.ts

This file was deleted.

14 changes: 10 additions & 4 deletions packages/core/src/assets/patterns/pattern-3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<style type="text/css">
.st0{fill:none;}
.st1{fill:#231F20;}
.st2{fill:url(#Square_diamond);}
.st2{fill:url(#Triangle);}
</style>
<pattern width="40" height="40" patternUnits="userSpaceOnUse" id="Square_diamond" viewBox="0 -40 40 40" style="overflow:visible;">
<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Triangle" viewBox="15 -112.99 100 100" style="overflow:visible;">
<g id="XMLID_10_">
<polygon id="XMLID_14_" class="st0" points="0,-40 40,-40 40,0 0,0 "/>
<path id="XMLID_11_" class="st1" d="M5-35v30h30v-30H5z M20-9.393L9.393-20L20-30.607L30.607-20L20-9.393z"/>
<polygon id="XMLID_23_" class="st0" points="15,-112.99 115,-112.99 115,-12.99 15,-12.99 "/>
<polygon id="XMLID_21_" class="st1" points="100,-25 115,-50.981 130,-25 "/>
<polygon id="XMLID_20_" class="st1" points="50,0 65,-25.981 80,0 "/>
<polygon id="XMLID_19_" class="st1" points="0,-25 15,-50.981 30,-25 "/>
<polygon id="XMLID_15_" class="st1" points="100,-75 115,-100.981 130,-75 "/>
<polygon id="XMLID_14_" class="st1" points="50,-50 65,-75.981 80,-50 "/>
<polygon id="XMLID_13_" class="st1" points="0,-75 15,-100.981 30,-75 "/>
<polygon id="XMLID_12_" class="st1" points="50,-100 65,-125.981 80,-100 "/>
</g>
</pattern>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
Expand Down
32 changes: 19 additions & 13 deletions packages/core/src/assets/patterns/pattern-4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,26 @@ export default `<?xml version="1.0" encoding="utf-8"?>
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:#231F20;}
.st2{fill:url(#Triangle);}
.st1{fill:url(#diamond);}
</style>
<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Triangle" viewBox="15 -112.99 100 100" style="overflow:visible;">
<g id="XMLID_10_">
<polygon id="XMLID_23_" class="st0" points="15,-112.99 115,-112.99 115,-12.99 15,-12.99 "/>
<polygon id="XMLID_21_" class="st1" points="100,-25 115,-50.981 130,-25 "/>
<polygon id="XMLID_20_" class="st1" points="50,0 65,-25.981 80,0 "/>
<polygon id="XMLID_19_" class="st1" points="0,-25 15,-50.981 30,-25 "/>
<polygon id="XMLID_15_" class="st1" points="100,-75 115,-100.981 130,-75 "/>
<polygon id="XMLID_14_" class="st1" points="50,-50 65,-75.981 80,-50 "/>
<polygon id="XMLID_13_" class="st1" points="0,-75 15,-100.981 30,-75 "/>
<polygon id="XMLID_12_" class="st1" points="50,-100 65,-125.981 80,-100 "/>
<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="diamond" viewBox="21.213 -121.213 100 100" style="overflow:visible;">
<g id="XMLID_15_">
<polygon id="XMLID_52_" class="st0" points="21.213,-121.213 121.213,-121.213 121.213,-21.213 21.213,-21.213 "/>
<path id="XMLID_49_" d="M96.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-28.284 M96.213-42.427L75-21.213L96.213,0
l21.213-21.213L96.213-42.427L96.213-42.427z"/>
<path id="XMLID_40_" d="M46.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-28.284 M46.213-42.427L25-21.213L46.213,0
l21.213-21.213L46.213-42.427L46.213-42.427z"/>
<path id="XMLID_37_" d="M121.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L121.213-78.284 M121.213-92.427L100-71.213
L121.213-50l21.213-21.213L121.213-92.427L121.213-92.427z"/>
<path id="XMLID_28_" d="M71.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L71.213-78.284 M71.213-92.427L50-71.213L71.213-50
l21.213-21.213L71.213-92.427L71.213-92.427z"/>
<path id="XMLID_25_" d="M21.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L21.213-78.284 M21.213-92.427L0-71.213L21.213-50
l21.213-21.213L21.213-92.427L21.213-92.427z"/>
<path id="XMLID_22_" d="M96.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-128.284 M96.213-142.427L75-121.213
L96.213-100l21.213-21.213L96.213-142.427L96.213-142.427z"/>
<path id="XMLID_16_" d="M46.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-128.284 M46.213-142.427L25-121.213
L46.213-100l21.213-21.213L46.213-142.427L46.213-142.427z"/>
</g>
</pattern>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
<rect id="XMLID_1_" class="st1" width="100" height="100"/>
</svg>`;
38 changes: 19 additions & 19 deletions packages/core/src/assets/patterns/pattern-5.ts
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ export default `<?xml version="1.0" encoding="utf-8"?>
viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">
<style type="text/css">
.st0{fill:none;}
.st1{fill:url(#diamond);}
.st1{fill:#231F20;}
.st2{fill:url(#lines_-_left_to_right);}
</style>
<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="diamond" viewBox="21.213 -121.213 100 100" style="overflow:visible;">
<g id="XMLID_15_">
<polygon id="XMLID_52_" class="st0" points="21.213,-121.213 121.213,-121.213 121.213,-21.213 21.213,-21.213 "/>
<path id="XMLID_49_" d="M96.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-28.284 M96.213-42.427L75-21.213L96.213,0
l21.213-21.213L96.213-42.427L96.213-42.427z"/>
<path id="XMLID_40_" d="M46.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-28.284 M46.213-42.427L25-21.213L46.213,0
l21.213-21.213L46.213-42.427L46.213-42.427z"/>
<path id="XMLID_37_" d="M121.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L121.213-78.284 M121.213-92.427L100-71.213
L121.213-50l21.213-21.213L121.213-92.427L121.213-92.427z"/>
<path id="XMLID_28_" d="M71.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L71.213-78.284 M71.213-92.427L50-71.213L71.213-50
l21.213-21.213L71.213-92.427L71.213-92.427z"/>
<path id="XMLID_25_" d="M21.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L21.213-78.284 M21.213-92.427L0-71.213L21.213-50
l21.213-21.213L21.213-92.427L21.213-92.427z"/>
<path id="XMLID_22_" d="M96.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-128.284 M96.213-142.427L75-121.213
L96.213-100l21.213-21.213L96.213-142.427L96.213-142.427z"/>
<path id="XMLID_16_" d="M46.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-128.284 M46.213-142.427L25-121.213
L46.213-100l21.213-21.213L46.213-142.427L46.213-142.427z"/>
<pattern width="50" height="50"
patternUnits="userSpaceOnUse" id="lines_-_left_to_right" viewBox="101.277 -147.008 50 50" style="overflow:visible;">
<g id="XMLID_8_">
<polygon id="XMLID_32_" class="st0" points="101.277,-147.008 151.277,-147.008 151.277,-97.008 101.277,-97.008 "/>
<polygon id="XMLID_31_" class="st1" points="264.058,0 150,-114.058 160.606,-124.665 274.665,-10.607 "/>
<polygon id="XMLID_30_" class="st1" points="214.058,0 100,-114.058 110.606,-124.665 224.665,-10.607 "/>
<polygon id="XMLID_29_" class="st1" points="164.058,0 50,-114.058 60.606,-124.665 174.665,-10.607 "/>
<polygon id="XMLID_28_" class="st1" points="114.058,0 0,-114.058 10.606,-124.665 124.665,-10.607 "/>
<polygon id="XMLID_27_" class="st1" points="264.058,-50 150,-164.058 160.606,-174.665 274.665,-60.607 "/>
<polygon id="XMLID_26_" class="st1" points="214.058,-50 100,-164.058 110.606,-174.665 224.665,-60.607 "/>
<polygon id="XMLID_25_" class="st1" points="164.058,-50 50,-164.058 60.606,-174.665 174.665,-60.607 "/>
<polygon id="XMLID_24_" class="st1" points="114.058,-50 0,-164.058 10.606,-174.665 124.665,-60.607 "/>
<polygon id="XMLID_23_" class="st1" points="264.058,-100 150,-214.058 160.606,-224.665 274.665,-110.607 "/>
<polygon id="XMLID_22_" class="st1" points="214.058,-100 100,-214.058 110.606,-224.665 224.665,-110.607 "/>
<polygon id="XMLID_16_" class="st1" points="164.058,-100 50,-214.058 60.606,-224.665 174.665,-110.607 "/>
<polygon id="XMLID_15_" class="st1" points="114.058,-100 0,-214.058 10.606,-224.665 124.665,-110.607 "/>
</g>
</pattern>
<rect id="XMLID_1_" class="st1" width="100" height="100"/>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
</svg>`;
23 changes: 12 additions & 11 deletions packages/core/src/assets/patterns/pattern-6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<style type="text/css">
.st0{fill:none;}
.st1{fill:#231F20;}
.st2{fill:url(#half_circle);}
.st2{fill:url(#hex_pattern);}
</style>
<pattern width="60" height="70" patternUnits="userSpaceOnUse" id="half_circle" viewBox="15 -77.5 60 70" style="overflow:visible;">
<g id="XMLID_8_">
<polygon id="XMLID_22_" class="st0" points="15,-77.5 75,-77.5 75,-7.5 15,-7.5 "/>
<path id="XMLID_20_" class="st1" d="M75-15c0,8.284-6.716,15-15,15S45-6.716,45-15H75z"/>
<path id="XMLID_19_" class="st1" d="M45-15c0,8.284-6.716,15-15,15S15-6.716,15-15H45z"/>
<path id="XMLID_16_" class="st1" d="M90-50c0,8.284-6.716,15-15,15s-15-6.716-15-15H90z"/>
<path id="XMLID_15_" class="st1" d="M60-50c0,8.284-6.716,15-15,15s-15-6.716-15-15H60z"/>
<path id="XMLID_12_" class="st1" d="M30-50c0,8.284-6.716,15-15,15S0-41.716,0-50H30z"/>
<path id="XMLID_11_" class="st1" d="M75-85c0,8.284-6.716,15-15,15s-15-6.716-15-15H75z"/>
<path id="XMLID_10_" class="st1" d="M45-85c0,8.284-6.716,15-15,15s-15-6.716-15-15H45z"/>
<pattern width="100" height="100"
patternUnits="userSpaceOnUse" id="hex_pattern" viewBox="20 -117.32 100 100" style="overflow:visible;">
<g id="XMLID_10_">
<polygon id="XMLID_23_" class="st0" points="20,-117.32 120,-117.32 120,-17.32 20,-17.32 "/>
<polygon id="XMLID_21_" class="st1" points="110,-25 100,-42.32 110,-59.641 130,-59.641 140,-42.32 130,-25 "/>
<polygon id="XMLID_20_" class="st1" points="60,0 50,-17.32 60,-34.641 80,-34.641 90,-17.32 80,0 "/>
<polygon id="XMLID_19_" class="st1" points="10,-25 0,-42.32 10,-59.641 30,-59.641 40,-42.32 30,-25 "/>
<polygon id="XMLID_15_" class="st1" points="110,-75 100,-92.32 110,-109.641 130,-109.641 140,-92.32 130,-75 "/>
<polygon id="XMLID_14_" class="st1" points="60,-50 50,-67.32 60,-84.641 80,-84.641 90,-67.32 80,-50 "/>
<polygon id="XMLID_13_" class="st1" points="10,-75 0,-92.32 10,-109.641 30,-109.641 40,-92.32 30,-75 "/>
<polygon id="XMLID_12_" class="st1" points="60,-100 50,-117.32 60,-134.641 80,-134.641 90,-117.32 80,-100 "/>
</g>
</pattern>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
Expand Down
28 changes: 11 additions & 17 deletions packages/core/src/assets/patterns/pattern-7.ts
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,18 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<style type="text/css">
.st0{fill:none;}
.st1{fill:#231F20;}
.st2{fill:url(#lines_-_left_to_right);}
.st2{fill:url(#square_pattern);}
</style>
<pattern width="50" height="50"
patternUnits="userSpaceOnUse" id="lines_-_left_to_right" viewBox="101.277 -147.008 50 50" style="overflow:visible;">
<g id="XMLID_8_">
<polygon id="XMLID_32_" class="st0" points="101.277,-147.008 151.277,-147.008 151.277,-97.008 101.277,-97.008 "/>
<polygon id="XMLID_31_" class="st1" points="264.058,0 150,-114.058 160.606,-124.665 274.665,-10.607 "/>
<polygon id="XMLID_30_" class="st1" points="214.058,0 100,-114.058 110.606,-124.665 224.665,-10.607 "/>
<polygon id="XMLID_29_" class="st1" points="164.058,0 50,-114.058 60.606,-124.665 174.665,-10.607 "/>
<polygon id="XMLID_28_" class="st1" points="114.058,0 0,-114.058 10.606,-124.665 124.665,-10.607 "/>
<polygon id="XMLID_27_" class="st1" points="264.058,-50 150,-164.058 160.606,-174.665 274.665,-60.607 "/>
<polygon id="XMLID_26_" class="st1" points="214.058,-50 100,-164.058 110.606,-174.665 224.665,-60.607 "/>
<polygon id="XMLID_25_" class="st1" points="164.058,-50 50,-164.058 60.606,-174.665 174.665,-60.607 "/>
<polygon id="XMLID_24_" class="st1" points="114.058,-50 0,-164.058 10.606,-174.665 124.665,-60.607 "/>
<polygon id="XMLID_23_" class="st1" points="264.058,-100 150,-214.058 160.606,-224.665 274.665,-110.607 "/>
<polygon id="XMLID_22_" class="st1" points="214.058,-100 100,-214.058 110.606,-224.665 224.665,-110.607 "/>
<polygon id="XMLID_16_" class="st1" points="164.058,-100 50,-214.058 60.606,-224.665 174.665,-110.607 "/>
<polygon id="XMLID_15_" class="st1" points="114.058,-100 0,-214.058 10.606,-224.665 124.665,-110.607 "/>
<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="square_pattern" viewBox="15 -115 100 100" style="overflow:visible;">
<g id="XMLID_18_">
<polygon id="XMLID_52_" class="st0" points="15,-115 115,-115 115,-15 15,-15 "/>
<path id="XMLID_49_" class="st1" d="M120-45v10h-10v-10H120 M130-55h-30v30h30V-55L130-55z"/>
<path id="XMLID_46_" class="st1" d="M70-20v10H60v-10H70 M80-30H50V0h30V-30L80-30z"/>
<path id="XMLID_34_" class="st1" d="M20-45v10H10v-10H20 M30-55H0v30h30V-55L30-55z"/>
<path id="XMLID_31_" class="st1" d="M120-95v10h-10v-10H120 M130-105h-30v30h30V-105L130-105z"/>
<path id="XMLID_28_" class="st1" d="M70-70v10H60v-10H70 M80-80H50v30h30V-80L80-80z"/>
<path id="XMLID_25_" class="st1" d="M20-95v10H10v-10H20 M30-105H0v30h30V-105L30-105z"/>
<path id="XMLID_19_" class="st1" d="M70-120v10H60v-10H70 M80-130H50v30h30V-130L80-130z"/>
</g>
</pattern>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
Expand Down
21 changes: 9 additions & 12 deletions packages/core/src/assets/patterns/pattern-8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,16 @@ export default `<?xml version="1.0" encoding="utf-8"?>
<style type="text/css">
.st0{fill:none;}
.st1{fill:#231F20;}
.st2{fill:url(#hex_pattern);}
.st2{fill:url(#tight_diamond);}
</style>
<pattern width="100" height="100"
patternUnits="userSpaceOnUse" id="hex_pattern" viewBox="20 -117.32 100 100" style="overflow:visible;">
<g id="XMLID_10_">
<polygon id="XMLID_23_" class="st0" points="20,-117.32 120,-117.32 120,-17.32 20,-17.32 "/>
<polygon id="XMLID_21_" class="st1" points="110,-25 100,-42.32 110,-59.641 130,-59.641 140,-42.32 130,-25 "/>
<polygon id="XMLID_20_" class="st1" points="60,0 50,-17.32 60,-34.641 80,-34.641 90,-17.32 80,0 "/>
<polygon id="XMLID_19_" class="st1" points="10,-25 0,-42.32 10,-59.641 30,-59.641 40,-42.32 30,-25 "/>
<polygon id="XMLID_15_" class="st1" points="110,-75 100,-92.32 110,-109.641 130,-109.641 140,-92.32 130,-75 "/>
<polygon id="XMLID_14_" class="st1" points="60,-50 50,-67.32 60,-84.641 80,-84.641 90,-67.32 80,-50 "/>
<polygon id="XMLID_13_" class="st1" points="10,-75 0,-92.32 10,-109.641 30,-109.641 40,-92.32 30,-75 "/>
<polygon id="XMLID_12_" class="st1" points="60,-100 50,-117.32 60,-134.641 80,-134.641 90,-117.32 80,-100 "/>
<pattern width="70" height="45" patternUnits="userSpaceOnUse" id="tight_diamond" viewBox="21.213 -66.213 70 45" style="overflow:visible;">
<g id="XMLID_9_">
<polygon id="XMLID_16_" class="st0" points="21.213,-66.213 91.213,-66.213 91.213,-21.213 21.213,-21.213 "/>
<polygon id="XMLID_15_" class="st1" points="91.213,0 70,-21.213 91.213,-42.427 112.427,-21.213 "/>
<polygon id="XMLID_14_" class="st1" points="21.213,0 0,-21.213 21.213,-42.427 42.427,-21.213 "/>
<polygon id="XMLID_13_" class="st1" points="91.213,-45 70,-66.213 91.213,-87.427 112.427,-66.213 "/>
<polygon id="XMLID_12_" class="st1" points="56.213,-22.5 35,-43.713 56.213,-64.927 77.427,-43.713 "/>
<polygon id="XMLID_11_" class="st1" points="21.213,-45 0,-66.213 21.213,-87.427 42.427,-66.213 "/>
</g>
</pattern>
<rect id="XMLID_1_" class="st2" width="100" height="100"/>
Expand Down
Loading

0 comments on commit 2e33ca6

Please sign in to comment.