Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

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


### Bug Fixes

* **cli:** set initialized to false during plugin installation ([88cce3f](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/88cce3f))
* **cli:** support scoped plugins ([4ae13ce](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/4ae13ce))
* **package:** update tap dependency ([2b70ff4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/2b70ff4))





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

## [0.0.1-alpha.23](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/[email protected]...@pattern-lab/[email protected]) (2018-07-09)
Expand Down
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "@pattern-lab/cli",
"description": "Command-line interface (CLI) for the @pattern-lab/core.",
"version": "0.0.1-alpha.23",
"version": "0.0.1-beta.0",
"bin": {
"patternlab": "bin/patternlab.js"
},
"author": {
"name": "Raphael Okon"
},
"dependencies": {
"@pattern-lab/core": "^3.0.0-alpha.16",
"@pattern-lab/live-server": "^1.3.3-alpha.6",
"@pattern-lab/core": "^3.0.0-beta.0",
"@pattern-lab/live-server": "^1.3.3-beta.0",
"archiver": "2.1.1",
"chalk": "2.4.1",
"commander": "2.15.1",
Expand Down
21 changes: 21 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="3.0.0-beta.0"></a>
# [3.0.0-beta.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/@pattern-lab/[email protected]...@pattern-lab/[email protected]) (2018-09-07)


### Bug Fixes

* **docs:** update event info with tab example ([0f227a3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/0f227a3))
* **package:** Allow .json extension on annotations file (issue [#836](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/issues/836)) ([b92e62b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/b92e62b))
* **package:** update tap dependency ([2b70ff4](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/2b70ff4))
* **plugins:** support scoped packages ([44f0f8e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/44f0f8e))


### Features

* **API:** remove reliance on patternlab object during plugin install ([0850fd6](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/0850fd6))
* **core:** remove plugin install / disable / enable logic ([5a58824](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/commit/5a58824)), closes [#872](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/issues/872)





<a name="3.0.0-alpha.16"></a>

# [3.0.0-alpha.16](https://github.com/pattern-lab/patternlab-node/tree/master/packages/core/compare/@pattern-lab/[email protected]...@pattern-lab/[email protected]) (2018-07-06)
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@pattern-lab/core",
"description": "Create atomic design systems with Pattern Lab. This is the core API and orchestrator of the ecosystem.",
"version": "3.0.0-alpha.16",
"version": "3.0.0-beta.0",
"main": "./src/index.js",
"dependencies": {
"@pattern-lab/engine-mustache": "^2.0.0-alpha.8",
"@pattern-lab/live-server": "^1.3.3-alpha.6",
"@pattern-lab/engine-mustache": "^2.0.0-beta.0",
"@pattern-lab/live-server": "^1.3.3-beta.0",
"chalk": "1.1.3",
"chokidar": "1.7.0",
"dive": "0.5.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/development-edition-engine-handlebars/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules/
.DS_Store
patternlab.json
.sass-cache/*
/sass-cache
Thumbs.db
.idea/
public
dependencyGraph.json
2 changes: 2 additions & 0 deletions packages/development-edition-engine-handlebars/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package-lock=false
save-exact=true
12 changes: 12 additions & 0 deletions packages/development-edition-engine-handlebars/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
![Pattern Lab Logo](/patternlab.png "Pattern Lab Logo")

# Pattern Lab Node - Development Edition Engine Handlebars

_here be dragons_

This Development Edition is a variant of [Edition Node](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node) for convience purposes only, loaded with the Handlebars Engine. The goals of this Development Edition are two-fold:

* Develop the [Handlebars Engine](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-handlebars)
* Build and test against Handlebars pattern tree

> Development Editions of Pattern Lab provide the ability to work on and commit changes to select packages within the overall Pattern Lab [ecosystem](http://patternlab.io/docs/advanced-ecosystem-overview.html). This Edition is NOT stable.
32 changes: 32 additions & 0 deletions packages/development-edition-engine-handlebars/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "@pattern-lab/development-edition-engine-handlebars",
"private": true,
"version": "0.0.0",
"description": "The tree of components we use to test, develop and validate the Handlebars engine",
"scripts": {
"pl:build": "patternlab build --config ./patternlab-config.json",
"pl:help": "patternlab --help",
"pl:install": "patternlab install --config ./patternlab-config.json",
"pl:serve": "patternlab serve --config ./patternlab-config.json",
"pl:version": "patternlab --version"
},
"keywords": ["Pattern Lab",
"Atomic Web Design",
"Node",
"Handlebars",
"Edition"],
"author": "Brian Muenzenmeye",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/pattern-lab/patternlab-node.git"
},
"dependencies": {
"@pattern-lab/cli": "^0.0.1-beta.0",
"@pattern-lab/core": "^3.0.0-beta.0",
"@pattern-lab/engine-handlebars": "^2.0.0-beta.0",
"@pattern-lab/engine-mustache": "^2.0.0-beta.0",
"@pattern-lab/starterkit-mustache-demo": "^5.0.0",
"@pattern-lab/uikit-workshop": "^1.0.0-beta.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"cacheBust": true,
"cleanPublic": true,
"defaultPattern": "all",
"defaultShowPatternInfo": false,
"ishControlsHide": {
"s": true,
"m": true,
"l": true,
"full": false,
"random": true,
"disco": true,
"hay": true,
"mqs": true,
"find": true,
"views-all": false,
"views-annotations": false,
"views-code": false,
"views-new": false,
"tools-all": false,
"tools-docs": false
},
"ishViewportRange": {
"s": [240, 500],
"m": [500, 800],
"l": [800, 2600]
},
"logLevel": "info",
"outputFileSuffixes": {
"rendered": ".rendered",
"rawTemplate": "",
"markupOnly": ".markup-only"
},
"paths": {
"source": {
"root": "source/",
"patterns": "source/_patterns/",
"data": "source/_data/",
"meta": "source/_meta/",
"annotations": "source/_annotations/",
"styleguide": "dist/",
"patternlabFiles": {
"general-header": "views/partials/general-header.mustache",
"general-footer": "views/partials/general-footer.mustache",
"patternSection": "views/partials/patternSection.mustache",
"patternSectionSubtype": "views/partials/patternSectionSubtype.mustache",
"viewall": "views/viewall.mustache"
},
"js": "source/js",
"images": "source/images",
"fonts": "source/fonts",
"css": "source/css"
},
"public": {
"root": "public/",
"patterns": "public/patterns/",
"data": "public/styleguide/data/",
"annotations": "public/annotations/",
"styleguide": "public/styleguide/",
"js": "public/js",
"images": "public/images",
"fonts": "public/fonts",
"css": "public/css"
}
},
"patternExtension": "hbs",
"patternStateCascade": ["inprogress", "inreview", "complete"],
"patternExportDirectory": "pattern_exports",
"patternExportPatternPartials": [],
"serverOptions": {
"wait": 1000
},
"starterkitSubDir": "dist",
"styleGuideExcludes": [],
"theme": {
"color": "dark",
"density": "compact",
"layout": "horizontal"
},
"uikits": [
{
"name": "uikit-workshop",
"outputDir": "",
"enabled": true,
"excludedPatternStates": [],
"excludedTags": []
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"comments": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "2",
"swatches": [
{
"color": {
"hex": "#031636",
"cmyk": "94 59 0 79"
},
"label": "dark blue"
},
{
"color": {
"hex": "#0D80F0",
"cmyk": "95 47 0 6"
},
"label": "light blue"
},
{
"color": {
"hex": "#4c4c4c",
"cmyk": "0 0 0 70"
},
"label": "dark grey"
},
{
"color": {
"hex": "#b2b2b2",
"cmyk": "0 0 0 30"
},
"label": "light grey",
"inverted": true
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"1": {},
"2": {},
"3": {},
"4": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This is the default location to place meta files, otherwise known a pattern's header and footer.

Pattern Lab builds each pattern while prepending and appending the header and footer. Read more about [pattern headers and footers](http://patternlab.io/docs/pattern-header-footer.html).

If you wish to rename this directory, make sure you update the `paths.source.meta` property within `patternlab-config.json`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html class="{{ htmlClass }}">

<head>
<title>{{ title }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />

<link href="https://fonts.googleapis.com/css?family=Cabin+Condensed|Roboto" rel="stylesheet">
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />

<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
{{{ patternLabHead }}}
<!-- End Pattern Lab -->

</head>

<body class="{{ bodyClass }}">
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html class="{{ htmlClass }}">
<head>
<title>{{ title }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />

<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />

<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
{{{ patternLabHead }}}
<!-- End Pattern Lab -->

</head>
<body class="{{ bodyClass }}">

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

<!--DO NOT REMOVE-->
{{{ patternLabFoot }}}

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

<!--DO NOT REMOVE-->
{{{ patternLabFoot }}}

</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="sg-swatch" style="background: {{color.hex}}">
<span class="sg-label {{#if inverted}}sg-label__inverted{{/if}} sg-label__top">{{label}}</span>
<span class="sg-label {{#if inverted}}sg-label__inverted{{/if}} sg-label__bottom">hex: {{color.hex}}</span>
<span class="sg-label {{#if inverted}}sg-label__inverted{{/if}} sg-label__bottom">cmyk: {{color.cmyk}}</span>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"color": {
"hex": "#031636",
"cmyk": "94 59 0 79"
},
"label": "dark blue"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pattern Lab Tip: Note the use of the [built-in handlebars helper, `if`](https://handlebarsjs.com/builtin_helpers.html) and the ability to address data using dot notation [paths](https://handlebarsjs.com/#paths).
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<small class="annotation {{class}}">{{#if annotation}}{{annotation}}{{else}}v{{version}}{{/if}} </small>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<ul class="sg-colors">
<li>hi12
{{> atoms-annotation annotation="possible colors"}}
</li>
{{#each swatches}}
<li class="sg-color">{{> atoms-swatch }}</li>
{{/each}}
</ul>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pattern Lab Tip: Note the use of the [built-in handlebars helper, `each`](https://handlebarsjs.com/builtin_helpers.html).
Loading