Skip to content

Commit

Permalink
Merge pull request #915 from sghoweri/feature/remove-bower-refactor-js
Browse files Browse the repository at this point in the history
UIKit Refactor: Bower to NPM Migration, Partial JS Refactor, and New JS Build Pipeline
  • Loading branch information
bmuenzenmeyer committed Aug 14, 2018
2 parents fb92e63 + 64a2c10 commit 4adce73
Show file tree
Hide file tree
Showing 44 changed files with 339 additions and 3,335 deletions.
6 changes: 1 addition & 5 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="0.0.1-alpha.23"></a>
## [0.0.1-alpha.23](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/cli@0.0.1-alpha.22...@pattern-lab/cli@0.0.1-alpha.23) (2018-07-09)

## [0.0.1-alpha.23](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/cli@0.0.1-alpha.22...@pattern-lab/cli@0.0.1-alpha.23) (2018-07-09)

### Bug Fixes

* **install:** copy dependencies ([1acef87](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/1acef87))





<a name="0.0.1-alpha.22"></a>

## [0.0.1-alpha.22](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/cli@0.0.1-alpha.21...@pattern-lab/cli@0.0.1-alpha.22) (2018-07-06)
Expand Down
5 changes: 1 addition & 4 deletions packages/edition-node-gulp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="2.0.0-alpha.15"></a>

# [2.0.0-alpha.15](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.14...@pattern-lab/edition-node-gulp@2.0.0-alpha.15) (2018-07-09)

**Note:** Version bump only for package @pattern-lab/edition-node-gulp





<a name="2.0.0-alpha.14"></a>

# [2.0.0-alpha.14](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.13...@pattern-lab/edition-node-gulp@2.0.0-alpha.14) (2018-07-06)
Expand Down
6 changes: 1 addition & 5 deletions packages/edition-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="1.0.0-alpha.13"></a>
# [1.0.0-alpha.13](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.12...@pattern-lab/edition-node@1.0.0-alpha.13) (2018-07-09)

# [1.0.0-alpha.13](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.12...@pattern-lab/edition-node@1.0.0-alpha.13) (2018-07-09)

### Features

* **scripts:** namespace scripts ([3ecbb3e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/3ecbb3e))





<a name="1.0.0-alpha.12"></a>

# [1.0.0-alpha.12](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.11...@pattern-lab/edition-node@1.0.0-alpha.12) (2018-07-06)
Expand Down
3 changes: 0 additions & 3 deletions packages/uikit-workshop/.bowerrc

This file was deleted.

34 changes: 0 additions & 34 deletions packages/uikit-workshop/bower.json

This file was deleted.

26 changes: 5 additions & 21 deletions packages/uikit-workshop/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ <h3 class="pl-c-annotations__item-title">{{ title }}</h3>
<script src="styleguide/data/patternlab-data.js" defer></script>

<!-- applying theme config to get classes on before PL renders so there's no flash of unstyled content -->
<!-- @todo Consider moving this to own file -->
<!-- @todo fold this into it's own standalone JS component -->
<script>
// need to make sure that window.config is defined first on acccount of us async loading everything ;)
window.patternlab = window.patternlab || {};
Expand Down Expand Up @@ -407,31 +407,14 @@ <h3 class="pl-c-annotations__item-title">{{ title }}</h3>
}
</script>

<script src="annotations/annotations.js" async></script>

<!-- load Pattern Lab external library js -->
<script src="styleguide/bower_components/jquery.min.js" defer></script>
<script src="styleguide/bower_components/hogan-3.0.2.min.js" defer></script>
<script src="styleguide/bower_components/prism.min.js" defer></script>
<script src="styleguide/bower_components/jwerty.min.js" defer></script>
<script src="styleguide/bower_components/typeahead.bundle.min.js" defer></script>
<script src="styleguide/bower_components/EventEmitter.min.js" defer></script>
<script src="styleguide/bower_components/script.min.js" defer></script>

<script src="annotations/annotations.js" defer></script>

<!-- load the Pattern Lab viewer js -->
<script>(function(){window.whenDefined=function(e,n,t){e[n]?t():Object.defineProperty(e,n,{configurable:!0,enumerable:!0,writeable:!0,get:function(){return this["_"+n]},set:function(e){this["_"+n]=e,t()}})}}).call(this);</script>
<script>!function(r){var e=function(e,t){"use strict";var n=r.document.getElementsByTagName("script")[0],o=r.document.createElement("script");return o.src=e,o.async=!0,n.parentNode.insertBefore(o,n),t&&"function"==typeof t&&(o.onload=t),o};"undefined"!=typeof module?module.exports=e:r.loadJS=e}("undefined"!=typeof global?global:this);</script>
<script src="styleguide/js/patternlab-viewer.js" defer></script>

<!-- temp workaround to allow everything to be asynced / deffered with current setup. @todo: remove once refactored components + improved build process is in place. -->
<script>
window.Dispatcher;
window.addEventListener('DOMContentLoaded', function () {
window.Dispatcher = new EventEmitter();

// load the Pattern Lab viewer js -- preloaded earlier ^
loadJS('styleguide/js/patternlab-viewer.js');
});

whenDefined(window, 'config', function() {
if (window.config.theme){
window.patternlab.applyTheme();
Expand All @@ -448,6 +431,7 @@ <h3 class="pl-c-annotations__item-title">{{ title }}</h3>
// }
</script>


</body>

</html>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4adce73

Please sign in to comment.