diff --git a/CHANGELOG.md b/CHANGELOG.md index 229b61b59..02d11f979 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -287,271 +287,271 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) - - -### Features - -* upgrade Twig to use new filter, map, reduce ([4218a5a](https://github.com/pattern-lab/patternlab-node/commit/4218a5a04b06027548afd9f417486297dd25fef8)) - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package pl-node-pr - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) - - -### Bug Fixes - -* temp workaround to address instance where the latest version of Edge supports ES modules but NOT Custom Elements ([ada3d82](https://github.com/pattern-lab/patternlab-node/commit/ada3d829019345fd33ed949f306972efdcb4fa57)) - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) - - -### Bug Fixes - -* re-add popstate listener ([6dbbd6a](https://github.com/pattern-lab/patternlab-node/commit/6dbbd6aae3709cc17544c12dd10588120eb9e71a)) -* **script:** remove quotes around starterkit ([e4897fb](https://github.com/pattern-lab/patternlab-node/commit/e4897fb6e4d4cd0985ab72397abd03ff04be514b)) -* add a new method to check if PL is currently compiling + add new method to get the config PL is using ([26e886c](https://github.com/pattern-lab/patternlab-node/commit/26e886c93db5d135c91de648724f7278c4d5b3e9)) -* check if dependency graph file exists before trying to remove ([f9af6a9](https://github.com/pattern-lab/patternlab-node/commit/f9af6a95025a22041e7ff8a4bfb19e4727385e98)) -* comment out example config to disable viewAll links ([ddb3fad](https://github.com/pattern-lab/patternlab-node/commit/ddb3fad5770d1d66432c4b583ae9af09a3a47d48)) - - -### Features - -* add the ability to disable Pattern Lab viewall links in the navigation ([156e609](https://github.com/pattern-lab/patternlab-node/commit/156e609a92e7f7e7ebd8f4f5cd77b5d695db8bad)) -* major improvements to local UIKit workflow ([4dc9173](https://github.com/pattern-lab/patternlab-node/commit/4dc9173a5a44b422e9677824de3728048b7c4f05)) -* test adding cross-env to Twig Edition test ([3f8bb01](https://github.com/pattern-lab/patternlab-node/commit/3f8bb01bc4e96a0aba61c213ea1619c02593defc)) - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) - - -### Bug Fixes - -* simplify overflow fix ([378cf42](https://github.com/pattern-lab/patternlab-node/commit/378cf4282a3e5b4f597287eb538270e3358c8c69)) -* testing potential FF fix for https://github.com/pattern-lab/patternlab-node/issues/1100 ([613bba1](https://github.com/pattern-lab/patternlab-node/commit/613bba104f2082be507938db78f1db7a07f6b8be)) - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package pl-node - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) - - -### Bug Fixes - -* CSS fix to properly highlight the correct active page / link in the Nav; improve dropdown open / close animation ([ec4ab84](https://github.com/pattern-lab/patternlab-node/commit/ec4ab84ddc8007796c9012a3f493822d76f039a7)) -* small UI fixes for the sticky Tabs header on smaller screens + drawer content collapsing on smaller screens + better handling of Nav link cleanup when changing pages ([347e2fe](https://github.com/pattern-lab/patternlab-node/commit/347e2fe29a78a1d168005a07c656b4f9f1124c7f)) -* tweak header and drawer padding when viewing on a device with curved edges ([98e9baf](https://github.com/pattern-lab/patternlab-node/commit/98e9baf649eceb9124218a924b6b08097b910e86)) -* uikit fixes and minor CSS updates intended for the v5.3.0 release ([26c4ced](https://github.com/pattern-lab/patternlab-node/commit/26c4ceddaae09fa4fa4873f092c924274498c5da)) - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) - - -### Bug Fixes - -* add PluginTab workaround for Safari ([2fa9367](https://github.com/pattern-lab/patternlab-node/commit/2fa936769be65484af52f242dca2536a3382462c)) -* **core:** re-add cleanPublic fix ([c100bbc](https://github.com/pattern-lab/patternlab-node/commit/c100bbca3f339e9132acb9c482e98c1c8a66b8b5)) -* **plugin-tab:** defensively call addPanels ([b82bd12](https://github.com/pattern-lab/patternlab-node/commit/b82bd129fdbe48de95b62d75fb7fe95cea896b7e)) -* port over missing UIKit Sass that wasn't added in the original PR ([f7659e6](https://github.com/pattern-lab/patternlab-node/commit/f7659e64d0eee13be20921dd5afc48ac20ae93e6)) - - -### Features - -* port latest UIKit updates + fixes upstream ([d07952c](https://github.com/pattern-lab/patternlab-node/commit/d07952cb07e3792b995dda2e589262ecf4153fdc)) - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) - - -### Bug Fixes - -* **deploy:** add setup command ([7c1d8d1](https://github.com/pattern-lab/patternlab-node/commit/7c1d8d14842a467bb301e2ede2ec83074ff35ae2)) -* add missing $ ([c95a06e](https://github.com/pattern-lab/patternlab-node/commit/c95a06ece78631b068f8721666caf33452e57a7a)) -* address bug causing viewport width to progressively decrease in size when resizing your screen / refreshing on certain devices ([41b11af](https://github.com/pattern-lab/patternlab-node/commit/41b11af8aaaf066fcf99abd2513eae8706122d32)) -* configure the Logo's `altText` config option when used as an HTML attribute ([ade34a2](https://github.com/pattern-lab/patternlab-node/commit/ade34a29435f5112f0449ad020bee7e9dc2c81e1)) -* fix classname typo ([da3c5f1](https://github.com/pattern-lab/patternlab-node/commit/da3c5f144d22b1ac3ad99680a264433d4438ebb2)) -* temp workaround to fix content exceeding the height of drawer container ([435243c](https://github.com/pattern-lab/patternlab-node/commit/435243cbfbd000a7d96a0e9fa7beff1a988ede64)) -* update drawer UI to not collapse content on smaller screen sizes ([7147085](https://github.com/pattern-lab/patternlab-node/commit/71470856b8b389421348366afd247a599d1e9c86)) -* update package.json description in `@pattern-lab/uikit-polyfills` ([22fc44a](https://github.com/pattern-lab/patternlab-node/commit/22fc44a4b3683753a469a98abfcdad8f1234f28a)) -* **engine_twig_php:** Allow additional flexibility with twig namespaces. ([07bfaa3](https://github.com/pattern-lab/patternlab-node/commit/07bfaa35a00ff62fd2016cc9f34e09cf5af36559)) - - -### Features - -* add lit-element, basic Typescript support to Webpack ([611f705](https://github.com/pattern-lab/patternlab-node/commit/611f705be85eea8a31091169750d64e988798cee)) -* add local copy of new Slotify library till published to NPM ([63b9d83](https://github.com/pattern-lab/patternlab-node/commit/63b9d833908151ce5cb5aa5184c72254125c7ed1)) -* add new component to make Button-like styles more reusable ([5e7b014](https://github.com/pattern-lab/patternlab-node/commit/5e7b0140622eb89154c38925769a6def6d669fb3)) -* add new component ([e8ce2a9](https://github.com/pattern-lab/patternlab-node/commit/e8ce2a927365b8d5316a7d8229c979ff31b04907)) -* add support for auto-closing Nav when clicking inside of the rendered iframe ([9d602fe](https://github.com/pattern-lab/patternlab-node/commit/9d602fe335a5d3b5bca5cac258c2465934d9a46a)) -* add support for optional chaining syntax via Babel plugin ([c8886b6](https://github.com/pattern-lab/patternlab-node/commit/c8886b6d9d91fea246fa3ab7947f289509dc26d5)) -* major refactoring + UI updates to address cross browser support; UI cleanup and conversion of the majority of the remaining components over to lit-element ([2ff8e1c](https://github.com/pattern-lab/patternlab-node/commit/2ff8e1c98cdd02e8077064c48eca5f7754a3db02)) -* refactor + convert pl-toggle-info to lit-element ([85cd9c5](https://github.com/pattern-lab/patternlab-node/commit/85cd9c50ca814066bf999badf2071d84964f00cc)) -* refactor + convert pl-toggle-layout to lit-element ([46009d9](https://github.com/pattern-lab/patternlab-node/commit/46009d91b1cb9ed613baa5a7626cba4f42883465)) -* refactor + convert pl-toggle-theme to lit-element ([95a3b21](https://github.com/pattern-lab/patternlab-node/commit/95a3b21a89dacd2d5b4df8c134ce438d4efdbd04)) -* refactor Drawer to render via lit-element + massively improve rendering performance ([28d47eb](https://github.com/pattern-lab/patternlab-node/commit/28d47eb3cbbce038204203e786e5188b4cefe64f)) -* remove mixin that was causing outlines to be removed from default UI styles ([622ed76](https://github.com/pattern-lab/patternlab-node/commit/622ed76d435b3b2e31e412266c3090506f98051b)) -* temp add unsafe-svg directive till upstream PR merged ([34de61c](https://github.com/pattern-lab/patternlab-node/commit/34de61ccd9c7bb3b48ca5ef386a87efc8e84babc)) -* update the Nav design to not bold the active item in order to not shift the layout ([0eda431](https://github.com/pattern-lab/patternlab-node/commit/0eda4312ba9f4c61afa6322c3ff45f9cda0efc9e)) -* update Webpack config to use the latest Style Loader + new SVG icon system ([2ed70e7](https://github.com/pattern-lab/patternlab-node/commit/2ed70e79d8656c7314d8b3109aa1c34160ad24f9)) - - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) - - -### Bug Fixes - -* **uikit-workshop:** add template files to published bundle ([9005fce](https://github.com/pattern-lab/patternlab-node/commit/9005fcee9e129fb41d509f706195e1437bddc710)) -* **uikit-workshop:** add webpack config to published bundle ([060a573](https://github.com/pattern-lab/patternlab-node/commit/060a573cbddce9ee3d270d39337d0c8cac8372fa)) - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) - - -### Bug Fixes - -* add missing “dist” folder to array of files / folders published to NPM ([8829429](https://github.com/pattern-lab/patternlab-node/commit/88294296c438352570befd2eb6b9e1ca2ae3b750)) - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - - -### Bug Fixes - -* **1049:** Treat folders like patterns only if they're subfolders of pattern groupings ([4eb79ab](https://github.com/pattern-lab/patternlab-node/commit/4eb79ab48b335a35b2e5ed3b7053974b8e8bb6b6)) -* **cli:** add custom install logic to edition-node ([f04fd26](https://github.com/pattern-lab/patternlab-node/commit/f04fd266429cd806987dab747e6d69bff9b926a4)) -* **cli:** allow any package to be installed as a starterkit ([d2aa1be](https://github.com/pattern-lab/patternlab-node/commit/d2aa1be810a0a7473dcc52391a2263dacfdda0b8)), closes [#1067](https://github.com/pattern-lab/patternlab-node/issues/1067) -* **cli:** merge config arrays via overwrite instead of concatenate ([42e5f7b](https://github.com/pattern-lab/patternlab-node/commit/42e5f7b42a26b4fc1f262c68ee4b474b546f2eac)) -* **cli:** proper path resolution to helpers ([a18fe5e](https://github.com/pattern-lab/patternlab-node/commit/a18fe5ef4d1c074a5eba8bfa255ebbee2261bf74)) -* **cli:** re-order and clarify engines ([e39e301](https://github.com/pattern-lab/patternlab-node/commit/e39e301a33306c6615fabf64262f1893ca682b97)) -* **core:** allow plugin resolution to follow normal algorithm ([3f6b83b](https://github.com/pattern-lab/patternlab-node/commit/3f6b83be080c88aec1d8b73bececb76f0f57a79d)) -* **core:** find plugins from config only and with simpler args ([fe7351c](https://github.com/pattern-lab/patternlab-node/commit/fe7351cba346425512cbb2ef3a1b7728ab06ae60)) -* **deploy:** add setup command ([74dd314](https://github.com/pattern-lab/patternlab-node/commit/74dd3142bf48873a9f1ec4e8dccb8aa2fef9001d)) -* **engine_twig_php:** Pseudo patterns Twig PHP ([226aa8b](https://github.com/pattern-lab/patternlab-node/commit/226aa8bbaaf5e418530ccf54a28f6c5657ee6dea)), closes [#1045](https://github.com/pattern-lab/patternlab-node/issues/1045) -* **engine_twig_php:** Twig incremental rebuilds ([1ade945](https://github.com/pattern-lab/patternlab-node/commit/1ade9451840b2645706a0b01129e2b697dc22d4b)), closes [#1015](https://github.com/pattern-lab/patternlab-node/issues/1015) -* **engine_twig_php:** Twig incremental rebuilds ([5d33f24](https://github.com/pattern-lab/patternlab-node/commit/5d33f24f156ebe50900701513a855de7de608dcf)), closes [#1015](https://github.com/pattern-lab/patternlab-node/issues/1015) -* **lerna:** typo in config ([525a47b](https://github.com/pattern-lab/patternlab-node/commit/525a47b51fba91c1bf5b7439735f48eb7dfa073e)) -* **lint:** Use const instead of var ([ad1e782](https://github.com/pattern-lab/patternlab-node/commit/ad1e782ef71295eb610f56d019eaa35499fb3f85)) -* **plugin:** correct spelling error and function locations ([d4abd88](https://github.com/pattern-lab/patternlab-node/commit/d4abd88cb017550002407241b5045a2ad1adb1dc)) -* **plugin-tab:** bump lodash from 4.17.5 to 4.17.15 in /packages/plugin-tab ([#1081](https://github.com/pattern-lab/patternlab-node/issues/1081)) ([3f89dda](https://github.com/pattern-lab/patternlab-node/commit/3f89dda1685874e251f9777f969c0943e0080881)) -* **plugin-tab:** handle params correctly ([d248993](https://github.com/pattern-lab/patternlab-node/commit/d2489939bb0db1a1d67b0e7f47dfb1838b88b0a0)) -* **starterkit:** add css output and build command ([ccb2d35](https://github.com/pattern-lab/patternlab-node/commit/ccb2d3569b741220324a3fa738ab3d4d2eb97ffe)) -* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd6159a89232f42e0a9dc3c688b6e21de8fc30)) -* add eslint fixes ([00d7bbe](https://github.com/pattern-lab/patternlab-node/commit/00d7bbe319ea77a6ee8cc9cd0348856feaaf13ad)) -* add missing @babel/runtime package to address silent error getting thrown on Travis ([1918d04](https://github.com/pattern-lab/patternlab-node/commit/1918d042d7e90cc8aaa2fdfcd8649961c0a5dd50)) -* add missing preact-render-to-string library ([881296a](https://github.com/pattern-lab/patternlab-node/commit/881296a2c256424beac28bd560c5b1a5e1fed005)) -* add repo info to root package.json so Auto knows what repo to configure for ([85142e8](https://github.com/pattern-lab/patternlab-node/commit/85142e8e94549edd7980459e5975d0639c34864d)) -* address unrelated eslint errors from PL core ([6ada00d](https://github.com/pattern-lab/patternlab-node/commit/6ada00d396eb436837f7453664bfa50522a2ec10)) -* correct typo in build logging ([96d989f](https://github.com/pattern-lab/patternlab-node/commit/96d989f8869630ba9f59705bfca66755f20e35ab)) -* fall back to seeing the current pattern's query string to `all` or the defaultPattern value if undefined when the iframe page initially loads ([a368459](https://github.com/pattern-lab/patternlab-node/commit/a3684590fca02cf96b99421b87a0ad0a711893ad)) -* fix incorrect Webpack version in package.json ([9788e89](https://github.com/pattern-lab/patternlab-node/commit/9788e8977921e31fe43f2a1ec19d4684dd4709c5)) -* fix issue with viewport height exceeding the space available ([95cd1cf](https://github.com/pattern-lab/patternlab-node/commit/95cd1cfa57f086ecb84ac2e996ecda81f0c6a1a6)) -* fix Prism.js typo so languages not found / supported don't throw a JS error ([a8c19f9](https://github.com/pattern-lab/patternlab-node/commit/a8c19f9f9b11d4abbdcd9e573fb0cb418d665660)) -* fix Twig Edition examples by adding missing Twig namespaces to config ([b4c20ef](https://github.com/pattern-lab/patternlab-node/commit/b4c20ef88ee0d3010760584c6f05ff7f92b711a6)) -* minor CSS fixes + fresh prod build ([8ac2c1f](https://github.com/pattern-lab/patternlab-node/commit/8ac2c1fa1c7558ed2ac50755f599a438d682ee2a)) -* re-enable displaying the top level `All` link if PL isn't configured to hide this specific link in the ishControlsHide config option. Addresses [#1048](https://github.com/pattern-lab/patternlab-node/issues/1048) ([6bb4e1a](https://github.com/pattern-lab/patternlab-node/commit/6bb4e1ac6f38b47f93030c8c5bca62d5db2132e4)) -* re-enable using the defaultPattern config for the initial iframe page load if defined ([d645ea1](https://github.com/pattern-lab/patternlab-node/commit/d645ea15150061d7ad13741d2dc37b12b9786411)) -* regenerate fresh UIKit build after fixing main JS issues ([9ea34d2](https://github.com/pattern-lab/patternlab-node/commit/9ea34d2efe43cafacb3729ac113121ba51126344)) -* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af28c4e714fdfc1db535b94c52f3dc14a3a4)) -* squashing minor UI bugs ([a8a606c](https://github.com/pattern-lab/patternlab-node/commit/a8a606cfb224f7041f53ff5026a84e13fa17914c)) -* temporarily disable Random and Disco viewport controls until the full JS logic for these is re-enabled ([14b9a19](https://github.com/pattern-lab/patternlab-node/commit/14b9a19e4dee9462f3784eae28066893cc893624)) -* temporarily downgrade Preact version so tooltip used for displaying viewport sizes renders correctly ([52dcf85](https://github.com/pattern-lab/patternlab-node/commit/52dcf85e756ee171ca993288d98f5b5ef9a0a24b)) -* update autoprefixer browserslist config to address warning messages ([5e52f2b](https://github.com/pattern-lab/patternlab-node/commit/5e52f2b0ed02e2002ca867368636c3c0dc79ff0a)) -* update initial PL iframe path default ([a26fbb9](https://github.com/pattern-lab/patternlab-node/commit/a26fbb956e13901d1751c435b76de65637191ca4)) -* update Javascript to address merge conflict issue with previous PR merge / recent release ([cf2ecc1](https://github.com/pattern-lab/patternlab-node/commit/cf2ecc154383c3e8abd56dc88484370bc58ac30b)) -* update styles for pattern state dots ([7728acc](https://github.com/pattern-lab/patternlab-node/commit/7728accc9a6e5cd83be451f7d74e522dfe721cad)) -* update the default pattern that displays in the Handlebars demo ([ff1d85f](https://github.com/pattern-lab/patternlab-node/commit/ff1d85f2852fc4f210841e8e0aaf14b55165ce58)) -* **starterkit:** remove config file ([f90e38a](https://github.com/pattern-lab/patternlab-node/commit/f90e38aa873dcff0dd08fe4dabc3b71bf95080b6)) -* **starterkit:** use handlebars meta files ([d8f5e12](https://github.com/pattern-lab/patternlab-node/commit/d8f5e12471bd783bd3755626701ecc17669fc761)) -* updates to address eslint / prettier issues ([d945acc](https://github.com/pattern-lab/patternlab-node/commit/d945acc13b8e4e36f3815b017fbc12266c323d1f)) -* updates to fix eslint / prettier issues; update packages/core to reuse root .eslintrc.js file ([5b7a057](https://github.com/pattern-lab/patternlab-node/commit/5b7a057d46ccd16b5832af1441030c7b76f237a8)) -* use 100% of the screen available when JS is disabled / the first time the iframe loads up ([c0c5bff](https://github.com/pattern-lab/patternlab-node/commit/c0c5bff7a63b157d5b81dc2bcecee9e732ecfd4e)) -* **uikit:** clear out "404" responses when loading tabs ([73874b1](https://github.com/pattern-lab/patternlab-node/commit/73874b1b0b66ca6425c2b74331d417efdb529e2e)) -* **uikit-workshop:** fix merge problem ([d245b3b](https://github.com/pattern-lab/patternlab-node/commit/d245b3bca044c29f281052bf2feb95eeffafcf6b)) - - -### Features - -* **core:** invoke registered plugin hooks ([a54d775](https://github.com/pattern-lab/patternlab-node/commit/a54d7753b6939fe6a58da543f4fb34f64dd8901a)) -* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/commit/b481e22dc1f41ddd4da709621640a15190fba257)) -* **engine-handlebars:** Default location for helpers, like engine-nunjucks ([11c4180](https://github.com/pattern-lab/patternlab-node/commit/11c41805e0c3dbebb7109719c4f3c780d32feab5)) -* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5bca72f2f34bfafe5c2c64e6b0b8823eb1c)) -* **engine-handlebars:** Document the Helpers feature ([a01e040](https://github.com/pattern-lab/patternlab-node/commit/a01e040429a7f77dfeb28d67c690e835b97881de)) -* **engine-handlebars:** Load Handlebars helpers specified in the config ([a12df36](https://github.com/pattern-lab/patternlab-node/commit/a12df36d2a644dfac8ded1dfd94b987e99c29d79)) -* **engine-nunjucks:** Configurable extension locations; Use usePatternlabConfig() ([e54e3b3](https://github.com/pattern-lab/patternlab-node/commit/e54e3b3d48f934d3a4d44b9f4ff262f742a4aaf9)) -* **engine-react:** set package to private ([3aea881](https://github.com/pattern-lab/patternlab-node/commit/3aea8815f19df5b527cdda0b75cf99a9a8c3bc1e)) -* **plugin-tab:** pivot to using hook functions ([d4b2598](https://github.com/pattern-lab/patternlab-node/commit/d4b25984fc2a2646cc1876a5c635f57593c35f09)) -* **plugin-tab, core:** initial plugin hook exploration ([2f3d39a](https://github.com/pattern-lab/patternlab-node/commit/2f3d39ac6b125ad4c6b872e27ee224ce2ea33a12)) -* **starterkits:** add starterkit-handlebars-demo ([384d2cf](https://github.com/pattern-lab/patternlab-node/commit/384d2cfa3440c1e6f456d39f56ca6381f82f7689)) -* **uikit-workshop:** add plugin-loader ([fc966d6](https://github.com/pattern-lab/patternlab-node/commit/fc966d6b151e24055bc2f4146d6a90b5fb392765)) -* introduce netlify preview ([6c5d332](https://github.com/pattern-lab/patternlab-node/commit/6c5d332479fb6836bd8bd5530a074d13440f8ae4)) -* remove pre-built uikit dist folder and switch to auto-building when bootstrapping OR when publishing to NPM ([b5dd553](https://github.com/pattern-lab/patternlab-node/commit/b5dd5538ee00ddf1da321851865fa1c223cedb43)) -* switch to Yarn + Yarn workspaces ([f4c4ec3](https://github.com/pattern-lab/patternlab-node/commit/f4c4ec33cd30d372c87ffa904fbe7d5b819ee14e)) -* update Node to v12 ([fcbb970](https://github.com/pattern-lab/patternlab-node/commit/fcbb970648cdd775c9a88078f14c1f24c5b62d73)) - - -### Reverts - -* don't flatten folders containing only one item inside ([77f1f46](https://github.com/pattern-lab/patternlab-node/commit/77f1f46595328bd96fba46347b532295c65802d1)) - - -### BREAKING CHANGES - -* **core:** plugins now use async functions instead of events -* **plugin-tab:** event based listeners replaced with functions -* **cli:** previously, we concatenated arrays, which is unlikely to be intended + +# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) + + +### Features + +* upgrade Twig to use new filter, map, reduce ([4218a5a](https://github.com/pattern-lab/patternlab-node/commit/4218a5a04b06027548afd9f417486297dd25fef8)) + + + + + +## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package pl-node-pr + + + + + +## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) + + +### Bug Fixes + +* temp workaround to address instance where the latest version of Edge supports ES modules but NOT Custom Elements ([ada3d82](https://github.com/pattern-lab/patternlab-node/commit/ada3d829019345fd33ed949f306972efdcb4fa57)) + + + + + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) + + +### Bug Fixes + +* re-add popstate listener ([6dbbd6a](https://github.com/pattern-lab/patternlab-node/commit/6dbbd6aae3709cc17544c12dd10588120eb9e71a)) +* **script:** remove quotes around starterkit ([e4897fb](https://github.com/pattern-lab/patternlab-node/commit/e4897fb6e4d4cd0985ab72397abd03ff04be514b)) +* add a new method to check if PL is currently compiling + add new method to get the config PL is using ([26e886c](https://github.com/pattern-lab/patternlab-node/commit/26e886c93db5d135c91de648724f7278c4d5b3e9)) +* check if dependency graph file exists before trying to remove ([f9af6a9](https://github.com/pattern-lab/patternlab-node/commit/f9af6a95025a22041e7ff8a4bfb19e4727385e98)) +* comment out example config to disable viewAll links ([ddb3fad](https://github.com/pattern-lab/patternlab-node/commit/ddb3fad5770d1d66432c4b583ae9af09a3a47d48)) + + +### Features + +* add the ability to disable Pattern Lab viewall links in the navigation ([156e609](https://github.com/pattern-lab/patternlab-node/commit/156e609a92e7f7e7ebd8f4f5cd77b5d695db8bad)) +* major improvements to local UIKit workflow ([4dc9173](https://github.com/pattern-lab/patternlab-node/commit/4dc9173a5a44b422e9677824de3728048b7c4f05)) +* test adding cross-env to Twig Edition test ([3f8bb01](https://github.com/pattern-lab/patternlab-node/commit/3f8bb01bc4e96a0aba61c213ea1619c02593defc)) + + + + + +## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) + + +### Bug Fixes + +* simplify overflow fix ([378cf42](https://github.com/pattern-lab/patternlab-node/commit/378cf4282a3e5b4f597287eb538270e3358c8c69)) +* testing potential FF fix for https://github.com/pattern-lab/patternlab-node/issues/1100 ([613bba1](https://github.com/pattern-lab/patternlab-node/commit/613bba104f2082be507938db78f1db7a07f6b8be)) + + + + + + +## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package pl-node + + + + + +## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) + + +### Bug Fixes + +* CSS fix to properly highlight the correct active page / link in the Nav; improve dropdown open / close animation ([ec4ab84](https://github.com/pattern-lab/patternlab-node/commit/ec4ab84ddc8007796c9012a3f493822d76f039a7)) +* small UI fixes for the sticky Tabs header on smaller screens + drawer content collapsing on smaller screens + better handling of Nav link cleanup when changing pages ([347e2fe](https://github.com/pattern-lab/patternlab-node/commit/347e2fe29a78a1d168005a07c656b4f9f1124c7f)) +* tweak header and drawer padding when viewing on a device with curved edges ([98e9baf](https://github.com/pattern-lab/patternlab-node/commit/98e9baf649eceb9124218a924b6b08097b910e86)) +* uikit fixes and minor CSS updates intended for the v5.3.0 release ([26c4ced](https://github.com/pattern-lab/patternlab-node/commit/26c4ceddaae09fa4fa4873f092c924274498c5da)) + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) + + +### Bug Fixes + +* add PluginTab workaround for Safari ([2fa9367](https://github.com/pattern-lab/patternlab-node/commit/2fa936769be65484af52f242dca2536a3382462c)) +* **core:** re-add cleanPublic fix ([c100bbc](https://github.com/pattern-lab/patternlab-node/commit/c100bbca3f339e9132acb9c482e98c1c8a66b8b5)) +* **plugin-tab:** defensively call addPanels ([b82bd12](https://github.com/pattern-lab/patternlab-node/commit/b82bd129fdbe48de95b62d75fb7fe95cea896b7e)) +* port over missing UIKit Sass that wasn't added in the original PR ([f7659e6](https://github.com/pattern-lab/patternlab-node/commit/f7659e64d0eee13be20921dd5afc48ac20ae93e6)) + + +### Features + +* port latest UIKit updates + fixes upstream ([d07952c](https://github.com/pattern-lab/patternlab-node/commit/d07952cb07e3792b995dda2e589262ecf4153fdc)) + + + + + +# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) + + +### Bug Fixes + +* **deploy:** add setup command ([7c1d8d1](https://github.com/pattern-lab/patternlab-node/commit/7c1d8d14842a467bb301e2ede2ec83074ff35ae2)) +* add missing $ ([c95a06e](https://github.com/pattern-lab/patternlab-node/commit/c95a06ece78631b068f8721666caf33452e57a7a)) +* address bug causing viewport width to progressively decrease in size when resizing your screen / refreshing on certain devices ([41b11af](https://github.com/pattern-lab/patternlab-node/commit/41b11af8aaaf066fcf99abd2513eae8706122d32)) +* configure the Logo's `altText` config option when used as an HTML attribute ([ade34a2](https://github.com/pattern-lab/patternlab-node/commit/ade34a29435f5112f0449ad020bee7e9dc2c81e1)) +* fix classname typo ([da3c5f1](https://github.com/pattern-lab/patternlab-node/commit/da3c5f144d22b1ac3ad99680a264433d4438ebb2)) +* temp workaround to fix content exceeding the height of drawer container ([435243c](https://github.com/pattern-lab/patternlab-node/commit/435243cbfbd000a7d96a0e9fa7beff1a988ede64)) +* update drawer UI to not collapse content on smaller screen sizes ([7147085](https://github.com/pattern-lab/patternlab-node/commit/71470856b8b389421348366afd247a599d1e9c86)) +* update package.json description in `@pattern-lab/uikit-polyfills` ([22fc44a](https://github.com/pattern-lab/patternlab-node/commit/22fc44a4b3683753a469a98abfcdad8f1234f28a)) +* **engine_twig_php:** Allow additional flexibility with twig namespaces. ([07bfaa3](https://github.com/pattern-lab/patternlab-node/commit/07bfaa35a00ff62fd2016cc9f34e09cf5af36559)) + + +### Features + +* add lit-element, basic Typescript support to Webpack ([611f705](https://github.com/pattern-lab/patternlab-node/commit/611f705be85eea8a31091169750d64e988798cee)) +* add local copy of new Slotify library till published to NPM ([63b9d83](https://github.com/pattern-lab/patternlab-node/commit/63b9d833908151ce5cb5aa5184c72254125c7ed1)) +* add new component to make Button-like styles more reusable ([5e7b014](https://github.com/pattern-lab/patternlab-node/commit/5e7b0140622eb89154c38925769a6def6d669fb3)) +* add new component ([e8ce2a9](https://github.com/pattern-lab/patternlab-node/commit/e8ce2a927365b8d5316a7d8229c979ff31b04907)) +* add support for auto-closing Nav when clicking inside of the rendered iframe ([9d602fe](https://github.com/pattern-lab/patternlab-node/commit/9d602fe335a5d3b5bca5cac258c2465934d9a46a)) +* add support for optional chaining syntax via Babel plugin ([c8886b6](https://github.com/pattern-lab/patternlab-node/commit/c8886b6d9d91fea246fa3ab7947f289509dc26d5)) +* major refactoring + UI updates to address cross browser support; UI cleanup and conversion of the majority of the remaining components over to lit-element ([2ff8e1c](https://github.com/pattern-lab/patternlab-node/commit/2ff8e1c98cdd02e8077064c48eca5f7754a3db02)) +* refactor + convert pl-toggle-info to lit-element ([85cd9c5](https://github.com/pattern-lab/patternlab-node/commit/85cd9c50ca814066bf999badf2071d84964f00cc)) +* refactor + convert pl-toggle-layout to lit-element ([46009d9](https://github.com/pattern-lab/patternlab-node/commit/46009d91b1cb9ed613baa5a7626cba4f42883465)) +* refactor + convert pl-toggle-theme to lit-element ([95a3b21](https://github.com/pattern-lab/patternlab-node/commit/95a3b21a89dacd2d5b4df8c134ce438d4efdbd04)) +* refactor Drawer to render via lit-element + massively improve rendering performance ([28d47eb](https://github.com/pattern-lab/patternlab-node/commit/28d47eb3cbbce038204203e786e5188b4cefe64f)) +* remove mixin that was causing outlines to be removed from default UI styles ([622ed76](https://github.com/pattern-lab/patternlab-node/commit/622ed76d435b3b2e31e412266c3090506f98051b)) +* temp add unsafe-svg directive till upstream PR merged ([34de61c](https://github.com/pattern-lab/patternlab-node/commit/34de61ccd9c7bb3b48ca5ef386a87efc8e84babc)) +* update the Nav design to not bold the active item in order to not shift the layout ([0eda431](https://github.com/pattern-lab/patternlab-node/commit/0eda4312ba9f4c61afa6322c3ff45f9cda0efc9e)) +* update Webpack config to use the latest Style Loader + new SVG icon system ([2ed70e7](https://github.com/pattern-lab/patternlab-node/commit/2ed70e79d8656c7314d8b3109aa1c34160ad24f9)) + + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) + + + + + +## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) + + +### Bug Fixes + +* **uikit-workshop:** add template files to published bundle ([9005fce](https://github.com/pattern-lab/patternlab-node/commit/9005fcee9e129fb41d509f706195e1437bddc710)) +* **uikit-workshop:** add webpack config to published bundle ([060a573](https://github.com/pattern-lab/patternlab-node/commit/060a573cbddce9ee3d270d39337d0c8cac8372fa)) + + + + + +## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) + + +### Bug Fixes + +* add missing “dist” folder to array of files / folders published to NPM ([8829429](https://github.com/pattern-lab/patternlab-node/commit/88294296c438352570befd2eb6b9e1ca2ae3b750)) + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + + +### Bug Fixes + +* **1049:** Treat folders like patterns only if they're subfolders of pattern groupings ([4eb79ab](https://github.com/pattern-lab/patternlab-node/commit/4eb79ab48b335a35b2e5ed3b7053974b8e8bb6b6)) +* **cli:** add custom install logic to edition-node ([f04fd26](https://github.com/pattern-lab/patternlab-node/commit/f04fd266429cd806987dab747e6d69bff9b926a4)) +* **cli:** allow any package to be installed as a starterkit ([d2aa1be](https://github.com/pattern-lab/patternlab-node/commit/d2aa1be810a0a7473dcc52391a2263dacfdda0b8)), closes [#1067](https://github.com/pattern-lab/patternlab-node/issues/1067) +* **cli:** merge config arrays via overwrite instead of concatenate ([42e5f7b](https://github.com/pattern-lab/patternlab-node/commit/42e5f7b42a26b4fc1f262c68ee4b474b546f2eac)) +* **cli:** proper path resolution to helpers ([a18fe5e](https://github.com/pattern-lab/patternlab-node/commit/a18fe5ef4d1c074a5eba8bfa255ebbee2261bf74)) +* **cli:** re-order and clarify engines ([e39e301](https://github.com/pattern-lab/patternlab-node/commit/e39e301a33306c6615fabf64262f1893ca682b97)) +* **core:** allow plugin resolution to follow normal algorithm ([3f6b83b](https://github.com/pattern-lab/patternlab-node/commit/3f6b83be080c88aec1d8b73bececb76f0f57a79d)) +* **core:** find plugins from config only and with simpler args ([fe7351c](https://github.com/pattern-lab/patternlab-node/commit/fe7351cba346425512cbb2ef3a1b7728ab06ae60)) +* **deploy:** add setup command ([74dd314](https://github.com/pattern-lab/patternlab-node/commit/74dd3142bf48873a9f1ec4e8dccb8aa2fef9001d)) +* **engine_twig_php:** Pseudo patterns Twig PHP ([226aa8b](https://github.com/pattern-lab/patternlab-node/commit/226aa8bbaaf5e418530ccf54a28f6c5657ee6dea)), closes [#1045](https://github.com/pattern-lab/patternlab-node/issues/1045) +* **engine_twig_php:** Twig incremental rebuilds ([1ade945](https://github.com/pattern-lab/patternlab-node/commit/1ade9451840b2645706a0b01129e2b697dc22d4b)), closes [#1015](https://github.com/pattern-lab/patternlab-node/issues/1015) +* **engine_twig_php:** Twig incremental rebuilds ([5d33f24](https://github.com/pattern-lab/patternlab-node/commit/5d33f24f156ebe50900701513a855de7de608dcf)), closes [#1015](https://github.com/pattern-lab/patternlab-node/issues/1015) +* **lerna:** typo in config ([525a47b](https://github.com/pattern-lab/patternlab-node/commit/525a47b51fba91c1bf5b7439735f48eb7dfa073e)) +* **lint:** Use const instead of var ([ad1e782](https://github.com/pattern-lab/patternlab-node/commit/ad1e782ef71295eb610f56d019eaa35499fb3f85)) +* **plugin:** correct spelling error and function locations ([d4abd88](https://github.com/pattern-lab/patternlab-node/commit/d4abd88cb017550002407241b5045a2ad1adb1dc)) +* **plugin-tab:** bump lodash from 4.17.5 to 4.17.15 in /packages/plugin-tab ([#1081](https://github.com/pattern-lab/patternlab-node/issues/1081)) ([3f89dda](https://github.com/pattern-lab/patternlab-node/commit/3f89dda1685874e251f9777f969c0943e0080881)) +* **plugin-tab:** handle params correctly ([d248993](https://github.com/pattern-lab/patternlab-node/commit/d2489939bb0db1a1d67b0e7f47dfb1838b88b0a0)) +* **starterkit:** add css output and build command ([ccb2d35](https://github.com/pattern-lab/patternlab-node/commit/ccb2d3569b741220324a3fa738ab3d4d2eb97ffe)) +* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd6159a89232f42e0a9dc3c688b6e21de8fc30)) +* add eslint fixes ([00d7bbe](https://github.com/pattern-lab/patternlab-node/commit/00d7bbe319ea77a6ee8cc9cd0348856feaaf13ad)) +* add missing @babel/runtime package to address silent error getting thrown on Travis ([1918d04](https://github.com/pattern-lab/patternlab-node/commit/1918d042d7e90cc8aaa2fdfcd8649961c0a5dd50)) +* add missing preact-render-to-string library ([881296a](https://github.com/pattern-lab/patternlab-node/commit/881296a2c256424beac28bd560c5b1a5e1fed005)) +* add repo info to root package.json so Auto knows what repo to configure for ([85142e8](https://github.com/pattern-lab/patternlab-node/commit/85142e8e94549edd7980459e5975d0639c34864d)) +* address unrelated eslint errors from PL core ([6ada00d](https://github.com/pattern-lab/patternlab-node/commit/6ada00d396eb436837f7453664bfa50522a2ec10)) +* correct typo in build logging ([96d989f](https://github.com/pattern-lab/patternlab-node/commit/96d989f8869630ba9f59705bfca66755f20e35ab)) +* fall back to seeing the current pattern's query string to `all` or the defaultPattern value if undefined when the iframe page initially loads ([a368459](https://github.com/pattern-lab/patternlab-node/commit/a3684590fca02cf96b99421b87a0ad0a711893ad)) +* fix incorrect Webpack version in package.json ([9788e89](https://github.com/pattern-lab/patternlab-node/commit/9788e8977921e31fe43f2a1ec19d4684dd4709c5)) +* fix issue with viewport height exceeding the space available ([95cd1cf](https://github.com/pattern-lab/patternlab-node/commit/95cd1cfa57f086ecb84ac2e996ecda81f0c6a1a6)) +* fix Prism.js typo so languages not found / supported don't throw a JS error ([a8c19f9](https://github.com/pattern-lab/patternlab-node/commit/a8c19f9f9b11d4abbdcd9e573fb0cb418d665660)) +* fix Twig Edition examples by adding missing Twig namespaces to config ([b4c20ef](https://github.com/pattern-lab/patternlab-node/commit/b4c20ef88ee0d3010760584c6f05ff7f92b711a6)) +* minor CSS fixes + fresh prod build ([8ac2c1f](https://github.com/pattern-lab/patternlab-node/commit/8ac2c1fa1c7558ed2ac50755f599a438d682ee2a)) +* re-enable displaying the top level `All` link if PL isn't configured to hide this specific link in the ishControlsHide config option. Addresses [#1048](https://github.com/pattern-lab/patternlab-node/issues/1048) ([6bb4e1a](https://github.com/pattern-lab/patternlab-node/commit/6bb4e1ac6f38b47f93030c8c5bca62d5db2132e4)) +* re-enable using the defaultPattern config for the initial iframe page load if defined ([d645ea1](https://github.com/pattern-lab/patternlab-node/commit/d645ea15150061d7ad13741d2dc37b12b9786411)) +* regenerate fresh UIKit build after fixing main JS issues ([9ea34d2](https://github.com/pattern-lab/patternlab-node/commit/9ea34d2efe43cafacb3729ac113121ba51126344)) +* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af28c4e714fdfc1db535b94c52f3dc14a3a4)) +* squashing minor UI bugs ([a8a606c](https://github.com/pattern-lab/patternlab-node/commit/a8a606cfb224f7041f53ff5026a84e13fa17914c)) +* temporarily disable Random and Disco viewport controls until the full JS logic for these is re-enabled ([14b9a19](https://github.com/pattern-lab/patternlab-node/commit/14b9a19e4dee9462f3784eae28066893cc893624)) +* temporarily downgrade Preact version so tooltip used for displaying viewport sizes renders correctly ([52dcf85](https://github.com/pattern-lab/patternlab-node/commit/52dcf85e756ee171ca993288d98f5b5ef9a0a24b)) +* update autoprefixer browserslist config to address warning messages ([5e52f2b](https://github.com/pattern-lab/patternlab-node/commit/5e52f2b0ed02e2002ca867368636c3c0dc79ff0a)) +* update initial PL iframe path default ([a26fbb9](https://github.com/pattern-lab/patternlab-node/commit/a26fbb956e13901d1751c435b76de65637191ca4)) +* update Javascript to address merge conflict issue with previous PR merge / recent release ([cf2ecc1](https://github.com/pattern-lab/patternlab-node/commit/cf2ecc154383c3e8abd56dc88484370bc58ac30b)) +* update styles for pattern state dots ([7728acc](https://github.com/pattern-lab/patternlab-node/commit/7728accc9a6e5cd83be451f7d74e522dfe721cad)) +* update the default pattern that displays in the Handlebars demo ([ff1d85f](https://github.com/pattern-lab/patternlab-node/commit/ff1d85f2852fc4f210841e8e0aaf14b55165ce58)) +* **starterkit:** remove config file ([f90e38a](https://github.com/pattern-lab/patternlab-node/commit/f90e38aa873dcff0dd08fe4dabc3b71bf95080b6)) +* **starterkit:** use handlebars meta files ([d8f5e12](https://github.com/pattern-lab/patternlab-node/commit/d8f5e12471bd783bd3755626701ecc17669fc761)) +* updates to address eslint / prettier issues ([d945acc](https://github.com/pattern-lab/patternlab-node/commit/d945acc13b8e4e36f3815b017fbc12266c323d1f)) +* updates to fix eslint / prettier issues; update packages/core to reuse root .eslintrc.js file ([5b7a057](https://github.com/pattern-lab/patternlab-node/commit/5b7a057d46ccd16b5832af1441030c7b76f237a8)) +* use 100% of the screen available when JS is disabled / the first time the iframe loads up ([c0c5bff](https://github.com/pattern-lab/patternlab-node/commit/c0c5bff7a63b157d5b81dc2bcecee9e732ecfd4e)) +* **uikit:** clear out "404" responses when loading tabs ([73874b1](https://github.com/pattern-lab/patternlab-node/commit/73874b1b0b66ca6425c2b74331d417efdb529e2e)) +* **uikit-workshop:** fix merge problem ([d245b3b](https://github.com/pattern-lab/patternlab-node/commit/d245b3bca044c29f281052bf2feb95eeffafcf6b)) + + +### Features + +* **core:** invoke registered plugin hooks ([a54d775](https://github.com/pattern-lab/patternlab-node/commit/a54d7753b6939fe6a58da543f4fb34f64dd8901a)) +* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/commit/b481e22dc1f41ddd4da709621640a15190fba257)) +* **engine-handlebars:** Default location for helpers, like engine-nunjucks ([11c4180](https://github.com/pattern-lab/patternlab-node/commit/11c41805e0c3dbebb7109719c4f3c780d32feab5)) +* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5bca72f2f34bfafe5c2c64e6b0b8823eb1c)) +* **engine-handlebars:** Document the Helpers feature ([a01e040](https://github.com/pattern-lab/patternlab-node/commit/a01e040429a7f77dfeb28d67c690e835b97881de)) +* **engine-handlebars:** Load Handlebars helpers specified in the config ([a12df36](https://github.com/pattern-lab/patternlab-node/commit/a12df36d2a644dfac8ded1dfd94b987e99c29d79)) +* **engine-nunjucks:** Configurable extension locations; Use usePatternlabConfig() ([e54e3b3](https://github.com/pattern-lab/patternlab-node/commit/e54e3b3d48f934d3a4d44b9f4ff262f742a4aaf9)) +* **engine-react:** set package to private ([3aea881](https://github.com/pattern-lab/patternlab-node/commit/3aea8815f19df5b527cdda0b75cf99a9a8c3bc1e)) +* **plugin-tab:** pivot to using hook functions ([d4b2598](https://github.com/pattern-lab/patternlab-node/commit/d4b25984fc2a2646cc1876a5c635f57593c35f09)) +* **plugin-tab, core:** initial plugin hook exploration ([2f3d39a](https://github.com/pattern-lab/patternlab-node/commit/2f3d39ac6b125ad4c6b872e27ee224ce2ea33a12)) +* **starterkits:** add starterkit-handlebars-demo ([384d2cf](https://github.com/pattern-lab/patternlab-node/commit/384d2cfa3440c1e6f456d39f56ca6381f82f7689)) +* **uikit-workshop:** add plugin-loader ([fc966d6](https://github.com/pattern-lab/patternlab-node/commit/fc966d6b151e24055bc2f4146d6a90b5fb392765)) +* introduce netlify preview ([6c5d332](https://github.com/pattern-lab/patternlab-node/commit/6c5d332479fb6836bd8bd5530a074d13440f8ae4)) +* remove pre-built uikit dist folder and switch to auto-building when bootstrapping OR when publishing to NPM ([b5dd553](https://github.com/pattern-lab/patternlab-node/commit/b5dd5538ee00ddf1da321851865fa1c223cedb43)) +* switch to Yarn + Yarn workspaces ([f4c4ec3](https://github.com/pattern-lab/patternlab-node/commit/f4c4ec33cd30d372c87ffa904fbe7d5b819ee14e)) +* update Node to v12 ([fcbb970](https://github.com/pattern-lab/patternlab-node/commit/fcbb970648cdd775c9a88078f14c1f24c5b62d73)) + + +### Reverts + +* don't flatten folders containing only one item inside ([77f1f46](https://github.com/pattern-lab/patternlab-node/commit/77f1f46595328bd96fba46347b532295c65802d1)) + + +### BREAKING CHANGES + +* **core:** plugins now use async functions instead of events +* **plugin-tab:** event based listeners replaced with functions +* **cli:** previously, we concatenated arrays, which is unlikely to be intended * **edition-node:** use handlebars over mustache diff --git a/packages/cli/bin/scaffold.js b/packages/cli/bin/scaffold.js index de1e4df73..df8aea5a5 100644 --- a/packages/cli/bin/scaffold.js +++ b/packages/cli/bin/scaffold.js @@ -1,7 +1,7 @@ 'use strict'; const path = require('path'); const execa = require('execa'); -const fs = require('fs-extra'); +const fs = require('fs'); const wrapAsync = require('./utils').wrapAsync; const mkdirsAsync = require('./utils').mkdirsAsync; @@ -18,7 +18,6 @@ const scaffold = (projectDir, sourceDir, publicDir, exportDir) => wrapAsync(function*() { const projectPath = path.join(process.cwd(), projectDir); if (!fs.existsSync(path.join(projectPath, 'package.json'))) { - fs.ensureDirSync(projectPath); execa.sync('npm', ['init', '-y'], { cwd: projectPath, }); diff --git a/packages/cli/package.json b/packages/cli/package.json index 12fe319d0..e92d41bd2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -49,7 +49,7 @@ ], "scripts": { "lint": "eslint ./{bin,test}", - "test:separate": "tap ./test/*.test.js --reporter spec --timeout=120" + "test:separate": "tap './test/*.test.js' --reporter spec --timeout=120" }, "repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli", "bugs": "https://github.com/pattern-lab/patternlab-node/issues", diff --git a/packages/core/src/lib/addPattern.js b/packages/core/src/lib/addPattern.js index 0534c5dfd..12c0c9429 100644 --- a/packages/core/src/lib/addPattern.js +++ b/packages/core/src/lib/addPattern.js @@ -2,7 +2,7 @@ const logger = require('./log'); -module.exports = function (pattern, patternlab) { +module.exports = function(pattern, patternlab) { //add the link to the global object if (!patternlab.data.link) { patternlab.data.link = {}; diff --git a/packages/core/src/lib/annotation_exporter.js b/packages/core/src/lib/annotation_exporter.js index dffb01253..2ff23547b 100644 --- a/packages/core/src/lib/annotation_exporter.js +++ b/packages/core/src/lib/annotation_exporter.js @@ -6,7 +6,7 @@ const _ = require('lodash'); const mp = require('./markdown_parser'); const logger = require('./log'); -const annotations_exporter = function (pl) { +const annotations_exporter = function(pl) { const paths = pl.config.paths; let oldAnnotations; @@ -68,7 +68,7 @@ const annotations_exporter = function (pl) { //let annotations = annotations; const markdown_parser = parser; - return function (filePath) { + return function(filePath) { const annotationsMD = fs.readFileSync(path.resolve(filePath), 'utf8'); //take the annotation snippets and split them on our custom delimiter @@ -110,15 +110,15 @@ const annotations_exporter = function (pl) { } return { - gather: function () { + gather: function() { return gatherAnnotations(); }, - gatherJS: function () { + gatherJS: function() { return parseAnnotationsJS(); }, - gatherMD: function () { + gatherMD: function() { return parseAnnotationsMD(); - }, + } }; }; diff --git a/packages/core/src/lib/buildFooter.js b/packages/core/src/lib/buildFooter.js index 6d0c4351c..42ed41d20 100644 --- a/packages/core/src/lib/buildFooter.js +++ b/packages/core/src/lib/buildFooter.js @@ -13,15 +13,15 @@ let render = require('./render'); //eslint-disable-line prefer-const * @param patternPartial - the partial key to build this for, either viewall-patternPartial or a viewall-patternGroup-all * @returns A promise which resolves with the HTML */ -module.exports = function (patternlab, patternPartial, uikit) { +module.exports = function(patternlab, patternPartial, uikit) { //first render the general footer return render(Pattern.createEmpty({ extendedTemplate: uikit.footer }), { patternData: JSON.stringify({ - patternPartial: patternPartial, + patternPartial: patternPartial }), - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster }) - .then((footerPartial) => { + .then(footerPartial => { let allFooterData; try { allFooterData = jsonCopy( @@ -36,7 +36,7 @@ module.exports = function (patternlab, patternPartial, uikit) { return render(patternlab.userFoot, allFooterData); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error building buildFooterHTML'); }); diff --git a/packages/core/src/lib/buildListItems.js b/packages/core/src/lib/buildListItems.js index 7eb214f12..b3ebe19aa 100644 --- a/packages/core/src/lib/buildListItems.js +++ b/packages/core/src/lib/buildListItems.js @@ -23,10 +23,10 @@ const items = [ 'seventeen', 'eighteen', 'nineteen', - 'twenty', + 'twenty' ]; -module.exports = function (container) { +module.exports = function(container) { //combine all list items into one structure const list = []; for (const item in container.listitems) { diff --git a/packages/core/src/lib/buildPatterns.js b/packages/core/src/lib/buildPatterns.js index 476a373c6..c1d9f8524 100644 --- a/packages/core/src/lib/buildPatterns.js +++ b/packages/core/src/lib/buildPatterns.js @@ -113,13 +113,13 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { return render( Pattern.createEmpty({ // todo should this be uikit.header? - extendedTemplate: patternlab.header, + extendedTemplate: patternlab.header }), { - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster } ) - .then((results) => { + .then(results => { patternlab.data.patternLabHead = results; // If deletePatternDir == true or graph needs to be updated @@ -133,7 +133,7 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { if (patternlab.incrementalBuildsEnabled) { // When the graph was loaded from file, some patterns might have been moved/deleted between runs // so the graph data become out of sync - patternlab.graph.sync().forEach((n) => { + patternlab.graph.sync().forEach(n => { logger.info('[Deleted/Moved] ' + n); }); @@ -150,18 +150,18 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { } //render all patterns last, so lineageR works const allPatternsPromise = patternsToBuild.map( - async (pattern) => await compose(pattern, patternlab) + async pattern => await compose(pattern, patternlab) ); //copy non-pattern files like JavaScript - const allJS = patternsToBuild.map((pattern) => { + const allJS = patternsToBuild.map(pattern => { const { name, patternPartial, subdir } = pattern; const { source: { patterns: sourceDir }, - public: { patterns: publicDir }, + public: { patterns: publicDir } } = patternlab.config.paths; const src = path.join(sourceDir, subdir); const dest = path.join(publicDir, name); - return map(patternlab.uikits, (uikit) => { + return map(patternlab.uikits, uikit => { return copy( src, path.resolve(process.cwd(), uikit.outputDir, dest), @@ -170,7 +170,7 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { filter: ['*.js'], rename: () => { return `${patternPartial}.js`; - }, + } } ).on(copy.events.COPY_FILE_COMPLETE, () => { logger.debug( @@ -199,27 +199,27 @@ module.exports = async (deletePatternDir, patternlab, additionalData) => { //export patterns if necessary pattern_exporter.export_patterns(patternlab); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error rendering patterns'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error rendering pattern lab header'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error processing meta patterns'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error processing patterns recursively'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error in buildPatterns()'); }); diff --git a/packages/core/src/lib/changes_hunter.js b/packages/core/src/lib/changes_hunter.js index ee4a4d52c..65c4456dd 100644 --- a/packages/core/src/lib/changes_hunter.js +++ b/packages/core/src/lib/changes_hunter.js @@ -12,7 +12,7 @@ let fs = require('fs-extra'); //eslint-disable-line prefer-const * For detecting changed patterns. * @constructor */ -const ChangesHunter = function () {}; +const ChangesHunter = function() {}; ChangesHunter.prototype = { /** @@ -25,7 +25,7 @@ ChangesHunter.prototype = { * * @see {@link CompileState} */ - checkBuildState: function (pattern, patternlab) { + checkBuildState: function(pattern, patternlab) { //write the compiled template to the public patterns directory const renderedTemplatePath = patternlab.config.paths.public.patterns + @@ -40,12 +40,12 @@ ChangesHunter.prototype = { pattern.compileState = CompileState.NEEDS_REBUILD; } - _.each(patternlab.uikits, (uikit) => { + _.each(patternlab.uikits, uikit => { try { // renderedTemplatePath required to display a single element // Markup only is required for "View All" pages. It will get loaded later on. // If any of these is missing, mark pattern for recompile - [renderedTemplatePath, markupOnlyPath].forEach((renderedFile) => { + [renderedTemplatePath, markupOnlyPath].forEach(renderedFile => { // Prevent error message if file does not exist fs.accessSync( path.join(process.cwd(), uikit.outputDir, renderedFile), @@ -94,7 +94,7 @@ ChangesHunter.prototype = { * @param {Pattern} currentPattern * @param {string} file */ - checkLastModified: function (currentPattern, file) { + checkLastModified: function(currentPattern, file) { if (file && fs.pathExistsSync(file)) { try { const stat = fs.statSync(file); @@ -110,12 +110,12 @@ ChangesHunter.prototype = { } }, - needsRebuild: function (lastModified, p) { + needsRebuild: function(lastModified, p) { if (p.compileState !== CompileState.CLEAN || !p.lastModified) { return true; } return p.lastModified >= lastModified; - }, + } }; module.exports = ChangesHunter; diff --git a/packages/core/src/lib/cleanBuildDirectory.js b/packages/core/src/lib/cleanBuildDirectory.js index 0cfc300e0..11d78c01e 100644 --- a/packages/core/src/lib/cleanBuildDirectory.js +++ b/packages/core/src/lib/cleanBuildDirectory.js @@ -15,12 +15,12 @@ module.exports = (incrementalBuildsEnabled, patternlab) => { return Promise.resolve(); } else { return Promise.all( - _.map(patternlab.uikits, (uikit) => { + _.map(patternlab.uikits, uikit => { return fs.emptyDir( path.join(process.cwd(), uikit.outputDir, paths.public.patterns) ); }) - ).catch((reason) => { + ).catch(reason => { logger.error(reason); }); } diff --git a/packages/core/src/lib/compose.js b/packages/core/src/lib/compose.js index 6eeeb50fd..ad3b289bf 100644 --- a/packages/core/src/lib/compose.js +++ b/packages/core/src/lib/compose.js @@ -15,7 +15,7 @@ const pluginManager = new pm(); const Pattern = require('./object_factory').Pattern; const CompileState = require('./object_factory').CompileState; -module.exports = async function (pattern, patternlab) { +module.exports = async function(pattern, patternlab) { // Pattern does not need to be built and recompiled more than once if (!pattern.isPattern || pattern.compileState === CompileState.CLEAN) { return Promise.resolve(false); @@ -41,7 +41,7 @@ module.exports = async function (pattern, patternlab) { ); return Promise.all( - _.map(patternlab.uikits, (uikit) => { + _.map(patternlab.uikits, uikit => { // exclude pattern from uikit rendering if (uikitExcludePattern(pattern, uikit)) { return Promise.resolve(); @@ -125,18 +125,18 @@ module.exports = async function (pattern, patternlab) { patternBreadcrumb: pattern.patternGroup === pattern.patternSubgroup ? { - patternGroup: pattern.patternGroup, + patternGroup: pattern.patternGroup } : { patternGroup: pattern.patternGroup, - patternSubgroup: pattern.patternSubgroup, + patternSubgroup: pattern.patternSubgroup }, patternExtension: pattern.fileExtension.substr(1), //remove the dot because styleguide asset default adds it for us patternName: pattern.patternName, patternPartial: pattern.patternPartial, patternState: pattern.patternState, patternEngineName: pattern.engine.engineName, - extraOutput: extraOutput, + extraOutput: extraOutput }); //set the pattern-specific footer by compiling the general-footer with data, and then adding it to the meta footer @@ -145,16 +145,16 @@ module.exports = async function (pattern, patternlab) { { isPattern: pattern.isPattern, patternData: pattern.patternData, - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster } ); return Promise.all([ headPromise, patternPartialPromise, - footerPartialPromise, + footerPartialPromise ]) - .then((intermediateResults) => { + .then(intermediateResults => { // retrieve results of promises const headHTML = intermediateResults[0]; //headPromise pattern.patternPartialCode = intermediateResults[1]; //patternPartialPromise @@ -178,7 +178,7 @@ module.exports = async function (pattern, patternlab) { allFooterData.patternLabFoot = footerPartial; return render(patternlab.userFoot, allFooterData).then( - async (footerHTML) => { + async footerHTML => { /////////////// // WRITE FILES /////////////// @@ -212,7 +212,7 @@ module.exports = async function (pattern, patternlab) { } ); }) - .catch((reason) => { + .catch(reason => { console.log(reason); }); }) diff --git a/packages/core/src/lib/copier.js b/packages/core/src/lib/copier.js index ef7990ec5..0bb3e6efd 100644 --- a/packages/core/src/lib/copier.js +++ b/packages/core/src/lib/copier.js @@ -8,7 +8,7 @@ const watchAssets = require('./watchAssets'); const watchPatternLabFiles = require('./watchPatternLabFiles'); const copier = () => { - const transform_paths = (directories) => { + const transform_paths = directories => { //create array with all source keys minus our blacklist const dirs = {}; const blackList = [ @@ -18,7 +18,7 @@ const copier = () => { 'meta', 'annotations', 'patternlabFiles', - 'styleguide', + 'styleguide' ]; _.each(directories.source, (dir, key) => { if (blackList.includes(key)) { @@ -52,7 +52,7 @@ const copier = () => { const copyOptions = { overwrite: true, emitter: patternlab.events, - debug: patternlab.config.logLevel === 'debug', + debug: patternlab.config.logLevel === 'debug' }; //loop through each directory asset object (source / public pairing) @@ -66,7 +66,7 @@ const copier = () => { } else { //just copy copyPromises.push( - _.map(patternlab.uikits, (uikit) => { + _.map(patternlab.uikits, uikit => { copyFile( dir.source, path.join(basePath, uikit.outputDir, dir.public), @@ -79,7 +79,7 @@ const copier = () => { // copy the styleguide copyPromises.push( - _.map(patternlab.uikits, (uikit) => { + _.map(patternlab.uikits, uikit => { copyFile( path.join(uikit.modulePath, assetDirectories.source.styleguide), path.join(basePath, uikit.outputDir, assetDirectories.public.root), @@ -90,7 +90,7 @@ const copier = () => { // copy the favicon copyPromises.push( - _.map(patternlab.uikits, (uikit) => { + _.map(patternlab.uikits, uikit => { copyFile( `${assetDirectories.source.root}/favicon.ico`, path.join( @@ -116,9 +116,9 @@ const copier = () => { copyAndWatch: (assetDirectories, patternlab, options) => { return copyAndWatch(assetDirectories, patternlab, options); }, - transformConfigPaths: (paths) => { + transformConfigPaths: paths => { return transform_paths(paths); - }, + } }; }; diff --git a/packages/core/src/lib/copyFile.js b/packages/core/src/lib/copyFile.js index c8202afe1..c1fcc03fb 100644 --- a/packages/core/src/lib/copyFile.js +++ b/packages/core/src/lib/copyFile.js @@ -7,17 +7,17 @@ let copy = require('recursive-copy'); // eslint-disable-line prefer-const const copyFile = (p, dest, options) => { return copy(p, dest, options) - .on(copy.events.ERROR, function (error, copyOperation) { + .on(copy.events.ERROR, function(error, copyOperation) { logger.error('Unable to copy ' + copyOperation.dest); }) - .on(copy.events.COPY_FILE_ERROR, (error) => { + .on(copy.events.COPY_FILE_ERROR, error => { logger.error(error); }) .on(copy.events.COPY_FILE_COMPLETE, () => { logger.debug(`Moved ${p} to ${dest}`); options.emitter.emit(events.PATTERNLAB_PATTERN_ASSET_CHANGE, { file: p, - dest: dest, + dest: dest }); }); }; diff --git a/packages/core/src/lib/dataMerger.js b/packages/core/src/lib/dataMerger.js index 08544c320..5ebdd21bb 100644 --- a/packages/core/src/lib/dataMerger.js +++ b/packages/core/src/lib/dataMerger.js @@ -9,11 +9,7 @@ const _ = require('lodash'); * @param {*} dataToMergeWithObject the object that should be merged with the original data * @param {*} patternlabConfig the patternlab configuration object */ -module.exports = function ( - dataObject, - dataToMergeWithObject, - patternlabConfig -) { +module.exports = function(dataObject, dataToMergeWithObject, patternlabConfig) { return _.mergeWith( {}, dataObject, diff --git a/packages/core/src/lib/data_loader.js b/packages/core/src/lib/data_loader.js index 594f4b700..e52885155 100644 --- a/packages/core/src/lib/data_loader.js +++ b/packages/core/src/lib/data_loader.js @@ -53,7 +53,7 @@ function loadDataFromFolder(dataFilesPath, excludeFileNames, fsDep) { const dataFiles = glob.sync(dataFilesFullPath, globOptions); let mergeObject = {}; - dataFiles.forEach(function (filePath) { + dataFiles.forEach(function(filePath) { try { const jsonData = yaml.safeLoad( fsDep.readFileSync(path.resolve(filePath), 'utf8') @@ -70,6 +70,6 @@ function loadDataFromFolder(dataFilesPath, excludeFileNames, fsDep) { module.exports = function configFileLoader() { return { loadDataFromFile: loadFile, - loadDataFromFolder: loadDataFromFolder, + loadDataFromFolder: loadDataFromFolder }; }; diff --git a/packages/core/src/lib/decompose.js b/packages/core/src/lib/decompose.js index 4c35cd694..ff65a0bfc 100644 --- a/packages/core/src/lib/decompose.js +++ b/packages/core/src/lib/decompose.js @@ -16,7 +16,7 @@ const list_item_hunter = new lih(); * @param patternlab - global data store * @param ignoreLineage - whether or not to hunt for lineage for this pattern */ -module.exports = function (pattern, patternlab, ignoreLineage) { +module.exports = function(pattern, patternlab, ignoreLineage) { //set the extendedTemplate to operate on later if we find partials to replace if (!pattern.extendedTemplate) { pattern.extendedTemplate = pattern.template; @@ -50,8 +50,8 @@ module.exports = function (pattern, patternlab, ignoreLineage) { listItemPromise, expandPartialPromise, lineagePromise, - addPromise, - ]).catch((reason) => { + addPromise + ]).catch(reason => { logger.error(reason); }); }; diff --git a/packages/core/src/lib/expandPartials.js b/packages/core/src/lib/expandPartials.js index 908b6377a..01dfd10ec 100644 --- a/packages/core/src/lib/expandPartials.js +++ b/packages/core/src/lib/expandPartials.js @@ -9,7 +9,7 @@ const getPartial = require('./get'); const parameter_hunter = new ph(); const style_modifier_hunter = new smh(); -module.exports = function (currentPattern, patternlab) { +module.exports = function(currentPattern, patternlab) { const processRecursive = require('./processRecursive'); //find how many partials there may be for the given pattern @@ -31,7 +31,7 @@ module.exports = function (currentPattern, patternlab) { .find_parameters(currentPattern, patternlab) .then(() => { //do something with the regular old partials - foundPatternPartials.forEach((foundPartial) => { + foundPatternPartials.forEach(foundPartial => { const partial = currentPattern.findPartial(foundPartial); const partialPattern = getPartial(partial, patternlab); @@ -76,13 +76,13 @@ module.exports = function (currentPattern, patternlab) { return Promise.resolve(); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error(reason); }); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error(reason); }); diff --git a/packages/core/src/lib/exportData.js b/packages/core/src/lib/exportData.js index a229cc815..034f1f294 100644 --- a/packages/core/src/lib/exportData.js +++ b/packages/core/src/lib/exportData.js @@ -11,7 +11,7 @@ let fs = require('fs-extra'); //eslint-disable-line prefer-const * Write out our pattern information for use by the front end * @param patternlab - global data store */ -module.exports = function (patternlab, uikit) { +module.exports = function(patternlab, uikit) { const annotation_exporter = new ae(patternlab); const paths = patternlab.config.paths; diff --git a/packages/core/src/lib/findModules.js b/packages/core/src/lib/findModules.js index f54f80d4f..0d0ff0824 100644 --- a/packages/core/src/lib/findModules.js +++ b/packages/core/src/lib/findModules.js @@ -6,7 +6,7 @@ const isScopedPackage = require('./isScopedPackage'); let fs = require('fs-extra'); // eslint-disable-line -const isDir = (fPath) => { +const isDir = fPath => { const stats = fs.lstatSync(fPath); return stats.isDirectory() || stats.isSymbolicLink(); }; @@ -27,7 +27,7 @@ module.exports = (dir, filter) => { */ const dirList = fs .readdirSync(fPath) - .filter((p) => isDir(path.join(fPath, p))); + .filter(p => isDir(path.join(fPath, p))); /** * @name m @@ -35,10 +35,10 @@ module.exports = (dir, filter) => { * @type {Array} */ const m = foundModules.concat( - dirList.filter(filter).map((mod) => { + dirList.filter(filter).map(mod => { return { name: filter(mod), - modulePath: path.join(fPath, mod), + modulePath: path.join(fPath, mod) }; }) ); @@ -52,7 +52,7 @@ module.exports = (dir, filter) => { ...m, ...dirList .filter(isScopedPackage) // 2 - .map((scope) => findModules(path.join(fPath, scope), m)) // 3 + .map(scope => findModules(path.join(fPath, scope), m)) // 3 ); }; diff --git a/packages/core/src/lib/get.js b/packages/core/src/lib/get.js index 4852670eb..2feccc135 100644 --- a/packages/core/src/lib/get.js +++ b/packages/core/src/lib/get.js @@ -2,7 +2,7 @@ const logger = require('./log'); -module.exports = function (partialName, patternlab, reportWarning = true) { +module.exports = function(partialName, patternlab, reportWarning = true) { //look for exact partial matches for (let i = 0; i < patternlab.patterns.length; i++) { if (patternlab.patterns[i].patternPartial === partialName) { diff --git a/packages/core/src/lib/isScopedPackage.js b/packages/core/src/lib/isScopedPackage.js index 53b607ad7..cffd1d811 100644 --- a/packages/core/src/lib/isScopedPackage.js +++ b/packages/core/src/lib/isScopedPackage.js @@ -10,7 +10,7 @@ const scopeMatch = /^@(.*)$/; * @param {string} filePath - The pathname to check * @return {Boolean} - Returns a bool when found, false othersie */ -module.exports = (filePath) => { +module.exports = filePath => { const baseName = path.basename(filePath); return scopeMatch.test(baseName); }; diff --git a/packages/core/src/lib/lineage_hunter.js b/packages/core/src/lib/lineage_hunter.js index 3a90a0f65..08b320c12 100644 --- a/packages/core/src/lib/lineage_hunter.js +++ b/packages/core/src/lib/lineage_hunter.js @@ -2,7 +2,7 @@ const getPartial = require('./get'); const logger = require('./log'); -const lineage_hunter = function () { +const lineage_hunter = function() { function findlineage(pattern, patternlab) { // As we are adding edges from pattern to ancestor patterns, ensure it is known to the graph patternlab.graph.add(pattern); @@ -10,7 +10,7 @@ const lineage_hunter = function () { //find the {{> template-name }} within patterns const matches = pattern.findPartials(); if (matches !== null) { - matches.forEach(function (match) { + matches.forEach(function(match) { //get the ancestorPattern const ancestorPattern = getPartial( pattern.findPartial(match), @@ -27,7 +27,7 @@ const lineage_hunter = function () { //create the more complex patternLineage object too const l = { lineagePattern: ancestorPattern.patternPartial, - lineagePath: '../../patterns/' + ancestorPattern.patternLink, + lineagePath: '../../patterns/' + ancestorPattern.patternLink }; if (ancestorPattern.patternState) { l.lineageState = ancestorPattern.patternState; @@ -49,7 +49,7 @@ const lineage_hunter = function () { //create the more complex patternLineage object in reverse const lr = { lineagePattern: pattern.patternPartial, - lineagePath: '../../patterns/' + pattern.patternLink, + lineagePath: '../../patterns/' + pattern.patternLink }; if (pattern.patternState) { lr.lineageState = pattern.patternState; @@ -158,12 +158,12 @@ const lineage_hunter = function () { } return { - find_lineage: function (pattern, patternlab) { + find_lineage: function(pattern, patternlab) { findlineage(pattern, patternlab); }, - cascade_pattern_states: function (patternlab) { + cascade_pattern_states: function(patternlab) { cascadePatternStates(patternlab); - }, + } }; }; diff --git a/packages/core/src/lib/list_item_hunter.js b/packages/core/src/lib/list_item_hunter.js index 7d6346161..6bf4ca0f1 100644 --- a/packages/core/src/lib/list_item_hunter.js +++ b/packages/core/src/lib/list_item_hunter.js @@ -1,6 +1,6 @@ 'use strict'; -const list_item_hunter = function () { +const list_item_hunter = function() { const logger = require('./log'); function processListItemPartials(pattern) { @@ -39,9 +39,9 @@ const list_item_hunter = function () { } return { - process_list_item_partials: function (pattern) { + process_list_item_partials: function(pattern) { return processListItemPartials(pattern); - }, + } }; }; diff --git a/packages/core/src/lib/loadPattern.js b/packages/core/src/lib/loadPattern.js index 7753d5bd4..cbb3125b7 100644 --- a/packages/core/src/lib/loadPattern.js +++ b/packages/core/src/lib/loadPattern.js @@ -19,7 +19,7 @@ let fs = require('fs-extra'); //eslint-disable-line prefer-const // loads a pattern from disk, creates a Pattern object from it and // all its associated files, and records it in patternlab.patterns[] -module.exports = function (relPath, patternlab) { +module.exports = function(relPath, patternlab) { const fileObject = path.parse(relPath); //extract some information @@ -145,8 +145,8 @@ module.exports = function (relPath, patternlab) { `${jsonFilename}.yaml`, `${listJsonFileName}.json`, `${listJsonFileName}.yml`, - `${listJsonFileName}.yaml`, - ].forEach((file) => { + `${listJsonFileName}.yaml` + ].forEach(file => { changes_hunter.checkLastModified(currentPattern, file); }); diff --git a/packages/core/src/lib/loaduikits.js b/packages/core/src/lib/loaduikits.js index 79de4556f..2e1147ba9 100644 --- a/packages/core/src/lib/loaduikits.js +++ b/packages/core/src/lib/loaduikits.js @@ -24,11 +24,11 @@ const readModuleFile = (uikitLocation, subPath) => { * [4] Reads files from uikit that apply to every template * @param {object} patternlab */ -module.exports = (patternlab) => { +module.exports = patternlab => { const paths = patternlab.config.paths; const uikitConfigs = _.filter(patternlab.config.uikits, 'enabled'); // [1] - uikitConfigs.forEach((uikitConfig) => { + uikitConfigs.forEach(uikitConfig => { let uikitLocation = null; if ('package' in uikitConfig) { try { @@ -49,7 +49,7 @@ module.exports = (patternlab) => { uikitConfig.name, `uikit-${uikitConfig.name}`, `@pattern-lab/${uikitConfig.name}`, - `@pattern-lab/uikit-${uikitConfig.name}`, + `@pattern-lab/uikit-${uikitConfig.name}` ]) { try { uikitLocation = resolvePackageFolder(packageName); // [2] @@ -102,7 +102,7 @@ module.exports = (patternlab) => { viewAll: readModuleFile( uikitLocation, paths.source.patternlabFiles.viewall - ), + ) }; // [4] } catch (ex) { logger.error(ex); diff --git a/packages/core/src/lib/log.js b/packages/core/src/lib/log.js index f55ff4aa1..62a64c8d3 100644 --- a/packages/core/src/lib/log.js +++ b/packages/core/src/lib/log.js @@ -21,7 +21,7 @@ const log = Object.assign( }, error(msg) { this.emit('error', chalk.red(msg)); - }, + } }, EventEmitter.prototype ); @@ -63,8 +63,8 @@ const error = log.error.bind(log); * @param {string} - a message to report * @returns {function} - a callback to be passed to a Promise's .catch() */ -const reportError = function (message) { - return function (err) { +const reportError = function(message) { + return function(err) { console.log(message); console.log(err); }; @@ -76,5 +76,5 @@ module.exports = { warning, error, log, - reportError, + reportError }; diff --git a/packages/core/src/lib/markModifiedPatterns.js b/packages/core/src/lib/markModifiedPatterns.js index 6eede313e..aa80b25bb 100644 --- a/packages/core/src/lib/markModifiedPatterns.js +++ b/packages/core/src/lib/markModifiedPatterns.js @@ -17,7 +17,7 @@ let fs = require('fs-extra'); //eslint-disable-line prefer-const * @param lastModified * @param patternlab */ -module.exports = function (lastModified, patternlab) { +module.exports = function(lastModified, patternlab) { /** * If the given array exists, apply a function to each of its elements * @param {Array} array @@ -28,13 +28,13 @@ module.exports = function (lastModified, patternlab) { array.forEach(func); } }; - const modifiedOrNot = _.groupBy(patternlab.patterns, (p) => + const modifiedOrNot = _.groupBy(patternlab.patterns, p => changes_hunter.needsRebuild(lastModified, p) ? 'modified' : 'notModified' ); // For all unmodified patterns load their rendered template output - forEachExisting(modifiedOrNot.notModified, (cleanPattern) => { - _.each(patternlab.uikits, (uikit) => { + forEachExisting(modifiedOrNot.notModified, cleanPattern => { + _.each(patternlab.uikits, uikit => { const xp = path.join( process.cwd(), uikit.outputDir, @@ -50,7 +50,7 @@ module.exports = function (lastModified, patternlab) { // For all patterns that were modified, schedule them for rebuild forEachExisting( modifiedOrNot.modified, - (p) => (p.compileState = CompileState.NEEDS_REBUILD) + p => (p.compileState = CompileState.NEEDS_REBUILD) ); return modifiedOrNot; }; diff --git a/packages/core/src/lib/markdown_parser.js b/packages/core/src/lib/markdown_parser.js index ec962e89e..4eb359f36 100644 --- a/packages/core/src/lib/markdown_parser.js +++ b/packages/core/src/lib/markdown_parser.js @@ -3,7 +3,7 @@ const md = require('markdown-it')(); const yaml = require('js-yaml'); const logger = require('./log'); -const markdown_parser = function () { +const markdown_parser = function() { /** * Converts a markdown block with frontmatter (each is optional, technically) to a well-formed object. * @param block - the ".md" file, which can contain frontmatter or not, or only frontmatter. @@ -47,9 +47,9 @@ const markdown_parser = function () { } return { - parse: function (block) { + parse: function(block) { return parseMarkdownBlock(block); - }, + } }; }; diff --git a/packages/core/src/lib/object_factory.js b/packages/core/src/lib/object_factory.js index 0b0337dfc..7479e5c93 100644 --- a/packages/core/src/lib/object_factory.js +++ b/packages/core/src/lib/object_factory.js @@ -27,7 +27,7 @@ const prefixMatcherDeprecationCheckHidden = /^_.+/; * @param {Patternlab} patternlab The actual pattern lab instance * @param {boolean} isPromoteToFlatPatternRun specifies if the pattern needs to be removed from its deep nesting folder */ -const Pattern = function ( +const Pattern = function( relPath, jsonFileData, patternlab, @@ -201,7 +201,7 @@ const Pattern = function ( Pattern.prototype = { // render function - acts as a proxy for the PatternEngine's - render: function (data, partials) { + render: function(data, partials) { if (!this.extendedTemplate) { this.extendedTemplate = this.template; } @@ -213,17 +213,17 @@ Pattern.prototype = { partials ); return promise - .then((results) => { + .then(results => { return results; }) - .catch((reason) => { + .catch(reason => { return Promise.reject(reason); }); } return Promise.reject('where is the engine?'); }, - registerPartial: function () { + registerPartial: function() { if (this.engine && typeof this.engine.registerPartial === 'function') { this.engine.registerPartial(this); } @@ -239,7 +239,7 @@ Pattern.prototype = { * @param {string} suffixType File suffix * @param {string} customFileExtension Custom extension */ - getPatternLink: function (patternlab, suffixType, customFileExtension) { + getPatternLink: function(patternlab, suffixType, customFileExtension) { // if no suffixType is provided, we default to rendered const suffixConfig = patternlab.config.outputFileSuffixes; const suffix = suffixType @@ -261,23 +261,23 @@ Pattern.prototype = { * The finders all delegate to the PatternEngine, which also * encapsulates all appropriate regex's */ - findPartials: function () { + findPartials: function() { return this.engine.findPartials(this); }, - findPartialsWithStyleModifiers: function () { + findPartialsWithStyleModifiers: function() { return this.engine.findPartialsWithStyleModifiers(this); }, - findPartialsWithPatternParameters: function () { + findPartialsWithPatternParameters: function() { return this.engine.findPartialsWithPatternParameters(this); }, - findListItems: function () { + findListItems: function() { return this.engine.findListItems(this); }, - findPartial: function (partialString) { + findPartial: function(partialString) { return this.engine.findPartial(partialString); }, @@ -287,7 +287,7 @@ Pattern.prototype = { * @param {Number} level Level of folder to get * @param {Object} pInfo general information about the pattern */ - getDirLevel: function (level, pInfo) { + getDirLevel: function(level, pInfo) { const items = this.subdir.split(path.sep); pInfo && pInfo.patternHasOwnDir && items.pop(); @@ -309,7 +309,7 @@ Pattern.prototype = { * * @param {Patternlab} patternlab Current patternlab instance */ - promoteFromDirectoryToFlatPattern: function (patternlab) { + promoteFromDirectoryToFlatPattern: function(patternlab) { const p = new Pattern(this.relPath, this.jsonFileData, patternlab, true); // Only reset the specific fields, not everything Object.assign(this, { @@ -320,7 +320,7 @@ Pattern.prototype = { isFlatPattern: p.isFlatPattern, flatPatternPath: p.flatPatternPath, patternPartial: p.patternPartial, - verbosePartial: p.verbosePartial, + verbosePartial: p.verbosePartial }); }, @@ -330,7 +330,7 @@ Pattern.prototype = { * @param {*} pathStr the path that needs to be checked for number prefixes * @returns the order number or 0 when no prefix is available */ - setPatternOrderDataForInfo: (pathStr) => { + setPatternOrderDataForInfo: pathStr => { const match = pathStr.match(prefixMatcherDeprecationCheckOrder); return match && match.length >= 1 ? pathStr.match(prefixMatcherDeprecationCheckOrder)[1].replace('-', '') @@ -354,11 +354,11 @@ Pattern.prototype = { pathObj.name.replace(prefixMatcher, '') || path.basename(pathObj.dir).replace(prefixMatcher, '') === pathObj.name.split('~')[0].replace(prefixMatcher, '') - : false, + : false }; info.dir = info.patternHasOwnDir ? pathObj.dir.split(path.sep).pop() : ''; - info.dirLevel = pathObj.dir.split(path.sep).filter((s) => !!s).length; + info.dirLevel = pathObj.dir.split(path.sep).filter(s => !!s).length; // Only relevant for deprecation check and message if (path.parse(pathObj.dir).base === '_meta') { @@ -399,13 +399,13 @@ Pattern.prototype = { .replace(new RegExp(`-${info.dir}$`), ''); info.verbosePartial = pathObj.dir .split(/\/|\\/, 2) - .map((o) => o.replace(prefixMatcher, '')) + .map(o => o.replace(prefixMatcher, '')) .join('/') .replace(new RegExp(`-${info.dir}$`), ''); } return info; - }, + } }; // Pattern static methods @@ -417,7 +417,7 @@ Pattern.prototype = { * @param {Object} customProps Properties to apply to new pattern * @param {Patternlab} patternlab Current patternlab instance */ -Pattern.createEmpty = function (customProps, patternlab) { +Pattern.createEmpty = function(customProps, patternlab) { let relPath = ''; if (customProps) { if (customProps.relPath) { @@ -436,7 +436,7 @@ Pattern.createEmpty = function (customProps, patternlab) { * parameters that replace the positional parameters that the Pattern * constructor takes. */ -Pattern.create = function (relPath, data, customProps, patternlab) { +Pattern.create = function(relPath, data, customProps, patternlab) { const newPattern = new Pattern(relPath || '', data || null, patternlab); return Object.assign(newPattern, customProps); }; @@ -444,10 +444,10 @@ Pattern.create = function (relPath, data, customProps, patternlab) { const CompileState = { NEEDS_REBUILD: 'needs rebuild', BUILDING: 'building', - CLEAN: 'clean', + CLEAN: 'clean' }; module.exports = { Pattern: Pattern, - CompileState: CompileState, + CompileState: CompileState }; diff --git a/packages/core/src/lib/parameter_hunter.js b/packages/core/src/lib/parameter_hunter.js index 748c113d4..db72c1092 100644 --- a/packages/core/src/lib/parameter_hunter.js +++ b/packages/core/src/lib/parameter_hunter.js @@ -9,7 +9,7 @@ const parseLink = require('./parseLink'); const jsonCopy = require('./json_copy'); const replaceParameter = require('./replaceParameter'); -const parameter_hunter = function () { +const parameter_hunter = function() { /** * This function is really to accommodate the lax JSON-like syntax allowed by * Pattern Lab PHP for parameter submissions to partials. Unfortunately, no @@ -331,7 +331,7 @@ const parameter_hunter = function () { //todo: this no longer needs to be a promise return Promise.resolve(); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error(reason); }); @@ -342,9 +342,9 @@ const parameter_hunter = function () { } return { - find_parameters: function (pattern, patternlab) { + find_parameters: function(pattern, patternlab) { return findparameters(pattern, patternlab); - }, + } }; }; diff --git a/packages/core/src/lib/parseAllLinks.js b/packages/core/src/lib/parseAllLinks.js index e69383bd7..894ad6f83 100644 --- a/packages/core/src/lib/parseAllLinks.js +++ b/packages/core/src/lib/parseAllLinks.js @@ -4,7 +4,7 @@ const parseLink = require('./parseLink'); //look for pattern links included in data files. //these will be in the form of link.* WITHOUT {{}}, which would still be there from direct pattern inclusion -module.exports = function (patternlab) { +module.exports = function(patternlab) { //look for link.* such as link.pages-blog as a value patternlab.data = parseLink(patternlab, patternlab.data, 'data.json'); diff --git a/packages/core/src/lib/parseLink.js b/packages/core/src/lib/parseLink.js index 5b383b45e..0193144b3 100644 --- a/packages/core/src/lib/parseLink.js +++ b/packages/core/src/lib/parseLink.js @@ -5,7 +5,7 @@ const path = require('path'); const logger = require('./log'); const getPartial = require('./get'); -module.exports = function (patternlab, obj, key) { +module.exports = function(patternlab, obj, key) { //check for 'link.patternPartial' const linkRE = /(?:'|")(link\.[A-z0-9-_]+)(?:'|")/g; @@ -20,7 +20,7 @@ module.exports = function (patternlab, obj, key) { const linkMatches = dataObjAsString.match(linkRE); if (linkMatches) { - linkMatches.forEach((dataLink) => { + linkMatches.forEach(dataLink => { if (dataLink && dataLink.split('.').length >= 2) { //get the partial the link refers to const linkPatternPartial = dataLink.split('.')[1].replace(/'|"/g, ''); @@ -34,7 +34,7 @@ module.exports = function (patternlab, obj, key) { .replace('viewall-', '') .replace('-all', ''); const pattern = patternlab.patterns.find( - (p) => p.patternGroup === partial + p => p.patternGroup === partial ); if (pattern) { @@ -45,7 +45,7 @@ module.exports = function (patternlab, obj, key) { // group and subgroup there will be a view all page for that group) const partial = linkPatternPartial.replace('viewall-', ''); const pattern = patternlab.patterns.find( - (p) => `${p.patternGroup}-${p.patternSubgroup}` === partial + p => `${p.patternGroup}-${p.patternSubgroup}` === partial ); if (pattern) { diff --git a/packages/core/src/lib/pattern_engines.js b/packages/core/src/lib/pattern_engines.js index 9049cacbb..e437f4498 100644 --- a/packages/core/src/lib/pattern_engines.js +++ b/packages/core/src/lib/pattern_engines.js @@ -12,12 +12,12 @@ const logger = require('./log'); const enginesDirectories = [ { displayName: 'the core', - path: path.resolve(__dirname, '..', '..', 'node_modules'), + path: path.resolve(__dirname, '..', '..', 'node_modules') }, { displayName: 'the edition or test directory', - path: path.join(process.cwd(), 'node_modules'), - }, + path: path.join(process.cwd(), 'node_modules') + } ]; /** @@ -77,12 +77,12 @@ const PatternEngines = Object.create({ * @param patternLabConfig * @memberof PatternEngines */ - loadAllEngines: function (patternLabConfig) { + loadAllEngines: function(patternLabConfig) { const self = this; // Try to load engines! We scan for engines at each path specified above. This // function is kind of a big deal. - enginesDirectories.forEach(function (engineDirectory) { + enginesDirectories.forEach(function(engineDirectory) { const enginesInThisDir = findEngineModulesInDirectory( engineDirectory.path ); @@ -91,7 +91,7 @@ const PatternEngines = Object.create({ // find all engine-named things in this directory and try to load them, // unless it's already been loaded. - enginesInThisDir.forEach(function (engineDiscovery) { + enginesInThisDir.forEach(function(engineDiscovery) { let errorMessage; const successMessage = 'good to go'; @@ -138,7 +138,7 @@ const PatternEngines = Object.create({ * @param pattern * @returns engine name matching pattern */ - getEngineNameForPattern: function (pattern) { + getEngineNameForPattern: function(pattern) { // avoid circular dependency by putting this in here. TODO: is this slow? const of = require('./object_factory'); if ( @@ -175,7 +175,7 @@ const PatternEngines = Object.create({ * @param pattern * @returns name of engine for pattern */ - getEngineForPattern: function (pattern) { + getEngineForPattern: function(pattern) { if (pattern.isPseudoPattern) { return this.getEngineForPattern(pattern.basePattern); } else { @@ -189,9 +189,9 @@ const PatternEngines = Object.create({ * @memberof PatternEngines * @returns Array all supported file extensions */ - getSupportedFileExtensions: function () { + getSupportedFileExtensions: function() { const engineNames = Object.keys(PatternEngines); - const allEnginesExtensions = engineNames.map((engineName) => { + const allEnginesExtensions = engineNames.map(engineName => { return PatternEngines[engineName].engineFileExtension; }); return [].concat.apply([], allEnginesExtensions); @@ -203,7 +203,7 @@ const PatternEngines = Object.create({ * @param fileExtension * @returns Boolean */ - isFileExtensionSupported: function (fileExtension) { + isFileExtensionSupported: function(fileExtension) { const supportedExtensions = PatternEngines.getSupportedFileExtensions(); return supportedExtensions.lastIndexOf(fileExtension) !== -1; }, @@ -214,7 +214,7 @@ const PatternEngines = Object.create({ * @param filename * @return boolean */ - isPseudoPatternJSON: function (filename) { + isPseudoPatternJSON: function(filename) { const extension = path.extname(filename); return extension === '.json' && filename.indexOf('~') > -1; }, @@ -229,7 +229,7 @@ const PatternEngines = Object.create({ * @param filename * @returns boolean */ - isPatternFile: function (filename) { + isPatternFile: function(filename) { // skip hidden patterns/files without a second thought const extension = path.extname(filename); if ( @@ -245,7 +245,7 @@ const PatternEngines = Object.create({ supportedPatternFileExtensions.lastIndexOf(extension) !== -1 || PatternEngines.isPseudoPatternJSON(filename) ); - }, + } }); module.exports = PatternEngines; diff --git a/packages/core/src/lib/pattern_exporter.js b/packages/core/src/lib/pattern_exporter.js index 221415bf8..12b556076 100644 --- a/packages/core/src/lib/pattern_exporter.js +++ b/packages/core/src/lib/pattern_exporter.js @@ -14,7 +14,10 @@ function exportSinglePattern(patternlab, pattern) { // Extract the first part of the pattern partial as the directory in which // it should go. patternDir = path.join(patternDir, pattern.patternPartial.split('-')[0]); - patternName = pattern.patternPartial.split('-').slice(1).join('-'); + patternName = pattern.patternPartial + .split('-') + .slice(1) + .join('-'); } if (patternlab.config.patternExportRaw) { @@ -28,7 +31,7 @@ function exportSinglePattern(patternlab, pattern) { ); } -const pattern_exporter = function () { +const pattern_exporter = function() { /** * Exports all pattern's final HTML as defined in patternlab-config.json to desired location. * Originally created to help facilitate easier consumption by jekyll. @@ -63,9 +66,9 @@ const pattern_exporter = function () { } return { - export_patterns: function (patternlab) { + export_patterns: function(patternlab) { exportPatterns(patternlab); - }, + } }; }; diff --git a/packages/core/src/lib/pattern_graph.js b/packages/core/src/lib/pattern_graph.js index a5320292d..848f6f8c4 100644 --- a/packages/core/src/lib/pattern_graph.js +++ b/packages/core/src/lib/pattern_graph.js @@ -35,11 +35,11 @@ const PATTERN_GRAPH_VERSION = 1; * @see PatternGraph#fromJson * @see #540 */ -const PatternGraph = function (graph, timestamp, version) { +const PatternGraph = function(graph, timestamp, version) { this.graph = graph || new Graph({ - directed: true, + directed: true }); this.graph.setDefaultEdgeLabel({}); @@ -51,7 +51,7 @@ const PatternGraph = function (graph, timestamp, version) { }; // shorthand. Use relPath as it is always unique, even with subPatternGroup -const nodeName = (p) => (p instanceof Pattern ? p.relPath : p); +const nodeName = p => (p instanceof Pattern ? p.relPath : p); PatternGraph.prototype = { /** @@ -61,11 +61,11 @@ PatternGraph.prototype = { * * @see {@link https://github.com/pattern-lab/patternlab-node/issues/580|Issue #580} */ - sync: function () { + sync: function() { // Remove any patterns that are in the graph data, but that haven't been discovered when // walking all patterns iteratively - const nodesToRemove = this.nodes().filter((n) => !this.patterns.has(n)); - nodesToRemove.forEach((n) => this.remove(n)); + const nodesToRemove = this.nodes().filter(n => !this.patterns.has(n)); + nodesToRemove.forEach(n => this.remove(n)); return nodesToRemove; }, @@ -73,7 +73,7 @@ PatternGraph.prototype = { * Creates an independent copy of the graph where nodes and edges can be modified without * affecting the source. */ - clone: function () { + clone: function() { const json = graphlib.json.write(this.graph); const graph = graphlib.json.read(json); return new PatternGraph(graph, this.timestamp, this.version); @@ -85,18 +85,18 @@ PatternGraph.prototype = { * * @param {Pattern} pattern */ - add: function (pattern) { + add: function(pattern) { const n = nodeName(pattern); if (!this.patterns.has(n)) { this.graph.setNode(n, { - compileState: pattern.compileState, + compileState: pattern.compileState }); this.patterns.put(pattern); } }, - remove: function (pattern) { + remove: function(pattern) { const n = nodeName(pattern); this.graph.removeNode(n); this.patterns.remove(n); @@ -106,8 +106,8 @@ PatternGraph.prototype = { * Removes nodes from this graph for which the given predicate function returns false. * @param {function} fn which takes a node name as argument */ - filter: function (fn) { - this.graph.nodes().forEach((n) => { + filter: function(fn) { + this.graph.nodes().forEach(n => { if (!fn(n)) { this.remove(n); } @@ -123,7 +123,7 @@ PatternGraph.prototype = { * * @throws {Error} If the pattern is unknown */ - link: function (patternFrom, patternTo) { + link: function(patternFrom, patternTo) { const nameFrom = nodeName(patternFrom); const nameTo = nodeName(patternTo); for (const name of [nameFrom, nameTo]) { @@ -141,7 +141,7 @@ PatternGraph.prototype = { * * @return {boolean} */ - hasLink: function (patternFrom, patternTo) { + hasLink: function(patternFrom, patternTo) { const nameFrom = nodeName(patternFrom); const nameTo = nodeName(patternTo); return this.graph.hasEdge(nameFrom, nameTo); @@ -157,8 +157,8 @@ PatternGraph.prototype = { * @return {Array} An Array of {@link Pattern}s in the order by which the changed patters must be * compiled. */ - compileOrder: function () { - const compileStateFilter = function (patterns, n) { + compileOrder: function() { + const compileStateFilter = function(patterns, n) { const node = patterns.get(n); return node.compileState !== CompileState.CLEAN; }; @@ -169,14 +169,14 @@ PatternGraph.prototype = { * where "->" means "included by"). */ const compileGraph = new Graph({ - directed: true, + directed: true }); const nodes = this.graph.nodes(); - const changedNodes = nodes.filter((n) => + const changedNodes = nodes.filter(n => compileStateFilter(this.patterns, n) ); - this.nodes2patterns(changedNodes).forEach((pattern) => { + this.nodes2patterns(changedNodes).forEach(pattern => { const patternNode = nodeName(pattern); if (!compileGraph.hasNode(patternNode)) { compileGraph.setNode(patternNode); @@ -211,7 +211,7 @@ PatternGraph.prototype = { * @param fn A function that takes the currently viewed pattern and node data. Allows synching data * between patterns and node metadata. */ - applyReverse: function (pattern, fn) { + applyReverse: function(pattern, fn) { for (const p of this.lineageR(pattern)) { fn(p, pattern); this.applyReverse(p, fn); @@ -225,7 +225,7 @@ PatternGraph.prototype = { * * @return [null|Pattern] */ - node: function (pattern) { + node: function(pattern) { return this.graph.node(nodeName(pattern)); }, @@ -234,8 +234,8 @@ PatternGraph.prototype = { * @param nodes {Array} * @return {Array} An Array of Patterns */ - nodes2patterns: function (nodes) { - return nodes.map((n) => this.patterns.get(n)); + nodes2patterns: function(nodes) { + return nodes.map(n => this.patterns.get(n)); }, // TODO cache result in a Map[String, Array]? @@ -246,7 +246,7 @@ PatternGraph.prototype = { * @param pattern * @return {*|Array} */ - lineage: function (pattern) { + lineage: function(pattern) { const nodes = this.graph.successors(nodeName(pattern)); return this.nodes2patterns(nodes); }, @@ -256,7 +256,7 @@ PatternGraph.prototype = { * @param {Pattern} pattern * @return {*|Array} */ - lineageR: function (pattern) { + lineageR: function(pattern) { const nodes = this.graph.predecessors(nodeName(pattern)); return this.nodes2patterns(nodes); }, @@ -267,9 +267,9 @@ PatternGraph.prototype = { * * @see {@link PatternGraph.lineage(pattern)} */ - lineageIndex: function (pattern) { + lineageIndex: function(pattern) { const lineage = this.lineage(pattern); - return lineage.map((p) => p.patternPartial); + return lineage.map(p => p.patternPartial); }, /** @@ -280,36 +280,36 @@ PatternGraph.prototype = { * * @see {@link PatternGraph.lineageRIndex(pattern)} */ - lineageRIndex: function (pattern) { + lineageRIndex: function(pattern) { const lineageR = this.lineageR(pattern); - return lineageR.map((p) => p.patternPartial); + return lineageR.map(p => p.patternPartial); }, /** * Creates an object representing the graph and meta data. * @returns {{timestamp: number, graph}} */ - toJson: function () { + toJson: function() { return { version: this.version, timestamp: this.timestamp, - graph: graphlib.json.write(this.graph), + graph: graphlib.json.write(this.graph) }; }, /** * @return {Array} An array of all node names. */ - nodes: function () { + nodes: function() { return this.graph.nodes(); }, /** * Updates the version to the most recent one */ - upgradeVersion: function () { + upgradeVersion: function() { this.version = PATTERN_GRAPH_VERSION; - }, + } }; /** @@ -317,7 +317,7 @@ PatternGraph.prototype = { * @param {int} [version=PATTERN_GRAPH_VERSION] * @return {PatternGraph} */ -PatternGraph.empty = function (version) { +PatternGraph.empty = function(version) { return new PatternGraph(null, 0, version || PATTERN_GRAPH_VERSION); }; @@ -326,7 +326,7 @@ PatternGraph.empty = function (version) { * @param {PatternGraph|Object} graphOrJson * @return {boolean} */ -PatternGraph.checkVersion = function (graphOrJson) { +PatternGraph.checkVersion = function(graphOrJson) { return graphOrJson.version === PATTERN_GRAPH_VERSION; }; @@ -346,7 +346,7 @@ function VersionMismatch(oldVersion) { * @param {object} o The JSON object to read from * @return {PatternGraph} */ -PatternGraph.fromJson = function (o) { +PatternGraph.fromJson = function(o) { if (!PatternGraph.checkVersion(o)) { throw new VersionMismatch(o.version); } @@ -360,7 +360,7 @@ PatternGraph.fromJson = function (o) { * @param {string} [fileName='dependencyGraph.json'] Name of the graph file * @return {string} */ -PatternGraph.resolveJsonGraphFile = function ( +PatternGraph.resolveJsonGraphFile = function( filePath = process.cwd(), fileName = 'dependencyGraph.json' ) { @@ -377,7 +377,7 @@ PatternGraph.resolveJsonGraphFile = function ( * @see {@link PatternGraph.fromJson} * @see {@link PatternGraph.resolveJsonGraphFile} */ -PatternGraph.loadFromFile = function (filePath, fileName) { +PatternGraph.loadFromFile = function(filePath, fileName) { const jsonGraphFile = this.resolveJsonGraphFile(filePath, fileName); // File is fresh, so simply construct an empty graph in memory @@ -399,7 +399,7 @@ PatternGraph.loadFromFile = function (filePath, fileName) { * * @see {@link PatternGraph.resolveJsonGraphFile} */ -PatternGraph.storeToFile = function (patternlab) { +PatternGraph.storeToFile = function(patternlab) { if (process.env.PATTERNLAB_ENV === 'CI') { return; } @@ -413,7 +413,7 @@ PatternGraph.storeToFile = function (patternlab) { * @param patternlab @ @param {string} fileName Output filename */ -PatternGraph.exportToDot = function (patternlab, fileName) { +PatternGraph.exportToDot = function(patternlab, fileName) { const dotFile = this.resolveJsonGraphFile(undefined, fileName); const g = PatternGraphDot.generate(patternlab.graph); fs.outputFileSync(dotFile, g); @@ -421,5 +421,5 @@ PatternGraph.exportToDot = function (patternlab, fileName) { module.exports = { PatternGraph: PatternGraph, - PATTERN_GRAPH_VERSION: PATTERN_GRAPH_VERSION, + PATTERN_GRAPH_VERSION: PATTERN_GRAPH_VERSION }; diff --git a/packages/core/src/lib/pattern_graph_dot.js b/packages/core/src/lib/pattern_graph_dot.js index f4da40e18..33c11fe7d 100644 --- a/packages/core/src/lib/pattern_graph_dot.js +++ b/packages/core/src/lib/pattern_graph_dot.js @@ -14,7 +14,7 @@ function header() { 'rankdir=LR;', 'ranksep="4 equally·";', 'node [style=filled,color=white];', - 'edge [style=dotted constraint=false]', + 'edge [style=dotted constraint=false]' ]; } @@ -23,7 +23,7 @@ function header() { * @param name * @return {string} */ -const niceKey = function (name) { +const niceKey = function(name) { return 'O' + name.replace('-', ''); }; @@ -69,7 +69,7 @@ function subGraph(group, patterns) { patterns.map(addNode).join(''), //patterns.map(p => "\"" + p.name + "\"").join(" -> ") + "[style=invis]", - '}', + '}' ]; } @@ -84,7 +84,7 @@ const PatternGraphDot = {}; * @param patternGraph * @return {string} */ -PatternGraphDot.generate = function (patternGraph) { +PatternGraphDot.generate = function(patternGraph) { const g = patternGraph.graph; const patterns = patternGraph.patterns; const buckets = new Map(); @@ -93,7 +93,7 @@ PatternGraphDot.generate = function (patternGraph) { 'firebrick', 'slateblue', 'darkgoldenrod', - 'black', + 'black' ]; const colorMap = new Map(); let colIdx = 0; diff --git a/packages/core/src/lib/pattern_registry.js b/packages/core/src/lib/pattern_registry.js index 041cb109e..047551af1 100644 --- a/packages/core/src/lib/pattern_registry.js +++ b/packages/core/src/lib/pattern_registry.js @@ -4,7 +4,7 @@ * Allows lookups for patterns via a central registry. * @constructor */ -const PatternRegistry = function () { +const PatternRegistry = function() { this.key2pattern = new Map(); /** For lookups by {@link Pattern#partialKey} */ @@ -12,15 +12,15 @@ const PatternRegistry = function () { }; PatternRegistry.prototype = { - allPatterns: function () { + allPatterns: function() { return Array.from(this.key2pattern.values()); }, - has: function (name) { + has: function(name) { return this.key2pattern.has(name); }, - get: function (name) { + get: function(name) { return this.key2pattern.get(name); }, @@ -28,18 +28,18 @@ PatternRegistry.prototype = { * Adds the given pattern to the registry. If a pattern with the same key exists, it is replaced. * @param pattern {Pattern|*} */ - put: function (pattern) { + put: function(pattern) { const name = PatternRegistry.partialName(pattern); this.partials.set(name, pattern); const key = PatternRegistry.patternKey(pattern); this.key2pattern.set(key, pattern); }, - remove: function (name) { + remove: function(name) { this.key2pattern.delete(name); }, - getPartial: function (partialName) { + getPartial: function(partialName) { /* Code in here has been moved from getPartial() to prepare for some refactoring. There are a few advantages to this method: @@ -80,10 +80,10 @@ PatternRegistry.prototype = { } } return undefined; - }, + } }; -PatternRegistry.patternKey = function (pattern) { +PatternRegistry.patternKey = function(pattern) { return pattern.relPath; }; @@ -93,7 +93,7 @@ PatternRegistry.patternKey = function (pattern) { * @param pattern {Pattern} * @return {string} */ -PatternRegistry.partialName = function (pattern) { +PatternRegistry.partialName = function(pattern) { return pattern.patternPartial; }; diff --git a/packages/core/src/lib/patternlab.js b/packages/core/src/lib/patternlab.js index 405da4fc9..15c9f3cf5 100644 --- a/packages/core/src/lib/patternlab.js +++ b/packages/core/src/lib/patternlab.js @@ -89,7 +89,7 @@ module.exports = class PatternLab { const outputFileSuffixes = { rendered: '.rendered', rawTemplate: '', - markupOnly: '.markup-only', + markupOnly: '.markup-only' }; if (!patternlab.config.outputFileSuffixes) { @@ -215,10 +215,10 @@ module.exports = class PatternLab { } writePatternFiles(headHTML, pattern, footerHTML, outputBasePath) { - const nullFormatter = (str) => str; - const defaultFormatter = (codeString) => + const nullFormatter = str => str; + const defaultFormatter = codeString => cleanHtml(codeString, { indent_size: 2 }); - const makePath = (type) => + const makePath = type => path.join( this.config.paths.public.patterns, pattern.getPatternLink(this, type) @@ -231,34 +231,34 @@ module.exports = class PatternLab { ? { rendered: eng.renderedCodeFormatter || defaultFormatter, rawTemplate: eng.rawTemplateCodeFormatter || defaultFormatter, - markupOnly: eng.markupOnlyCodeFormatter || defaultFormatter, + markupOnly: eng.markupOnlyCodeFormatter || defaultFormatter } : { rendered: nullFormatter, rawTemplate: nullFormatter, - markupOnly: nullFormatter, + markupOnly: nullFormatter }; //prepare the path and contents of each output file const outputFiles = [ { path: makePath('rendered'), - content: formatters.rendered(patternPage, pattern), + content: formatters.rendered(patternPage, pattern) }, { path: makePath('rawTemplate'), - content: formatters.rawTemplate(pattern.template, pattern), + content: formatters.rawTemplate(pattern.template, pattern) }, { path: makePath('markupOnly'), - content: formatters.markupOnly(pattern.patternPartialCode, pattern), - }, + content: formatters.markupOnly(pattern.patternPartialCode, pattern) + } ].concat( eng.addOutputFiles ? eng.addOutputFiles(this.config.paths, this) : [] ); //write the compiled template to the public patterns directory - outputFiles.forEach((outFile) => + outputFiles.forEach(outFile => fs.outputFileSync( path.join(process.cwd(), outputBasePath, outFile.path), outFile.content @@ -274,22 +274,22 @@ module.exports = class PatternLab { */ registerLogger(logLevel) { if (logLevel === undefined) { - logger.log.on('info', (msg) => console.info(msg)); - logger.log.on('warning', (msg) => console.info(msg)); - logger.log.on('error', (msg) => console.info(msg)); + logger.log.on('info', msg => console.info(msg)); + logger.log.on('warning', msg => console.info(msg)); + logger.log.on('error', msg => console.info(msg)); } else { if (logLevel === 'quiet') { return; } switch (logLevel) { case 'debug': - logger.log.on('debug', (msg) => console.info(msg)); + logger.log.on('debug', msg => console.info(msg)); case 'info': - logger.log.on('info', (msg) => console.info(msg)); + logger.log.on('info', msg => console.info(msg)); case 'warning': - logger.log.on('warning', (msg) => console.info(msg)); + logger.log.on('warning', msg => console.info(msg)); case 'error': - logger.log.on('error', (msg) => console.info(msg)); + logger.log.on('error', msg => console.info(msg)); } } } @@ -312,7 +312,7 @@ module.exports = class PatternLab { // deleted pattern would still be present in the patterns array this.patterns = []; - const promiseAllPatternFiles = new Promise(function (resolve) { + const promiseAllPatternFiles = new Promise(function(resolve) { dive( patterns_dir, (err, file) => { @@ -338,7 +338,7 @@ module.exports = class PatternLab { }); return promiseAllPatternFiles.then(() => { return Promise.all( - this.patterns.map((pattern) => { + this.patterns.map(pattern => { return processIterative(pattern, self); }) ).then(() => { @@ -353,7 +353,7 @@ module.exports = class PatternLab { processAllPatternsRecursive(patterns_dir) { const self = this; - const promiseAllPatternFiles = new Promise(function (resolve) { + const promiseAllPatternFiles = new Promise(function(resolve) { dive( patterns_dir, (err, file) => { diff --git a/packages/core/src/lib/plugin_manager.js b/packages/core/src/lib/plugin_manager.js index f79307beb..adb802953 100644 --- a/packages/core/src/lib/plugin_manager.js +++ b/packages/core/src/lib/plugin_manager.js @@ -1,6 +1,6 @@ 'use strict'; -const plugin_manager = function () { +const plugin_manager = function() { const logger = require('./log'); /** @@ -9,7 +9,7 @@ const plugin_manager = function () { */ function initializePlugins(patternlab) { const foundPlugins = Object.keys(patternlab.config.plugins || {}); - foundPlugins.forEach((plugin) => { + foundPlugins.forEach(plugin => { logger.info(`Found plugin: ${plugin}`); logger.info(`Attempting to load and initialize plugin.`); const pluginModule = require(plugin); @@ -19,8 +19,8 @@ const plugin_manager = function () { async function raiseEvent(patternlab, eventName, args) { patternlab.events.emit(eventName, args); - await (async function () { - const hookHandlers = (patternlab.hooks[eventName] || []).map((h) => + await (async function() { + const hookHandlers = (patternlab.hooks[eventName] || []).map(h => h(args) ); @@ -29,12 +29,12 @@ const plugin_manager = function () { } return { - intialize_plugins: (patternlab) => { + intialize_plugins: patternlab => { initializePlugins(patternlab); }, raiseEvent: async (patternlab, eventName, ...args) => { await raiseEvent(patternlab, eventName, args); - }, + } }; }; diff --git a/packages/core/src/lib/processIterative.js b/packages/core/src/lib/processIterative.js index e2433b1c8..1c65c85ca 100644 --- a/packages/core/src/lib/processIterative.js +++ b/packages/core/src/lib/processIterative.js @@ -5,7 +5,7 @@ const pph = require('./pseudopattern_hunter'); // This is now solely for analysis; loading of the pattern file is // above, in loadPatternIterative() -module.exports = function (pattern, patternlab) { +module.exports = function(pattern, patternlab) { //look for a pseudo pattern by checking if there is a file //containing same name, with ~ in it, ending in .json return pph diff --git a/packages/core/src/lib/processMetaPattern.js b/packages/core/src/lib/processMetaPattern.js index dea8fbe70..f793a103a 100644 --- a/packages/core/src/lib/processMetaPattern.js +++ b/packages/core/src/lib/processMetaPattern.js @@ -9,7 +9,7 @@ const logger = require('./log'); //this may be mocked in unit tests, so let it be overridden let fs = require('fs-extra'); // eslint-disable-line -module.exports = function (fileName, metaType, patternlab) { +module.exports = function(fileName, metaType, patternlab) { const metaPath = path.resolve(patternlab.config.paths.source.meta, fileName); const metaPattern = new Pattern(metaPath, null, patternlab); metaPattern.template = fs.readFileSync(metaPath, 'utf8'); @@ -19,7 +19,7 @@ module.exports = function (fileName, metaType, patternlab) { .then(() => { patternlab[metaType] = metaPattern; }) - .catch((reason) => { + .catch(reason => { logger.warning( `Could not find the user-editable template ${fileName}, currently configured to be at ${patternlab.config.paths.source.meta}. Your configured path may be incorrect (check paths.source.meta in your config file), the file may have been deleted, or it may have been left in the wrong place during a migration or update.` ); diff --git a/packages/core/src/lib/processRecursive.js b/packages/core/src/lib/processRecursive.js index 3c541c85c..97c4ac560 100644 --- a/packages/core/src/lib/processRecursive.js +++ b/packages/core/src/lib/processRecursive.js @@ -4,7 +4,7 @@ const logger = require('./log'); const decompose = require('./decompose'); const getPartial = require('./get'); -module.exports = function (file, patternlab) { +module.exports = function(file, patternlab) { //find current pattern in patternlab object using file as a partial const currentPattern = getPartial(file, patternlab, false); @@ -19,7 +19,7 @@ module.exports = function (file, patternlab) { } //call our helper method to actually unravel the pattern with any partials - return decompose(currentPattern, patternlab).catch((reason) => { + return decompose(currentPattern, patternlab).catch(reason => { console.log(reason); logger.error(reason); }); diff --git a/packages/core/src/lib/pseudopattern_hunter.js b/packages/core/src/lib/pseudopattern_hunter.js index 1f3a9f530..a56dfc910 100644 --- a/packages/core/src/lib/pseudopattern_hunter.js +++ b/packages/core/src/lib/pseudopattern_hunter.js @@ -15,9 +15,9 @@ const changes_hunter = new ch(); const yaml = require('js-yaml'); const dataMerger = require('./dataMerger'); -const pseudopattern_hunter = function () {}; +const pseudopattern_hunter = function() {}; -pseudopattern_hunter.prototype.find_pseudopatterns = function ( +pseudopattern_hunter.prototype.find_pseudopatterns = function( currentPattern, patternlab ) { @@ -33,7 +33,7 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function ( const pseudoPatterns = glob.sync(needle, { cwd: paths.source.patterns, debug: false, - nodir: true, + nodir: true }); if (pseudoPatterns.length > 0) { @@ -70,7 +70,10 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function ( const variantName = pseudoPatterns[i] .substring(pseudoPatterns[i].indexOf('~') + 1) .split('.')[0]; - const variantExtension = pseudoPatterns[i].split('.').slice(-1).pop(); + const variantExtension = pseudoPatterns[i] + .split('.') + .slice(-1) + .pop(); const variantFilePath = path.join( currentPattern.subdir, currentPattern.fileName + '~' + variantName + '.' + variantExtension @@ -94,7 +97,7 @@ pseudopattern_hunter.prototype.find_pseudopatterns = function ( lastModified: Math.max(currentPattern.lastModified, lm.mtime), // use the same template engine as the non-variant - engine: currentPattern.engine, + engine: currentPattern.engine }, patternlab ); diff --git a/packages/core/src/lib/readDocumentation.js b/packages/core/src/lib/readDocumentation.js index efb6f6cd9..d17364d61 100644 --- a/packages/core/src/lib/readDocumentation.js +++ b/packages/core/src/lib/readDocumentation.js @@ -14,7 +14,7 @@ const markdown_parser = new mp(); const FILE_EXTENSION = '.md'; const GROUP_DOC_PREFIX = '_'; -module.exports = function (pattern, patternlab, isVariant) { +module.exports = function(pattern, patternlab, isVariant) { try { const markdownFileName = path.resolve( patternlab.config.paths.source.patterns, diff --git a/packages/core/src/lib/render.js b/packages/core/src/lib/render.js index b73d5369f..3ba1f2589 100644 --- a/packages/core/src/lib/render.js +++ b/packages/core/src/lib/render.js @@ -2,7 +2,7 @@ const logger = require('./log'); -module.exports = function (pattern, data, partials) { +module.exports = function(pattern, data, partials) { logger.debug( `render: ${ pattern.patternPartial !== '-.' diff --git a/packages/core/src/lib/replaceParameter.js b/packages/core/src/lib/replaceParameter.js index b045b58b2..7b0cd6734 100644 --- a/packages/core/src/lib/replaceParameter.js +++ b/packages/core/src/lib/replaceParameter.js @@ -2,7 +2,7 @@ const logger = require('./log'); -module.exports = function (template, prop, data) { +module.exports = function(template, prop, data) { let t = template; const valueRE = new RegExp(`{{{?\\s*[${prop}]+\\s*}?}}`); diff --git a/packages/core/src/lib/resolver.js b/packages/core/src/lib/resolver.js index d70961413..994e5cbf3 100644 --- a/packages/core/src/lib/resolver.js +++ b/packages/core/src/lib/resolver.js @@ -23,7 +23,7 @@ const resolvePackageLocations = () => { const resolveFileInPackage = (packageName, ...pathElements) => { if (process.env.projectDir) { return require.resolve(path.join(packageName, ...pathElements), { - paths: resolvePackageLocations(), + paths: resolvePackageLocations() }); } else { return require.resolve(path.join(packageName, ...pathElements)); @@ -34,7 +34,7 @@ const resolveFileInPackage = (packageName, ...pathElements) => { * @func resolvePackageFolder * Resolves the location of a package on disc */ -const resolvePackageFolder = (packageName) => { +const resolvePackageFolder = packageName => { return path.dirname(resolveFileInPackage(packageName, 'package.json')); }; @@ -49,5 +49,5 @@ const resolveDirInPackage = (packageName, ...pathElements) => { module.exports = { resolveFileInPackage, resolveDirInPackage, - resolvePackageFolder, + resolvePackageFolder }; diff --git a/packages/core/src/lib/server.js b/packages/core/src/lib/server.js index 3f71e1bba..5cf6916e8 100644 --- a/packages/core/src/lib/server.js +++ b/packages/core/src/lib/server.js @@ -6,7 +6,7 @@ const liveServer = require('@pattern-lab/live-server'); const events = require('./events'); const logger = require('./log'); -const server = (patternlab) => { +const server = patternlab => { const _module = { serve: () => { let serverReady = false; @@ -17,10 +17,10 @@ const server = (patternlab) => { file: 'index.html', logLevel: 0, // errors only wait: 1000, - port: 3000, + port: 3000 }; - const servers = Object.keys(patternlab.uikits).map((kit) => { + const servers = Object.keys(patternlab.uikits).map(kit => { const uikit = patternlab.uikits[kit]; defaults.root = path.resolve( path.join( @@ -36,30 +36,6 @@ const server = (patternlab) => { patternlab.config.paths.public.root ) ); - defaults.assets = [ - path.resolve( - path.join( - process.cwd(), - patternlab.config.paths.source.js, - '**', - '*.js' // prevent preprocessors like typescript from reloading - ) - ), - path.resolve( - path.join(process.cwd(), patternlab.config.paths.source.images) - ), - path.resolve( - path.join(process.cwd(), patternlab.config.paths.source.fonts) - ), - path.resolve( - path.join( - process.cwd(), - patternlab.config.paths.source.css, - '**', - '*.css' // prevent preprocessors from reloading - ) - ), - ]; // allow for overrides should they exist inside patternlab-config.json const liveServerConfig = Object.assign( @@ -74,7 +50,7 @@ const server = (patternlab) => { if (serverReady) { _module.reload({ file: '', - action: 'reload', + action: 'reload' }); } }); @@ -104,10 +80,10 @@ const server = (patternlab) => { return Promise.all(servers); }, - reload: (data) => { + reload: data => { const _data = data || { file: '', - action: '', + action: '' }; return new Promise((resolve, reject) => { let action; @@ -130,9 +106,9 @@ const server = (patternlab) => { refreshCSS: () => { return _module.reload({ file: '', - action: 'refresh', + action: 'refresh' }); - }, + } }; return _module; }; diff --git a/packages/core/src/lib/starterkit_manager.js b/packages/core/src/lib/starterkit_manager.js index 737aadd9a..d5d6bb8ad 100644 --- a/packages/core/src/lib/starterkit_manager.js +++ b/packages/core/src/lib/starterkit_manager.js @@ -1,6 +1,6 @@ 'use strict'; -const starterkit_manager = function (config) { +const starterkit_manager = function(config) { const path = require('path'); const fetch = require('node-fetch'); const fs = require('fs-extra'); @@ -74,11 +74,11 @@ const starterkit_manager = function (config) { { method: 'GET', headers: { - Accept: 'application/json', - }, + Accept: 'application/json' + } } ) - .then(function (res) { + .then(function(res) { const contentType = res.headers.get('content-type'); if (contentType && contentType.indexOf('application/json') === -1) { throw new TypeError( @@ -87,15 +87,15 @@ const starterkit_manager = function (config) { } return res.json(); }) - .then(function (json) { + .then(function(json) { if (!json.items || !Array.isArray(json.items)) { return false; } - return json.items.map(function (repo) { + return json.items.map(function(repo) { return { name: repo.name, url: repo.html_url }; }); }) - .catch(function (err) { + .catch(function(err) { logger.error(err); return false; }); @@ -111,31 +111,29 @@ const starterkit_manager = function (config) { //TODO review for deletion or convert callers to use findModules() function detectStarterKits() { const node_modules_path = path.join(process.cwd(), 'node_modules'); - const npm_modules = fs - .readdirSync(node_modules_path) - .filter(function (dir) { - const module_path = path.join(process.cwd(), 'node_modules', dir); - return ( - fs.statSync(module_path).isDirectory() && - dir.indexOf('starterkit-') === 0 - ); - }); + const npm_modules = fs.readdirSync(node_modules_path).filter(function(dir) { + const module_path = path.join(process.cwd(), 'node_modules', dir); + return ( + fs.statSync(module_path).isDirectory() && + dir.indexOf('starterkit-') === 0 + ); + }); return npm_modules; } return { - load_starterkit: function (starterkitName, clean) { + load_starterkit: function(starterkitName, clean) { loadStarterKit(starterkitName, clean); }, - list_starterkits: function () { + list_starterkits: function() { return listStarterkits(); }, - pack_starterkit: function () { + pack_starterkit: function() { packStarterkit(); }, - detect_starterkits: function () { + detect_starterkits: function() { return detectStarterKits(); - }, + } }; }; diff --git a/packages/core/src/lib/style_modifier_hunter.js b/packages/core/src/lib/style_modifier_hunter.js index bd62c773a..1e3965ba3 100644 --- a/packages/core/src/lib/style_modifier_hunter.js +++ b/packages/core/src/lib/style_modifier_hunter.js @@ -2,7 +2,7 @@ const logger = require('./log'); -const style_modifier_hunter = function () { +const style_modifier_hunter = function() { /** * Modifies a patterns partial with any styleModifiers found on the supplied partial * @@ -36,9 +36,9 @@ const style_modifier_hunter = function () { } return { - consume_style_modifier: function (pattern, partial, patternlab) { + consume_style_modifier: function(pattern, partial, patternlab) { consumestylemodifier(pattern, partial, patternlab); - }, + } }; }; diff --git a/packages/core/src/lib/ui_builder.js b/packages/core/src/lib/ui_builder.js index c994f724b..805789657 100644 --- a/packages/core/src/lib/ui_builder.js +++ b/packages/core/src/lib/ui_builder.js @@ -13,7 +13,7 @@ let fs = require('fs-extra'); //eslint-disable-line prefer-const let buildFooter = require('./buildFooter'); //eslint-disable-line prefer-const let exportData = require('./exportData'); //eslint-disable-line prefer-const -const ui_builder = function () { +const ui_builder = function() { /** * Registers the pattern to the patternPaths object for the appropriate patternGroup and basename * patternGroup + patternBaseName are what comprise the patternPartial (atoms-colors) @@ -153,7 +153,7 @@ const ui_builder = function () { engine: null, flatPatternPath: pattern.flatPatternPath, isDocPattern: true, - order: Number.MIN_SAFE_INTEGER, + order: Number.MIN_SAFE_INTEGER }, patternlab ); @@ -184,7 +184,7 @@ const ui_builder = function () { order: pattern.patternGroupData && pattern.patternGroupData.order ? Number(pattern.patternGroupData.order) - : 0, + : 0 }); patternlab.patternGroups = _.sortBy( @@ -203,7 +203,7 @@ const ui_builder = function () { function getPatternGroup(patternlab, pattern) { const patternGroup = _.find(patternlab.patternGroups, [ 'patternGroup', - pattern.patternGroup, + pattern.patternGroup ]); if (!patternGroup) { @@ -225,7 +225,7 @@ const ui_builder = function () { const patternGroup = getPatternGroup(patternlab, pattern); const patternSubgroup = _.find(patternGroup.patternGroupItems, [ 'patternSubgroup', - pattern.patternSubgroup, + pattern.patternSubgroup ]); if (!patternSubgroup) { @@ -255,7 +255,7 @@ const ui_builder = function () { order: pattern.patternSubgroupData && pattern.patternSubgroupData.order ? Number(pattern.patternSubgroupData.order) - : 0, + : 0 }); patternGroup.patternGroupItems = _.sortBy( @@ -280,7 +280,7 @@ const ui_builder = function () { name: pattern.name, isDocPattern: false, order: Number(pattern.order) || 0, // Failsafe is someone entered a string - variantOrder: Number(pattern.variantOrder) || 0, // Failsafe is someone entered a string + variantOrder: Number(pattern.variantOrder) || 0 // Failsafe is someone entered a string }; } @@ -308,7 +308,7 @@ const ui_builder = function () { patternSubgroup: pattern.patternSubgroup, name: pattern.flatPatternPath, isDocPattern: true, - order: Number.MAX_SAFE_INTEGER, + order: Number.MAX_SAFE_INTEGER }; } else { newSubgroupItem = createPatternSubgroupItem(pattern); @@ -342,7 +342,7 @@ const ui_builder = function () { patternPath: encodeURI(pattern.patternGroup + '/index.html'), name: pattern.patternGroup, isDocPattern: true, - order: Number.MAX_SAFE_INTEGER, // Or pattern.groupData.order + order: Number.MAX_SAFE_INTEGER // Or pattern.groupData.order }); } else { patternGroup.patternItems.push(createPatternSubgroupItem(pattern)); @@ -358,10 +358,10 @@ const ui_builder = function () { */ function groupPatterns(patternlab, uikit) { const groupedPatterns = { - patternGroups: {}, + patternGroups: {} }; - _.forEach(patternlab.patterns, function (pattern) { + _.forEach(patternlab.patterns, function(pattern) { // ignore patterns we can omit from rendering directly pattern.omitFromStyleguide = isPatternExcluded( pattern, @@ -432,8 +432,7 @@ const ui_builder = function () { function getFlatPatternItems(patternlab, patternGroup) { const patterns = _.filter( patternlab.patterns, - (pattern) => - pattern.patternGroup === patternGroup && pattern.isFlatPattern + pattern => pattern.patternGroup === patternGroup && pattern.isFlatPattern ); if (patterns) { return getSortedPatterns(patterns); @@ -456,14 +455,14 @@ const ui_builder = function () { // data partials: patterns, patternPartial: 'viewall-' + patternPartial, - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster }, { // templates patternSection: uikit.patternSection, - patternSectionSubgroup: uikit.patternSectionSubgroup, + patternSectionSubgroup: uikit.patternSectionSubgroup } - ).catch((reason) => { + ).catch(reason => { console.log(reason); logger.error('Error building buildViewAllHTML'); }); @@ -483,15 +482,15 @@ const ui_builder = function () { patternlab ) { return _.sortBy(_.values(patternGroup), [ - (pSubgroup) => { + pSubgroup => { const group = patternlab.patternGroups.find( - (g) => g.patternGroup === patternGroupName + g => g.patternGroup === patternGroupName ); if (group) { - const sg = group.patternGroupItems.find((item) => { + const sg = group.patternGroupItems.find(item => { const firstPattern = _.first( - _.values(pSubgroup).filter((p) => p.patternBaseName !== '.') + _.values(pSubgroup).filter(p => p.patternBaseName !== '.') ); return ( item && @@ -504,7 +503,7 @@ const ui_builder = function () { } else { return 0; } - }, + } ]); } @@ -527,7 +526,7 @@ const ui_builder = function () { // loop through the grouped styleguide patterns, building at each level const allPatternGroupPromises = _.map( patternlab.patternGroups, - (patternGroup) => { + patternGroup => { const patternGroupName = patternGroup.patternGroup; const group = styleguidePatterns.patternGroups[patternGroupName]; let groupedPatterns = []; @@ -543,7 +542,7 @@ const ui_builder = function () { let p; const samplePattern = _.find( patternSubgroups, - (st) => !st.patternPartial.startsWith('viewall-') + st => !st.patternPartial.startsWith('viewall-') ); const patternName = Object.keys( _.values(originalPatternGroup)[patternSubgroup] @@ -561,14 +560,14 @@ const ui_builder = function () { // render the footer needed for the viewall template return buildFooter(patternlab, `viewall-${patternPartial}`, uikit) - .then((footerHTML) => { + .then(footerHTML => { // render the viewall template by finding these smallest subgroup-grouped patterns const subgroupPatterns = getSortedPatterns( _.values(patternSubgroups) ); // determine if we should write at this time by checking if these are flat patterns or grouped patterns - p = _.find(subgroupPatterns, function (pat) { + p = _.find(subgroupPatterns, function(pat) { return pat.isDocPattern; }); @@ -578,8 +577,7 @@ const ui_builder = function () { styleGuideExcludes.length && _.some( styleGuideExcludes, - (exclude) => - exclude === `${patternGroupName}/${patternName}` + exclude => exclude === `${patternGroupName}/${patternName}` ); if (omitPatternGroup) { logger.debug( @@ -600,7 +598,7 @@ const ui_builder = function () { patternPartial, uikit ) - .then((viewAllHTML) => { + .then(viewAllHTML => { return fs.outputFile( path.join( process.cwd(), @@ -613,12 +611,12 @@ const ui_builder = function () { mainPageHeadHtml + viewAllHTML + footerHTML ); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error building ViewAllHTML'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error building footer HTML'); }); @@ -636,7 +634,7 @@ const ui_builder = function () { `viewall-${patternGroupName}-all`, uikit ) - .then((footerHTML) => { + .then(footerHTML => { const sortedFlatPatterns = getFlatPatternItems( patternlab, patternGroupName @@ -648,12 +646,9 @@ const ui_builder = function () { } // get the appropriate patternGroup - const anyPatternOfType = _.find( - groupedPatterns, - function (pat) { - return pat.patternGroup && pat.patternGroup !== ''; - } - ); + const anyPatternOfType = _.find(groupedPatterns, function(pat) { + return pat.patternGroup && pat.patternGroup !== ''; + }); if (!anyPatternOfType || !groupedPatterns.length) { logger.debug( @@ -669,7 +664,7 @@ const ui_builder = function () { patternGroupName, uikit ) - .then((viewAllHTML) => { + .then(viewAllHTML => { fs.outputFileSync( path.join( process.cwd(), @@ -686,7 +681,7 @@ const ui_builder = function () { const omitPatternGroup = styleGuideExcludes && styleGuideExcludes.length && - _.some(styleGuideExcludes, function (exclude) { + _.some(styleGuideExcludes, function(exclude) { return exclude === patternGroupName; }); if (omitPatternGroup) { @@ -703,17 +698,17 @@ const ui_builder = function () { } return Promise.resolve(patterns); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error building ViewAllHTML'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error building footerHTML'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error during buildViewAllPages'); }); @@ -721,10 +716,10 @@ const ui_builder = function () { ); return Promise.all(allPatternGroupPromises) - .then((allPatterns) => - Promise.resolve(_.filter(allPatterns, (p) => p.length)) + .then(allPatterns => + Promise.resolve(_.filter(allPatterns, p => p.length)) ) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('Error during buildViewAllPages'); }); @@ -751,15 +746,15 @@ const ui_builder = function () { function uniqueAllPatterns(allPatterns, patternlab) { return _.uniq( _.flatMapDeep( - _.map(allPatterns, (patterns) => [ + _.map(allPatterns, patterns => [ injectDocumentationBlock( - _.find(patterns, (p) => !p.patternPartial.startsWith('viewall-')), + _.find(patterns, p => !p.patternPartial.startsWith('viewall-')), patternlab, false ), - ...patterns, + ...patterns ]), - (pattern) => pattern + pattern => pattern ) ); } @@ -772,7 +767,7 @@ const ui_builder = function () { function buildFrontend(patternlabGlobal) { const paths = patternlabGlobal.config.paths; - const uikitPromises = _.map(patternlabGlobal.uikits, (uikit) => { + const uikitPromises = _.map(patternlabGlobal.uikits, uikit => { //we need to make sure the patternlab object gets manipulated per uikit const patternlab = Object.assign({}, patternlabGlobal); @@ -780,21 +775,21 @@ const ui_builder = function () { //determine which patterns should be included in the front-end rendering const styleguidePatterns = groupPatterns(patternlab, uikit); - return new Promise((resolve) => { + return new Promise(resolve => { // set the pattern-specific header by compiling the general-header with data, and then adding it to the meta header const headerPromise = render( Pattern.createEmpty({ extendedTemplate: uikit.header }, patternlab), { - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster } ) - .then((headerPartial) => { + .then(headerPartial => { const headFootData = patternlab.data; headFootData.patternLabHead = headerPartial; headFootData.cacheBuster = patternlab.cacheBuster; return render(patternlab.userHead, headFootData); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('error during header render()'); }); @@ -804,21 +799,21 @@ const ui_builder = function () { Pattern.createEmpty({ extendedTemplate: uikit.footer }, patternlab), { patternData: '{}', - cacheBuster: patternlab.cacheBuster, + cacheBuster: patternlab.cacheBuster } ) - .then((footerPartial) => { + .then(footerPartial => { const headFootData = patternlab.data; headFootData.patternLabFoot = footerPartial; return render(patternlab.userFoot, headFootData); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('error during footer render()'); }); return Promise.all([headerPromise, footerPromise]).then( - (headFootPromiseResults) => { + headFootPromiseResults => { // build the viewall pages return buildViewAllPages( @@ -827,7 +822,7 @@ const ui_builder = function () { styleguidePatterns, uikit ) - .then((allPatterns) => { + .then(allPatterns => { // todo track down why we need to make this unique in the first place const uniquePatterns = uniqueAllPatterns( allPatterns, @@ -844,19 +839,19 @@ const ui_builder = function () { return render( Pattern.createEmpty( { - extendedTemplate: uikit.viewAll, + extendedTemplate: uikit.viewAll }, patternlab ), { - partials: uniquePatterns, + partials: uniquePatterns }, { patternSection: uikit.patternSection, - patternSectionSubgroup: uikit.patternSectionSubgroup, + patternSectionSubgroup: uikit.patternSectionSubgroup } ) - .then((styleguideHtml) => { + .then(styleguideHtml => { fs.outputFileSync( path.resolve( path.join( @@ -907,12 +902,12 @@ const ui_builder = function () { exportData(patternlab, uikit); resolve(); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('error during buildFrontend()'); }); }) - .catch((reason) => { + .catch(reason => { console.log(reason); logger.error('error during buildViewAllPages()'); }); @@ -929,7 +924,7 @@ const ui_builder = function () { groupPatterns: groupPatterns, resetUIBuilderState: resetUIBuilderState, uniqueAllPatterns: uniqueAllPatterns, - buildViewAllPages: buildViewAllPages, + buildViewAllPages: buildViewAllPages }; }; diff --git a/packages/core/src/lib/watchAssets.js b/packages/core/src/lib/watchAssets.js index 6f07626e7..f46870bed 100644 --- a/packages/core/src/lib/watchAssets.js +++ b/packages/core/src/lib/watchAssets.js @@ -10,7 +10,7 @@ let copyFile = require('./copyFile'); // eslint-disable-line prefer-const function onWatchTripped(patternlab, p, assetBase, basePath, dir, copyOptions) { const subPath = p.replace(assetBase, ''); - _.each(patternlab.uikits, (uikit) => { + _.each(patternlab.uikits, uikit => { const destination = path.resolve( basePath, uikit.outputDir, @@ -50,17 +50,17 @@ const watchAssets = ( ignoreInitial: false, awaitWriteFinish: { stabilityThreshold: 200, - pollInterval: 100, + pollInterval: 100 }, - persistent: !watchOnce, + persistent: !watchOnce }); //watch for changes and copy assetWatcher - .on('add', (p) => { + .on('add', p => { onWatchTripped(patternlab, p, assetBase, basePath, dir, copyOptions); }) - .on('change', (p) => { + .on('change', p => { onWatchTripped(patternlab, p, assetBase, basePath, dir, copyOptions); }); diff --git a/packages/core/src/lib/watchPatternLabFiles.js b/packages/core/src/lib/watchPatternLabFiles.js index c2eb681ab..17546ac68 100644 --- a/packages/core/src/lib/watchPatternLabFiles.js +++ b/packages/core/src/lib/watchPatternLabFiles.js @@ -18,13 +18,13 @@ const watchPatternLabFiles = ( // watch global structures, such as _data/* and _meta/ const globalSources = [ assetDirectories.source.data, - assetDirectories.source.meta, + assetDirectories.source.meta ]; - const globalPaths = globalSources.map((globalSource) => + const globalPaths = globalSources.map(globalSource => path.join(path.resolve(basePath, globalSource), '*') ); - _.each(globalPaths, (globalPath) => { + _.each(globalPaths, globalPath => { logger.debug(`Pattern Lab is watching ${globalPath} for changes!`); if (patternlab.watchers[globalPath]) { @@ -36,37 +36,37 @@ const watchPatternLabFiles = ( ignoreInitial: true, awaitWriteFinish: { stabilityThreshold: 200, - pollInterval: 100, + pollInterval: 100 }, - persistent: !watchOnce, + persistent: !watchOnce }); //watch for changes and rebuild globalWatcher - .on('addDir', async (p) => { + .on('addDir', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_GLOBAL_CHANGE, { - file: p, + file: p } ); }) - .on('add', async (p) => { + .on('add', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_GLOBAL_CHANGE, { - file: p, + file: p } ); }) - .on('change', async (p) => { + .on('change', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_GLOBAL_CHANGE, { - file: p, + file: p } ); }); @@ -78,13 +78,13 @@ const watchPatternLabFiles = ( const baseFileExtensions = ['.json', '.yml', '.yaml', '.md']; const patternWatches = baseFileExtensions .concat(patternlab.engines.getSupportedFileExtensions()) - .map((dotExtension) => + .map(dotExtension => path.join( path.resolve(basePath, assetDirectories.source.patterns), `/**/*${dotExtension}` ) ); - _.each(patternWatches, (patternWatchPath) => { + _.each(patternWatches, patternWatchPath => { logger.debug( `Pattern Lab is watching ${patternWatchPath} for changes - local!` ); @@ -98,61 +98,61 @@ const watchPatternLabFiles = ( ignoreInitial: true, awaitWriteFinish: { stabilityThreshold: 200, - pollInterval: 100, + pollInterval: 100 }, - persistent: !watchOnce, + persistent: !watchOnce }); //watch for changes and rebuild patternWatcher - .on('addDir', async (p) => { + .on('addDir', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_PATTERN_CHANGE, { - file: p, + file: p } ); }) - .on('add', async (p) => { + .on('add', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_PATTERN_CHANGE, { - file: p, + file: p } ); }) - .on('change', async (p) => { + .on('change', async p => { await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_PATTERN_CHANGE, { - file: p, + file: p } ); }) // the watcher does not react on unlink and unlinkDir // events, so patterns are never removed - .on('unlink', async (p) => { + .on('unlink', async p => { patternlab.graph.sync(); patternlab.graph.upgradeVersion(); await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_PATTERN_CHANGE, { - file: p, + file: p } ); }) - .on('unlinkDir', async (p) => { + .on('unlinkDir', async p => { patternlab.graph.sync(); patternlab.graph.upgradeVersion(); await pluginMananger.raiseEvent( patternlab, events.PATTERNLAB_PATTERN_CHANGE, { - file: p, + file: p } ); }); diff --git a/packages/create/CHANGELOG.md b/packages/create/CHANGELOG.md index 794f3893f..7e614608a 100644 --- a/packages/create/CHANGELOG.md +++ b/packages/create/CHANGELOG.md @@ -131,66 +131,66 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) - -**Note:** Version bump only for package create-pattern-lab - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package create-pattern-lab - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) - -**Note:** Version bump only for package create-pattern-lab - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - -**Note:** Version bump only for package create-pattern-lab - - - - - - -## [1.0.11](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.10...create-pattern-lab@1.0.11) (2019-10-14) - -**Note:** Version bump only for package create-pattern-lab - - - - - - -## [1.0.8](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.7...create-pattern-lab@1.0.8) (2019-08-23) - -**Note:** Version bump only for package create-pattern-lab - - - - - -## [1.0.7](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.6...create-pattern-lab@1.0.7) (2019-08-23) - -**Note:** Version bump only for package create-pattern-lab - - - - - - -## [1.0.6](https://github.com/sghoweri/patternlab-node/compare/create-pattern-lab@1.0.5...create-pattern-lab@1.0.6) (2019-05-16) - + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) + +**Note:** Version bump only for package create-pattern-lab + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package create-pattern-lab + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) + +**Note:** Version bump only for package create-pattern-lab + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + +**Note:** Version bump only for package create-pattern-lab + + + + + + +## [1.0.11](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.10...create-pattern-lab@1.0.11) (2019-10-14) + +**Note:** Version bump only for package create-pattern-lab + + + + + + +## [1.0.8](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.7...create-pattern-lab@1.0.8) (2019-08-23) + +**Note:** Version bump only for package create-pattern-lab + + + + + +## [1.0.7](https://github.com/pattern-lab/patternlab-node/compare/create-pattern-lab@1.0.6...create-pattern-lab@1.0.7) (2019-08-23) + +**Note:** Version bump only for package create-pattern-lab + + + + + + +## [1.0.6](https://github.com/sghoweri/patternlab-node/compare/create-pattern-lab@1.0.5...create-pattern-lab@1.0.6) (2019-05-16) + **Note:** Version bump only for package create-pattern-lab diff --git a/packages/development-edition-engine-handlebars/CHANGELOG.md b/packages/development-edition-engine-handlebars/CHANGELOG.md index da6480a91..30a047366 100644 --- a/packages/development-edition-engine-handlebars/CHANGELOG.md +++ b/packages/development-edition-engine-handlebars/CHANGELOG.md @@ -174,190 +174,190 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) - - -### Features - -* major improvements to local UIKit workflow ([4dc9173](https://github.com/pattern-lab/patternlab-node/commit/4dc9173a5a44b422e9677824de3728048b7c4f05)) - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - - -### Bug Fixes - -* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af28c4e714fdfc1db535b94c52f3dc14a3a4)) -* update the default pattern that displays in the Handlebars demo ([ff1d85f](https://github.com/pattern-lab/patternlab-node/commit/ff1d85f2852fc4f210841e8e0aaf14b55165ce58)) - - -### Features - -* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5bca72f2f34bfafe5c2c64e6b0b8823eb1c)) -* **plugin-tab, core:** initial plugin hook exploration ([2f3d39a](https://github.com/pattern-lab/patternlab-node/commit/2f3d39ac6b125ad4c6b872e27ee224ce2ea33a12)) -* introduce netlify preview ([6c5d332](https://github.com/pattern-lab/patternlab-node/commit/6c5d332479fb6836bd8bd5530a074d13440f8ae4)) - - - - - - -## [0.1.6](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.5...@pattern-lab/development-edition-engine-handlebars@0.1.6) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - - -## [0.1.5](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.4...@pattern-lab/development-edition-engine-handlebars@0.1.5) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - - -## [0.1.1](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.0...@pattern-lab/development-edition-engine-handlebars@0.1.1) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -# [0.1.0](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.0.3...@pattern-lab/development-edition-engine-handlebars@0.1.0) (2019-08-23) - - -### Bug Fixes - -* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af2)) - - -### Features - -* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5b)) - - - - - - -## [0.0.3](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.0.3-alpha.0...@pattern-lab/development-edition-engine-handlebars@0.0.3) (2019-05-16) - -**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars - - - - - -## 0.0.1-beta.0 (2019-02-09) - - -### Bug Fixes - -* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/commit/98dfadf)) - - -### Features - + +# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) + + +### Features + +* major improvements to local UIKit workflow ([4dc9173](https://github.com/pattern-lab/patternlab-node/commit/4dc9173a5a44b422e9677824de3728048b7c4f05)) + + + + + +## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + + +## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) + + + + + +## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + + +### Bug Fixes + +* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af28c4e714fdfc1db535b94c52f3dc14a3a4)) +* update the default pattern that displays in the Handlebars demo ([ff1d85f](https://github.com/pattern-lab/patternlab-node/commit/ff1d85f2852fc4f210841e8e0aaf14b55165ce58)) + + +### Features + +* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5bca72f2f34bfafe5c2c64e6b0b8823eb1c)) +* **plugin-tab, core:** initial plugin hook exploration ([2f3d39a](https://github.com/pattern-lab/patternlab-node/commit/2f3d39ac6b125ad4c6b872e27ee224ce2ea33a12)) +* introduce netlify preview ([6c5d332](https://github.com/pattern-lab/patternlab-node/commit/6c5d332479fb6836bd8bd5530a074d13440f8ae4)) + + + + + + +## [0.1.6](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.5...@pattern-lab/development-edition-engine-handlebars@0.1.6) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + + +## [0.1.5](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.4...@pattern-lab/development-edition-engine-handlebars@0.1.5) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + + +## [0.1.1](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.1.0...@pattern-lab/development-edition-engine-handlebars@0.1.1) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +# [0.1.0](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.0.3...@pattern-lab/development-edition-engine-handlebars@0.1.0) (2019-08-23) + + +### Bug Fixes + +* Rename Handlebars and Nunjucks extension setting to "extend" ([74e5af2](https://github.com/pattern-lab/patternlab-node/commit/74e5af2)) + + +### Features + +* **engine-handlebars:** Demonstration of custom Handlebars helper ([f330b5b](https://github.com/pattern-lab/patternlab-node/commit/f330b5b)) + + + + + + +## [0.0.3](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/development-edition-engine-handlebars@0.0.3-alpha.0...@pattern-lab/development-edition-engine-handlebars@0.0.3) (2019-05-16) + +**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars + + + + + +## 0.0.1-beta.0 (2019-02-09) + + +### Bug Fixes + +* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/commit/98dfadf)) + + +### Features + * **package:** add handlebars development edition ([454095d](https://github.com/pattern-lab/patternlab-node/commit/454095d)) diff --git a/packages/development-edition-engine-react/CHANGELOG.md b/packages/development-edition-engine-react/CHANGELOG.md index f950b20a9..48cb17328 100644 --- a/packages/development-edition-engine-react/CHANGELOG.md +++ b/packages/development-edition-engine-react/CHANGELOG.md @@ -167,208 +167,208 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [5.4.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [5.4.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.0...v5.4.1) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -# [5.4.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.3...v5.4.0) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [5.3.3](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.2...v5.3.3) (2019-11-22) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -## [5.3.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [5.3.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.0...v5.3.1) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -# [5.3.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -# [5.2.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.1.0...v5.2.0) (2019-11-12) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -# [5.1.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **core:** fix pattern export all conflicts ([b210d82](https://github.com/pattern-lab/edition-node-gulp/commit/b210d820ba8ac0b64c82c7ff0f18c9f8a900fce2)) - - - - - -## [5.0.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.1...v5.0.2) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [5.0.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.0...v5.0.1) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -# [5.0.0](https://github.com/pattern-lab/edition-node-gulp/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -## [0.1.8](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.7...@pattern-lab/engine-react-testing-tree@0.1.8) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -## [0.1.7](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.6...@pattern-lab/engine-react-testing-tree@0.1.7) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -## [0.1.3](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.2...@pattern-lab/engine-react-testing-tree@0.1.3) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - -## [0.1.2](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.2-alpha.0...@pattern-lab/engine-react-testing-tree@0.1.2) (2019-05-16) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - -## [0.1.1-beta.1](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4...@pattern-lab/engine-react-testing-tree@0.1.1-beta.1) (2019-02-09) - - -### Bug Fixes - -* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/edition-node-gulp/commit/98dfadf)) - - - - - - -## [0.1.1-beta.0](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4...@pattern-lab/engine-react-testing-tree@0.1.1-beta.0) (2018-09-07) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - - - - - -## [0.1.1-alpha.4](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.3...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4) (2018-07-06) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - -## [0.1.1-alpha.3](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.2...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.3) (2018-07-06) - -### Bug Fixes - -* **package:** fix fat-fingered dependency ([e439f4e](https://github.com/pattern-lab/edition-node-gulp/commit/e439f4e)) - -### Features - -* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/edition-node-gulp/commit/55f5bc2)) -* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/edition-node-gulp/commit/415698e)) -* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/edition-node-gulp/commit/5ab3995)) - - - -## [0.1.1-alpha.2](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.1...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.2) (2018-07-05) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - -## [0.1.1-alpha.1](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.0...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.1) (2018-05-04) - -**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree - - - -## 0.1.1-alpha.0 (2018-05-04) - -### Features - + +# [5.5.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.2...v5.5.0) (2019-12-19) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [5.4.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [5.4.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.4.0...v5.4.1) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +# [5.4.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.3...v5.4.0) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [5.3.3](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.2...v5.3.3) (2019-11-22) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +## [5.3.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [5.3.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.3.0...v5.3.1) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +# [5.3.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +# [5.2.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.1.0...v5.2.0) (2019-11-12) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +# [5.1.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **core:** fix pattern export all conflicts ([b210d82](https://github.com/pattern-lab/edition-node-gulp/commit/b210d820ba8ac0b64c82c7ff0f18c9f8a900fce2)) + + + + + +## [5.0.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.1...v5.0.2) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [5.0.1](https://github.com/pattern-lab/edition-node-gulp/compare/v5.0.0...v5.0.1) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +# [5.0.0](https://github.com/pattern-lab/edition-node-gulp/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +## [0.1.8](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.7...@pattern-lab/engine-react-testing-tree@0.1.8) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +## [0.1.7](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.6...@pattern-lab/engine-react-testing-tree@0.1.7) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +## [0.1.3](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.2...@pattern-lab/engine-react-testing-tree@0.1.3) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + +## [0.1.2](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.2-alpha.0...@pattern-lab/engine-react-testing-tree@0.1.2) (2019-05-16) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + +## [0.1.1-beta.1](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4...@pattern-lab/engine-react-testing-tree@0.1.1-beta.1) (2019-02-09) + + +### Bug Fixes + +* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/edition-node-gulp/commit/98dfadf)) + + + + + + +## [0.1.1-beta.0](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4...@pattern-lab/engine-react-testing-tree@0.1.1-beta.0) (2018-09-07) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + + + + + +## [0.1.1-alpha.4](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.3...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.4) (2018-07-06) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + +## [0.1.1-alpha.3](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.2...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.3) (2018-07-06) + +### Bug Fixes + +* **package:** fix fat-fingered dependency ([e439f4e](https://github.com/pattern-lab/edition-node-gulp/commit/e439f4e)) + +### Features + +* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/edition-node-gulp/commit/55f5bc2)) +* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/edition-node-gulp/commit/415698e)) +* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/edition-node-gulp/commit/5ab3995)) + + + +## [0.1.1-alpha.2](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.1...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.2) (2018-07-05) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + +## [0.1.1-alpha.1](https://github.com/pattern-lab/edition-node-gulp/compare/@pattern-lab/engine-react-testing-tree@0.1.1-alpha.0...@pattern-lab/engine-react-testing-tree@0.1.1-alpha.1) (2018-05-04) + +**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree + + + +## 0.1.1-alpha.0 (2018-05-04) + +### Features + * **README:** clarify purpose of development edition ([d90df0e](https://github.com/pattern-lab/edition-node-gulp/commit/d90df0e)) diff --git a/packages/docs/src/docs/advanced-config-options.md b/packages/docs/src/docs/advanced-config-options.md index 19bd1efb3..2d781bf17 100644 --- a/packages/docs/src/docs/advanced-config-options.md +++ b/packages/docs/src/docs/advanced-config-options.md @@ -27,7 +27,7 @@ Sets whether or not to delete `public.patterns/` upon each build of Pattern Lab. **default**: `true` -### defaultPattern +### defaultPatttern Sets a specific pattern upon launch of the styleguide. This pattern will not be available in the navigation, or in view all pages. The only way to get to it will be via a refresh. Set it using the [short-hand pattern-include syntax](/docs/including-patterns/): diff --git a/packages/edition-node-gulp/CHANGELOG.md b/packages/edition-node-gulp/CHANGELOG.md index 14b1b6ee0..71fa0b255 100644 --- a/packages/edition-node-gulp/CHANGELOG.md +++ b/packages/edition-node-gulp/CHANGELOG.md @@ -175,280 +175,280 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.0...v5.4.1) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.3...v5.4.0) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.2...v5.3.3) (2019-11-22) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.0...v5.3.1) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.1.0...v5.2.0) (2019-11-12) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.1...v5.0.2) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.0...v5.0.1) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -## [2.0.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.8...@pattern-lab/edition-node-gulp@2.0.9) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -## [2.0.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.7...@pattern-lab/edition-node-gulp@2.0.8) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -## [2.0.4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.3...@pattern-lab/edition-node-gulp@2.0.4) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -## [2.0.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.2...@pattern-lab/edition-node-gulp@2.0.3) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - -## [2.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.2-alpha.0...@pattern-lab/edition-node-gulp@2.0.2) (2019-05-16) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - -# [2.0.0-beta.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-beta.0...@pattern-lab/edition-node-gulp@2.0.0-beta.2) (2019-02-09) - - -### Bug Fixes - -* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/98dfadf)) -* version bump the PL gulp edition package that was also out of sync with the latest version published to NPM ([fb8b425](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/fb8b425)) - - - - - - -# [2.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.15...@pattern-lab/edition-node-gulp@2.0.0-beta.0) (2018-09-07) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - - - - - -# [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 - - - -# [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) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - -# [2.0.0-alpha.13](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.12...@pattern-lab/edition-node-gulp@2.0.0-alpha.13) (2018-07-06) - -### Features - -* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/55f5bc2)) -* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/415698e)) -* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/5ab3995)) - - - -# [2.0.0-alpha.12](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.11...@pattern-lab/edition-node-gulp@2.0.0-alpha.12) (2018-07-05) - -### Bug Fixes - -* **gulp:** remove help command ([71575db](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/71575db)) - -### Features - -* **serve:** change calling method ([f47217a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/f47217a)) - - - -# [2.0.0-alpha.11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.10...@pattern-lab/edition-node-gulp@2.0.0-alpha.11) (2018-05-19) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - -# [2.0.0-alpha.10](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.9...@pattern-lab/edition-node-gulp@2.0.0-alpha.10) (2018-05-04) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - -# [2.0.0-alpha.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.8...@pattern-lab/edition-node-gulp@2.0.0-alpha.9) (2018-05-04) - -**Note:** Version bump only for package @pattern-lab/edition-node-gulp - - - -# [2.0.0-alpha.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.7...@pattern-lab/edition-node-gulp@2.0.0-alpha.8) (2018-05-04) - -### Features - -* **API:** standardize v() and version() into a single call ([6309e69](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/6309e69)) -* **config:** add uikits config ([64c2e9f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/64c2e9f)) -* **config:** remove hard-coded base module path from pattern lab paths ([a4961bd](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a4961bd)) -* **config:** simplify relative public paths ([812bab3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/812bab3)) -* **package:** add cli as a dependency ([a52b487](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a52b487)) -* **uikits:** remove workshop for default config ([55570ff](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/55570ff)) - -### BREAKING CHANGES - -* **API:** change `version()` to return a string representation of the version, removing `v()` - - - -# [2.0.0-alpha.7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.6...@pattern-lab/edition-node-gulp@2.0.0-alpha.7) (2018-03-21) - -### Bug Fixes - -* **package:** remove files obsoleted by monorepo ([9abb8ac](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/9abb8ac)) -* **package:** update LICENSE ([337aa32](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/337aa32)) - - - -# [2.0.0-alpha.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.5...@pattern-lab/edition-node-gulp@2.0.0-alpha.6) (2018-03-05) - -### Bug Fixes - -* **config:** Add npm registry to lerna config ([1473cd5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/1473cd5)) - -### Features - -* **README:** Update for brevity and consistency ([65a2969](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/65a2969)) - - - -# 2.0.0-alpha.5 (2018-03-02) - -### Bug Fixes - -* **package:** Regenerate package.lock and upgrade patternlab-node ([93ec49e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/93ec49e)) -* **packages:** Allow scoped publishing ([58beeb6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/58beeb6)) - -### Features - + +# [5.5.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.2...v5.5.0) (2019-12-19) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [5.4.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [5.4.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.4.0...v5.4.1) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.3...v5.4.0) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [5.3.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.2...v5.3.3) (2019-11-22) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +## [5.3.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [5.3.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.3.0...v5.3.1) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +# [5.2.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.1.0...v5.2.0) (2019-11-12) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) + + + + + +## [5.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.1...v5.0.2) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [5.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.0.0...v5.0.1) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +## [2.0.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.8...@pattern-lab/edition-node-gulp@2.0.9) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +## [2.0.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.7...@pattern-lab/edition-node-gulp@2.0.8) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +## [2.0.4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.3...@pattern-lab/edition-node-gulp@2.0.4) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +## [2.0.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.2...@pattern-lab/edition-node-gulp@2.0.3) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + +## [2.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.2-alpha.0...@pattern-lab/edition-node-gulp@2.0.2) (2019-05-16) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + +# [2.0.0-beta.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-beta.0...@pattern-lab/edition-node-gulp@2.0.0-beta.2) (2019-02-09) + + +### Bug Fixes + +* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/98dfadf)) +* version bump the PL gulp edition package that was also out of sync with the latest version published to NPM ([fb8b425](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/fb8b425)) + + + + + + +# [2.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.15...@pattern-lab/edition-node-gulp@2.0.0-beta.0) (2018-09-07) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + + + + + +# [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 + + + +# [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) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + +# [2.0.0-alpha.13](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.12...@pattern-lab/edition-node-gulp@2.0.0-alpha.13) (2018-07-06) + +### Features + +* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/55f5bc2)) +* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/415698e)) +* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/5ab3995)) + + + +# [2.0.0-alpha.12](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.11...@pattern-lab/edition-node-gulp@2.0.0-alpha.12) (2018-07-05) + +### Bug Fixes + +* **gulp:** remove help command ([71575db](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/71575db)) + +### Features + +* **serve:** change calling method ([f47217a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/f47217a)) + + + +# [2.0.0-alpha.11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.10...@pattern-lab/edition-node-gulp@2.0.0-alpha.11) (2018-05-19) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + +# [2.0.0-alpha.10](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.9...@pattern-lab/edition-node-gulp@2.0.0-alpha.10) (2018-05-04) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + +# [2.0.0-alpha.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.8...@pattern-lab/edition-node-gulp@2.0.0-alpha.9) (2018-05-04) + +**Note:** Version bump only for package @pattern-lab/edition-node-gulp + + + +# [2.0.0-alpha.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.7...@pattern-lab/edition-node-gulp@2.0.0-alpha.8) (2018-05-04) + +### Features + +* **API:** standardize v() and version() into a single call ([6309e69](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/6309e69)) +* **config:** add uikits config ([64c2e9f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/64c2e9f)) +* **config:** remove hard-coded base module path from pattern lab paths ([a4961bd](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a4961bd)) +* **config:** simplify relative public paths ([812bab3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/812bab3)) +* **package:** add cli as a dependency ([a52b487](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/a52b487)) +* **uikits:** remove workshop for default config ([55570ff](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/55570ff)) + +### BREAKING CHANGES + +* **API:** change `version()` to return a string representation of the version, removing `v()` + + + +# [2.0.0-alpha.7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.6...@pattern-lab/edition-node-gulp@2.0.0-alpha.7) (2018-03-21) + +### Bug Fixes + +* **package:** remove files obsoleted by monorepo ([9abb8ac](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/9abb8ac)) +* **package:** update LICENSE ([337aa32](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/337aa32)) + + + +# [2.0.0-alpha.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/@pattern-lab/edition-node-gulp@2.0.0-alpha.5...@pattern-lab/edition-node-gulp@2.0.0-alpha.6) (2018-03-05) + +### Bug Fixes + +* **config:** Add npm registry to lerna config ([1473cd5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/1473cd5)) + +### Features + +* **README:** Update for brevity and consistency ([65a2969](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/65a2969)) + + + +# 2.0.0-alpha.5 (2018-03-02) + +### Bug Fixes + +* **package:** Regenerate package.lock and upgrade patternlab-node ([93ec49e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/93ec49e)) +* **packages:** Allow scoped publishing ([58beeb6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/58beeb6)) + +### Features + * **packages:** Update all package.json repo and bug links ([5eb2c11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/commit/5eb2c11)) diff --git a/packages/edition-node-gulp/gulpfile.js b/packages/edition-node-gulp/gulpfile.js index 4ef683b09..8138a8bd4 100644 --- a/packages/edition-node-gulp/gulpfile.js +++ b/packages/edition-node-gulp/gulpfile.js @@ -27,7 +27,6 @@ function serve() { return patternlab.server .serve({ cleanPublic: config.cleanPublic, - watch: true, }) .then(() => { // do something else when this promise resolves diff --git a/packages/edition-node/CHANGELOG.md b/packages/edition-node/CHANGELOG.md index 02177f553..53d080c0a 100644 --- a/packages/edition-node/CHANGELOG.md +++ b/packages/edition-node/CHANGELOG.md @@ -175,285 +175,285 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.0...v5.4.1) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.3...v5.4.0) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.2...v5.3.3) (2019-11-22) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.0...v5.3.1) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.1.0...v5.2.0) (2019-11-12) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.1...v5.0.2) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.0...v5.0.1) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - - -### Features - -* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b481e22dc1f41ddd4da709621640a15190fba257)) - - -### BREAKING CHANGES - -* **edition-node:** use handlebars over mustache - - - - - - -## [2.0.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.5...@pattern-lab/edition-node@2.0.6) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - - -## [2.0.5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.4...@pattern-lab/edition-node@2.0.5) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - - -## [2.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.0...@pattern-lab/edition-node@2.0.1) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [2.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.2...@pattern-lab/edition-node@2.0.0) (2019-08-23) - - -### Features - -* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b481e22)) - - -### BREAKING CHANGES - -* **edition-node:** use handlebars over mustache - - - - - - -## [1.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.2-alpha.0...@pattern-lab/edition-node@1.0.2) (2019-05-16) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - -# [1.0.0-beta.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-beta.0...@pattern-lab/edition-node@1.0.0-beta.2) (2019-02-09) - - -### Bug Fixes - -* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/98dfadf)) - - - - - - -# [1.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.13...@pattern-lab/edition-node@1.0.0-beta.0) (2018-09-07) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - - - - - -# [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)) - - - -# [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) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - -# [1.0.0-alpha.11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.10...@pattern-lab/edition-node@1.0.0-alpha.11) (2018-07-06) - -### Features - -* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/55f5bc2)) -* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/415698e)) -* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/5ab3995)) - - - -# [1.0.0-alpha.10](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.9...@pattern-lab/edition-node@1.0.0-alpha.10) (2018-07-05) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - -# [1.0.0-alpha.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.8...@pattern-lab/edition-node@1.0.0-alpha.9) (2018-05-19) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - -# [1.0.0-alpha.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.7...@pattern-lab/edition-node@1.0.0-alpha.8) (2018-05-04) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - -# [1.0.0-alpha.7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.6...@pattern-lab/edition-node@1.0.0-alpha.7) (2018-05-04) - -**Note:** Version bump only for package @pattern-lab/edition-node - - - -# [1.0.0-alpha.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.5...@pattern-lab/edition-node@1.0.0-alpha.6) (2018-05-04) - -### Features - -* **package:** add [@pattern-lab](https://github.com/pattern-lab)/cli as a dependency ([760d0e0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/760d0e0)) -* **scripts:** refactor to use cli commands ([e8d5c21](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/e8d5c21)) -* **uikits:** uikits config ([027e56c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/027e56c)) - - - -# [1.0.0-alpha.5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.4...@pattern-lab/edition-node@1.0.0-alpha.5) (2018-03-21) - -### Bug Fixes - -* **package:** remove files obsoleted by monorepo ([9abb8ac](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/9abb8ac)) -* **package:** update LICENSE ([337aa32](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/337aa32)) - - - -# [1.0.0-alpha.4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.3...@pattern-lab/edition-node@1.0.0-alpha.4) (2018-03-05) - -### Bug Fixes - -* **config:** Add npm registry to lerna config ([1473cd5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/1473cd5)) - -### Features - -* **README:** Update for brevity and consistency ([65a2969](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/65a2969)) -* **README:** Update for brevity and consistency ([a7f6866](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/a7f6866)) - - - -# 1.0.0-alpha.3 (2018-03-02) - -### Bug Fixes - -* **packages:** Allow scoped publishing ([58beeb6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/58beeb6)) -* **README:** Fix typos ([b3d1846](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b3d1846)) - -### Features - + +# [5.5.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.2...v5.5.0) (2019-12-19) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +## [5.4.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +## [5.4.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.4.0...v5.4.1) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.3...v5.4.0) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +## [5.3.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.2...v5.3.3) (2019-11-22) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + + +## [5.3.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +## [5.3.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.3.0...v5.3.1) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [5.2.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.1.0...v5.2.0) (2019-11-12) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) + + + + + +## [5.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.1...v5.0.2) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +## [5.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.0.0...v5.0.1) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + + +### Features + +* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b481e22dc1f41ddd4da709621640a15190fba257)) + + +### BREAKING CHANGES + +* **edition-node:** use handlebars over mustache + + + + + + +## [2.0.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.5...@pattern-lab/edition-node@2.0.6) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + + +## [2.0.5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.4...@pattern-lab/edition-node@2.0.5) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + + +## [2.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@2.0.0...@pattern-lab/edition-node@2.0.1) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [2.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.2...@pattern-lab/edition-node@2.0.0) (2019-08-23) + + +### Features + +* **edition-node:** switch to engine-handlebars ([b481e22](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b481e22)) + + +### BREAKING CHANGES + +* **edition-node:** use handlebars over mustache + + + + + + +## [1.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.2-alpha.0...@pattern-lab/edition-node@1.0.2) (2019-05-16) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + +# [1.0.0-beta.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-beta.0...@pattern-lab/edition-node@1.0.0-beta.2) (2019-02-09) + + +### Bug Fixes + +* manually bump package.json versions of packages published in September but with mismatched package.json versions ([98dfadf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/98dfadf)) + + + + + + +# [1.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.13...@pattern-lab/edition-node@1.0.0-beta.0) (2018-09-07) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + + + + + +# [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)) + + + +# [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) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + +# [1.0.0-alpha.11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.10...@pattern-lab/edition-node@1.0.0-alpha.11) (2018-07-06) + +### Features + +* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/55f5bc2)) +* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/415698e)) +* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/5ab3995)) + + + +# [1.0.0-alpha.10](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.9...@pattern-lab/edition-node@1.0.0-alpha.10) (2018-07-05) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + +# [1.0.0-alpha.9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.8...@pattern-lab/edition-node@1.0.0-alpha.9) (2018-05-19) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + +# [1.0.0-alpha.8](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.7...@pattern-lab/edition-node@1.0.0-alpha.8) (2018-05-04) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + +# [1.0.0-alpha.7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.6...@pattern-lab/edition-node@1.0.0-alpha.7) (2018-05-04) + +**Note:** Version bump only for package @pattern-lab/edition-node + + + +# [1.0.0-alpha.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.5...@pattern-lab/edition-node@1.0.0-alpha.6) (2018-05-04) + +### Features + +* **package:** add [@pattern-lab](https://github.com/pattern-lab)/cli as a dependency ([760d0e0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/760d0e0)) +* **scripts:** refactor to use cli commands ([e8d5c21](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/e8d5c21)) +* **uikits:** uikits config ([027e56c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/027e56c)) + + + +# [1.0.0-alpha.5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.4...@pattern-lab/edition-node@1.0.0-alpha.5) (2018-03-21) + +### Bug Fixes + +* **package:** remove files obsoleted by monorepo ([9abb8ac](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/9abb8ac)) +* **package:** update LICENSE ([337aa32](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/337aa32)) + + + +# [1.0.0-alpha.4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/@pattern-lab/edition-node@1.0.0-alpha.3...@pattern-lab/edition-node@1.0.0-alpha.4) (2018-03-05) + +### Bug Fixes + +* **config:** Add npm registry to lerna config ([1473cd5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/1473cd5)) + +### Features + +* **README:** Update for brevity and consistency ([65a2969](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/65a2969)) +* **README:** Update for brevity and consistency ([a7f6866](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/a7f6866)) + + + +# 1.0.0-alpha.3 (2018-03-02) + +### Bug Fixes + +* **packages:** Allow scoped publishing ([58beeb6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/58beeb6)) +* **README:** Fix typos ([b3d1846](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/b3d1846)) + +### Features + * **packages:** Update all package.json repo and bug links ([5eb2c11](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/commit/5eb2c11)) diff --git a/packages/edition-twig/CHANGELOG.md b/packages/edition-twig/CHANGELOG.md index 59f7918e4..d472eaa98 100644 --- a/packages/edition-twig/CHANGELOG.md +++ b/packages/edition-twig/CHANGELOG.md @@ -171,162 +171,162 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) - - -### Features - -* test adding cross-env to Twig Edition test ([3f8bb01](https://github.com/pattern-lab/patternlab-node/commit/3f8bb01bc4e96a0aba61c213ea1619c02593defc)) - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - - -# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) - - -### Features - -* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - - -### Bug Fixes - -* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd6159a89232f42e0a9dc3c688b6e21de8fc30)) -* fix Twig Edition examples by adding missing Twig namespaces to config ([b4c20ef](https://github.com/pattern-lab/patternlab-node/commit/b4c20ef88ee0d3010760584c6f05ff7f92b711a6)) - - - - - - -## [3.1.8](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.7...@pattern-lab/edition-twig@3.1.8) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - - -## [3.1.7](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.6...@pattern-lab/edition-twig@3.1.7) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - - -## [3.1.3](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.2...@pattern-lab/edition-twig@3.1.3) (2019-08-23) - -**Note:** Version bump only for package @pattern-lab/edition-twig - - - - - -## [3.1.2](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.1...@pattern-lab/edition-twig@3.1.2) (2019-08-23) - - -### Bug Fixes - -* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd615)) - - - - - - -## [3.1.1](https://github.com/sghoweri/patternlab-node/compare/@pattern-lab/edition-twig@3.1.0...@pattern-lab/edition-twig@3.1.1) (2019-05-16) - + +# [5.5.0](https://github.com/pattern-lab/patternlab-node/compare/v5.4.2...v5.5.0) (2019-12-19) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +## [5.4.2](https://github.com/pattern-lab/patternlab-node/compare/v5.4.1...v5.4.2) (2019-11-27) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +## [5.4.1](https://github.com/pattern-lab/patternlab-node/compare/v5.4.0...v5.4.1) (2019-11-26) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +# [5.4.0](https://github.com/pattern-lab/patternlab-node/compare/v5.3.3...v5.4.0) (2019-11-26) + + +### Features + +* test adding cross-env to Twig Edition test ([3f8bb01](https://github.com/pattern-lab/patternlab-node/commit/3f8bb01bc4e96a0aba61c213ea1619c02593defc)) + + + + + +## [5.3.3](https://github.com/pattern-lab/patternlab-node/compare/v5.3.2...v5.3.3) (2019-11-22) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + + +## [5.3.2](https://github.com/pattern-lab/patternlab-node/compare/v5.3.1...v5.3.2) (2019-11-14) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +## [5.3.1](https://github.com/pattern-lab/patternlab-node/compare/v5.3.0...v5.3.1) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +# [5.3.0](https://github.com/pattern-lab/patternlab-node/compare/v5.2.0...v5.3.0) (2019-11-13) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +# [5.2.0](https://github.com/pattern-lab/patternlab-node/compare/v5.1.0...v5.2.0) (2019-11-12) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + + +# [5.1.0](https://github.com/pattern-lab/patternlab-node/compare/v5.0.2...v5.1.0) (2019-10-29) + + +### Features + +* **config:** add new default pattern export options ([a7487a0](https://github.com/pattern-lab/patternlab-node/commit/a7487a0681cb11e6f3c5c8eaefd62e5648ad5ea3)) + + + + + +## [5.0.2](https://github.com/pattern-lab/patternlab-node/compare/v5.0.1...v5.0.2) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +## [5.0.1](https://github.com/pattern-lab/patternlab-node/compare/v5.0.0...v5.0.1) (2019-10-28) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +# [5.0.0](https://github.com/pattern-lab/patternlab-node/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) + + +### Bug Fixes + +* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd6159a89232f42e0a9dc3c688b6e21de8fc30)) +* fix Twig Edition examples by adding missing Twig namespaces to config ([b4c20ef](https://github.com/pattern-lab/patternlab-node/commit/b4c20ef88ee0d3010760584c6f05ff7f92b711a6)) + + + + + + +## [3.1.8](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.7...@pattern-lab/edition-twig@3.1.8) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + + +## [3.1.7](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.6...@pattern-lab/edition-twig@3.1.7) (2019-10-14) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + + +## [3.1.3](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.2...@pattern-lab/edition-twig@3.1.3) (2019-08-23) + +**Note:** Version bump only for package @pattern-lab/edition-twig + + + + + +## [3.1.2](https://github.com/pattern-lab/patternlab-node/compare/@pattern-lab/edition-twig@3.1.1...@pattern-lab/edition-twig@3.1.2) (2019-08-23) + + +### Bug Fixes + +* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/commit/8ecd615)) + + + + + + +## [3.1.1](https://github.com/sghoweri/patternlab-node/compare/@pattern-lab/edition-twig@3.1.0...@pattern-lab/edition-twig@3.1.1) (2019-05-16) + **Note:** Version bump only for package @pattern-lab/edition-twig diff --git a/packages/engine-twig/lib/engine_twig.js b/packages/engine-twig/lib/engine_twig.js index 31a0c9f27..72d35ece9 100644 --- a/packages/engine-twig/lib/engine_twig.js +++ b/packages/engine-twig/lib/engine_twig.js @@ -26,7 +26,7 @@ const { TwingEnvironment, TwingLoaderFilesystem, TwingLoaderChain, - TwingSource, + TwingSource } = require('twing'); class TwingLoaderPatternLab { @@ -151,7 +151,7 @@ var engine_twig = { var matches = pattern.template.match(this.findPartialsRE); return matches; }, - findPartialsWithStyleModifiers: function () { + findPartialsWithStyleModifiers: function() { // TODO: make the call to this from oPattern objects conditional on their // being implemented here. return []; @@ -159,26 +159,26 @@ var engine_twig = { // returns any patterns that match {{> value(foo:"bar") }} or {{> // value:mod(foo:"bar") }} within the pattern - findPartialsWithPatternParameters: function () { + findPartialsWithPatternParameters: function() { // TODO: make the call to this from oPattern objects conditional on their // being implemented here. return []; }, - findListItems: function (pattern) { + findListItems: function(pattern) { var matches = pattern.template.match(this.findListItemsRE); return matches; }, // given a pattern, and a partial string, tease out the "pattern key" and // return it. - findPartial: function (partialString) { + findPartial: function(partialString) { var partial = partialString.match(this.findPartialKeyRE)[0]; partial = partial.replace(/"/g, ''); return partial; }, - spawnFile: function (config, fileName) { + spawnFile: function(config, fileName) { const paths = config.paths; const metaFilePath = path.resolve(paths.source.meta, fileName); try { @@ -200,7 +200,7 @@ var engine_twig = { * @param {object} config - the global config object from core, since we won't * assume it's already present */ - spawnMeta: function (config) { + spawnMeta: function(config) { this.spawnFile(config, '_head.twig'); this.spawnFile(config, '_foot.twig'); }, @@ -211,7 +211,7 @@ var engine_twig = { * * @param {object} config - the global config object from core */ - usePatternLabConfig: function (config) { + usePatternLabConfig: function(config) { metaPath = path.resolve(config.paths.source.meta); // Global paths fileSystemLoader.addPath(config.paths.source.meta); @@ -223,11 +223,11 @@ var engine_twig = { config['engines']['twig']['namespaces'] ) { var namespaces = config['engines']['twig']['namespaces']; - Object.keys(namespaces).forEach(function (key, index) { + Object.keys(namespaces).forEach(function(key, index) { fileSystemLoader.addPath(namespaces[key], key); }); } - }, + } }; module.exports = engine_twig; diff --git a/packages/uikit-workshop/CHANGELOG.md b/packages/uikit-workshop/CHANGELOG.md index 22f5bc91e..7b50c1d8c 100644 --- a/packages/uikit-workshop/CHANGELOG.md +++ b/packages/uikit-workshop/CHANGELOG.md @@ -198,399 +198,399 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - -# [5.5.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.4.2...v5.5.0) (2019-12-19) - -**Note:** Version bump only for package @pattern-lab/uikit-workshop - - - - - -## [5.4.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.4.1...v5.4.2) (2019-11-27) - -**Note:** Version bump only for package @pattern-lab/uikit-workshop - - - - - -## [5.4.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.4.0...v5.4.1) (2019-11-26) - - -### Bug Fixes - -* temp workaround to address instance where the latest version of Edge supports ES modules but NOT Custom Elements ([ada3d82](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/ada3d829019345fd33ed949f306972efdcb4fa57)) - - - - - -# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.3.3...v5.4.0) (2019-11-26) - - -### Bug Fixes - -* check if dependency graph file exists before trying to remove ([f9af6a9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/f9af6a95025a22041e7ff8a4bfb19e4727385e98)) -* comment out example config to disable viewAll links ([ddb3fad](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/ddb3fad5770d1d66432c4b583ae9af09a3a47d48)) -* re-add popstate listener ([6dbbd6a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/6dbbd6aae3709cc17544c12dd10588120eb9e71a)) - - -### Features - -* add the ability to disable Pattern Lab viewall links in the navigation ([156e609](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/156e609a92e7f7e7ebd8f4f5cd77b5d695db8bad)) -* major improvements to local UIKit workflow ([4dc9173](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/4dc9173a5a44b422e9677824de3728048b7c4f05)) - - - - - -## [5.3.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.3.2...v5.3.3) (2019-11-22) - - -### Bug Fixes - -* simplify overflow fix ([378cf42](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/378cf4282a3e5b4f597287eb538270e3358c8c69)) -* testing potential FF fix for https://github.com/pattern-lab/patternlab-node/issues/1100 ([613bba1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/613bba104f2082be507938db78f1db7a07f6b8be)) - - - - - - -## [5.3.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.3.1...v5.3.2) (2019-11-14) - -**Note:** Version bump only for package @pattern-lab/uikit-workshop - - - - - -## [5.3.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.3.0...v5.3.1) (2019-11-13) - - -### Bug Fixes - -* CSS fix to properly highlight the correct active page / link in the Nav; improve dropdown open / close animation ([ec4ab84](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/ec4ab84ddc8007796c9012a3f493822d76f039a7)) -* small UI fixes for the sticky Tabs header on smaller screens + drawer content collapsing on smaller screens + better handling of Nav link cleanup when changing pages ([347e2fe](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/347e2fe29a78a1d168005a07c656b4f9f1124c7f)) -* tweak header and drawer padding when viewing on a device with curved edges ([98e9baf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/98e9baf649eceb9124218a924b6b08097b910e86)) -* uikit fixes and minor CSS updates intended for the v5.3.0 release ([26c4ced](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/26c4ceddaae09fa4fa4873f092c924274498c5da)) - - - - - -# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.2.0...v5.3.0) (2019-11-13) - - -### Bug Fixes - -* port over missing UIKit Sass that wasn't added in the original PR ([f7659e6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/f7659e64d0eee13be20921dd5afc48ac20ae93e6)) - - -### Features - -* port latest UIKit updates + fixes upstream ([d07952c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d07952cb07e3792b995dda2e589262ecf4153fdc)) - - - - - -# [5.2.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.1.0...v5.2.0) (2019-11-12) - - -### Bug Fixes - -* add missing $ ([c95a06e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/c95a06ece78631b068f8721666caf33452e57a7a)) -* address bug causing viewport width to progressively decrease in size when resizing your screen / refreshing on certain devices ([41b11af](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/41b11af8aaaf066fcf99abd2513eae8706122d32)) -* configure the Logo's `altText` config option when used as an HTML attribute ([ade34a2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/ade34a29435f5112f0449ad020bee7e9dc2c81e1)) -* fix classname typo ([da3c5f1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/da3c5f144d22b1ac3ad99680a264433d4438ebb2)) -* temp workaround to fix content exceeding the height of drawer container ([435243c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/435243cbfbd000a7d96a0e9fa7beff1a988ede64)) -* update drawer UI to not collapse content on smaller screen sizes ([7147085](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/71470856b8b389421348366afd247a599d1e9c86)) - - -### Features - -* add lit-element, basic Typescript support to Webpack ([611f705](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/611f705be85eea8a31091169750d64e988798cee)) -* add local copy of new Slotify library till published to NPM ([63b9d83](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/63b9d833908151ce5cb5aa5184c72254125c7ed1)) -* add new component to make Button-like styles more reusable ([5e7b014](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/5e7b0140622eb89154c38925769a6def6d669fb3)) -* add new component ([e8ce2a9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/e8ce2a927365b8d5316a7d8229c979ff31b04907)) -* add support for auto-closing Nav when clicking inside of the rendered iframe ([9d602fe](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/9d602fe335a5d3b5bca5cac258c2465934d9a46a)) -* add support for optional chaining syntax via Babel plugin ([c8886b6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/c8886b6d9d91fea246fa3ab7947f289509dc26d5)) -* major refactoring + UI updates to address cross browser support; UI cleanup and conversion of the majority of the remaining components over to lit-element ([2ff8e1c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/2ff8e1c98cdd02e8077064c48eca5f7754a3db02)) -* refactor + convert pl-toggle-info to lit-element ([85cd9c5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/85cd9c50ca814066bf999badf2071d84964f00cc)) -* refactor + convert pl-toggle-layout to lit-element ([46009d9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/46009d91b1cb9ed613baa5a7626cba4f42883465)) -* refactor + convert pl-toggle-theme to lit-element ([95a3b21](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/95a3b21a89dacd2d5b4df8c134ce438d4efdbd04)) -* refactor Drawer to render via lit-element + massively improve rendering performance ([28d47eb](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/28d47eb3cbbce038204203e786e5188b4cefe64f)) -* remove mixin that was causing outlines to be removed from default UI styles ([622ed76](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/622ed76d435b3b2e31e412266c3090506f98051b)) -* temp add unsafe-svg directive till upstream PR merged ([34de61c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/34de61ccd9c7bb3b48ca5ef386a87efc8e84babc)) -* update the Nav design to not bold the active item in order to not shift the layout ([0eda431](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/0eda4312ba9f4c61afa6322c3ff45f9cda0efc9e)) -* update Webpack config to use the latest Style Loader + new SVG icon system ([2ed70e7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/2ed70e79d8656c7314d8b3109aa1c34160ad24f9)) - - - - - - -## [5.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.0.1...v5.0.2) (2019-10-28) - - -### Bug Fixes - -* **uikit-workshop:** add template files to published bundle ([9005fce](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/9005fcee9e129fb41d509f706195e1437bddc710)) -* **uikit-workshop:** add webpack config to published bundle ([060a573](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/060a573cbddce9ee3d270d39337d0c8cac8372fa)) - - - - - -## [5.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.0.0...v5.0.1) (2019-10-28) - - -### Bug Fixes - -* add missing “dist” folder to array of files / folders published to NPM ([8829429](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/88294296c438352570befd2eb6b9e1ca2ae3b750)) - - - - - -# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25) - - -### Bug Fixes - -* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8ecd6159a89232f42e0a9dc3c688b6e21de8fc30)) -* add missing @babel/runtime package to address silent error getting thrown on Travis ([1918d04](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/1918d042d7e90cc8aaa2fdfcd8649961c0a5dd50)) -* add missing preact-render-to-string library ([881296a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/881296a2c256424beac28bd560c5b1a5e1fed005)) -* fall back to seeing the current pattern's query string to `all` or the defaultPattern value if undefined when the iframe page initially loads ([a368459](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a3684590fca02cf96b99421b87a0ad0a711893ad)) -* fix incorrect Webpack version in package.json ([9788e89](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/9788e8977921e31fe43f2a1ec19d4684dd4709c5)) -* fix issue with viewport height exceeding the space available ([95cd1cf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/95cd1cfa57f086ecb84ac2e996ecda81f0c6a1a6)) -* fix Prism.js typo so languages not found / supported don't throw a JS error ([a8c19f9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a8c19f9f9b11d4abbdcd9e573fb0cb418d665660)) -* minor CSS fixes + fresh prod build ([8ac2c1f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8ac2c1fa1c7558ed2ac50755f599a438d682ee2a)) -* re-enable displaying the top level `All` link if PL isn't configured to hide this specific link in the ishControlsHide config option. Addresses [#1048](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/1048) ([6bb4e1a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/6bb4e1ac6f38b47f93030c8c5bca62d5db2132e4)) -* re-enable using the defaultPattern config for the initial iframe page load if defined ([d645ea1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d645ea15150061d7ad13741d2dc37b12b9786411)) -* regenerate fresh UIKit build after fixing main JS issues ([9ea34d2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/9ea34d2efe43cafacb3729ac113121ba51126344)) -* squashing minor UI bugs ([a8a606c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a8a606cfb224f7041f53ff5026a84e13fa17914c)) -* temporarily disable Random and Disco viewport controls until the full JS logic for these is re-enabled ([14b9a19](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/14b9a19e4dee9462f3784eae28066893cc893624)) -* temporarily downgrade Preact version so tooltip used for displaying viewport sizes renders correctly ([52dcf85](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/52dcf85e756ee171ca993288d98f5b5ef9a0a24b)) -* update autoprefixer browserslist config to address warning messages ([5e52f2b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/5e52f2b0ed02e2002ca867368636c3c0dc79ff0a)) -* **plugin:** correct spelling error and function locations ([d4abd88](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d4abd88cb017550002407241b5045a2ad1adb1dc)) -* **uikit:** clear out "404" responses when loading tabs ([73874b1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/73874b1b0b66ca6425c2b74331d417efdb529e2e)) -* **uikit-workshop:** fix merge problem ([d245b3b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d245b3bca044c29f281052bf2feb95eeffafcf6b)) -* update initial PL iframe path default ([a26fbb9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a26fbb956e13901d1751c435b76de65637191ca4)) -* update Javascript to address merge conflict issue with previous PR merge / recent release ([cf2ecc1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/cf2ecc154383c3e8abd56dc88484370bc58ac30b)) -* update styles for pattern state dots ([7728acc](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/7728accc9a6e5cd83be451f7d74e522dfe721cad)) -* updates to fix eslint / prettier issues; update packages/core to reuse root .eslintrc.js file ([5b7a057](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/5b7a057d46ccd16b5832af1441030c7b76f237a8)) -* use 100% of the screen available when JS is disabled / the first time the iframe loads up ([c0c5bff](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/c0c5bff7a63b157d5b81dc2bcecee9e732ecfd4e)) - - -### Features - -* **uikit-workshop:** add plugin-loader ([fc966d6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/fc966d6b151e24055bc2f4146d6a90b5fb392765)) -* remove pre-built uikit dist folder and switch to auto-building when bootstrapping OR when publishing to NPM ([b5dd553](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/b5dd5538ee00ddf1da321851865fa1c223cedb43)) - - -### Reverts - -* don't flatten folders containing only one item inside ([77f1f46](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/77f1f46595328bd96fba46347b532295c65802d1)) - - - - - - -## [1.0.7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.6...@pattern-lab/uikit-workshop@1.0.7) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/uikit-workshop - - - - - - -## [1.0.6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.5...@pattern-lab/uikit-workshop@1.0.6) (2019-10-14) - -**Note:** Version bump only for package @pattern-lab/uikit-workshop - - - - - - -## [1.0.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.1...@pattern-lab/uikit-workshop@1.0.2) (2019-08-23) - - -### Bug Fixes - -* add better pre-rendering support ([8ecd615](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8ecd615)) -* add missing @babel/runtime package to address silent error getting thrown on Travis ([1918d04](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/1918d04)) -* add missing preact-render-to-string library ([881296a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/881296a)) -* fix incorrect Webpack version in package.json ([9788e89](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/9788e89)) -* fix issue with viewport height exceeding the space available ([95cd1cf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/95cd1cf)) -* minor CSS fixes + fresh prod build ([8ac2c1f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8ac2c1f)) -* squashing minor UI bugs ([a8a606c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a8a606c)) -* update initial PL iframe path default ([a26fbb9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a26fbb9)) -* updates to fix eslint / prettier issues; update packages/core to reuse root .eslintrc.js file ([5b7a057](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/5b7a057)) -* **uikit-workshop:** fix merge problem ([d245b3b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/d245b3b)) - - - - - - -## [1.0.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.1-alpha.0...@pattern-lab/uikit-workshop@1.0.1) (2019-05-16) - - -### Bug Fixes - -* **uikit:** uikit no longer requires being in the root directory ([911ff06](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/911ff06)) - - - - - -# [1.0.0-beta.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.0-beta.0...@pattern-lab/uikit-workshop@1.0.0-beta.1) (2019-02-09) - - -### Bug Fixes - -* add missing style-loader ([0ce7470](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/0ce7470)) -* clean up and fix overflow / scrolling issues ([bc13bd2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/bc13bd2)) -* fix bug with context menu not overlapping search input on smaller screen sizes ([0b175d9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/0b175d9)) -* fix inability to previously open / close / traverse pattern lab's navigation via keyboard ([25c9366](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/25c9366)) -* fix scrolling issues with sidebar layout when nested nav sections are open; update sidebar layout to ensure viewport tools are still available on larger screens ([c7d1cda](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/c7d1cda)) -* fix typo with CSS var in mixin ([fd7f2ea](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/fd7f2ea)) -* fixing bug with dropdown offset since original Typeahead styles are no longer inlined ([f3e5467](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/f3e5467)) -* hide borders on action menu when sidebar is visible ([a2e5720](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a2e5720)) -* ie 11 cross browser fixes ([b3abb20](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/b3abb20)) -* misc firefox-related bug fixes and quirks, including requiring the modal-viewer JS to get further delayed to prevent JS binding issues ([62f8bdb](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/62f8bdb)) -* misc IE 11-specific UI and layout bugs ([930b619](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/930b619)) -* remove anti-pattern of removing scrollbars on accordions — prevents users from knowing content is scrollable. also fix accessibility in global PL navigation which had been preventing full keyboard navigation ([cc9bf02](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/cc9bf02)) -* update annotation style to display consistently in browser UI -- display inline isn't centered as expected for example. ([8449b1a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8449b1a)) -* update header styles to less-frequently wrap nav links to multiple lines ([ba0ca74](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/ba0ca74)) -* **package:** remove jshint ([7254a2d](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/7254a2d)) -* update iframe resizer broken path in UIKIt ([875573e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/875573e)) -* update native shim import path ([2959b93](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/2959b93)), closes [/github.com/sghoweri/patternlab-node/commit/72c0168bc4e3621f882c51ad61e32528694b4ad6#diff-d93f7a4be35cabaf5729f725702a9280](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/diff-d93f7a4be35cabaf5729f725702a9280) -* update package.json with missing custom elements packages ([e52e06e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/e52e06e)), closes [/github.com/sghoweri/patternlab-node/commit/72c0168bc4e3621f882c51ad61e32528694b4ad6#diff-e756faf6983689c170147ebe05d614d4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/issues/diff-e756faf6983689c170147ebe05d614d4) -* update query selector to fail properly if Hogan template hadn't yet rendered when this fires off ([a2d77c7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a2d77c7)) -* update sidebar breakpoint to match breakpoints used in other components ([541ca3a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/541ca3a)) -* update the keyboard combo used to auto-focus on the uikit search input to now use command + shift + f vs the browser-specific command + f combo ([8490afc](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/8490afc)) -* update viewport CSS to prevent JS from exceeding the maximum size of the page; update to account for vertical vs horizontal layouts ([c0fcd6f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/c0fcd6f)) -* update Webpack config public path + add to default Webpack config options that can get overwritten via the cosmic config file in place ([b047cba](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/b047cba)) -* workaround to address the pl-search autocomplete not displaying results the first time the component is focused ([95a4e71](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/95a4e71)) - - -### Features - -* add component ([65b1177](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/65b1177)) -* add component ([a04bade](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/a04bade)) -* add localstorage support to redux store ([3d6a834](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/3d6a834)) -* add Preact-powered base component extended by other components ([dd1ac7e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/dd1ac7e)) -* add wrapping component that responds to state changes by the and components ([2141ad7](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/2141ad7)) -* clean up UI controls in the light theme ([cd37c29](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/cd37c29)) -* wire up redux + store + a few basic actions to support globally toggling the theme and layout config options ([01f9dce](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/01f9dce)) - - -### Reverts - -* undo removing hideScroll mixin from previous commit ([caa124a](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/caa124a)) - - - - - - -# [1.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/@pattern-lab/uikit-workshop@1.0.0-alpha.7...@pattern-lab/uikit-workshop@1.0.0-beta.0) (2018-09-07) - - -### Bug Fixes - -* add missing node-sass dependency ([643808b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/643808b)) -* add webpack-cli as a uikit-workshop dependency; update npm script to use locally installed version vs globally / temp version via npx ([812efe9](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/812efe9)) -* adjust how PL's viewport is sized / positioned when the sidebar layout is active so iframed content is centered properly ([3caffbf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/3caffbf)) -* change const back to var since PL's Uikit JS isn't run through Babel just yet.. update Prettier config to ignore Uikit's JavaScript for the time being ([35c5726](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/commit/35c5726)) -* check to make sure the code panel-related