Skip to content

Commit 454095d

Browse files
committed
feat(package): add handlebars development edition
1 parent de86738 commit 454095d

File tree

24 files changed

+320
-0
lines changed

24 files changed

+320
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/
2+
.DS_Store
3+
patternlab.json
4+
.sass-cache/*
5+
/sass-cache
6+
Thumbs.db
7+
.idea/
8+
public
9+
dependencyGraph.json
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package-lock=false
2+
save-exact=true
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
![Pattern Lab Logo](/patternlab.png "Pattern Lab Logo")
2+
3+
# Pattern Lab Node - Development Edition Engine Handlebars
4+
5+
_here be dragons_
6+
7+
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:
8+
9+
* Develop the [Handlebars Engine](https://github.com/pattern-lab/patternlab-node/tree/master/packages/engine-handlebars)
10+
* Build and test against Handlebars pattern tree
11+
12+
> 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.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "@pattern-lab/development-edition-engine-handlebars",
3+
"private": true,
4+
"version": "0.0.0",
5+
"description": "The tree of components we use to test, develop and validate the Handlebars engine",
6+
"scripts": {
7+
"pl:build": "patternlab build --config ./patternlab-config.json",
8+
"pl:help": "patternlab --help",
9+
"pl:install": "patternlab install --config ./patternlab-config.json",
10+
"pl:serve": "patternlab serve --config ./patternlab-config.json",
11+
"pl:version": "patternlab --version"
12+
},
13+
"keywords": ["Pattern Lab",
14+
"Atomic Web Design",
15+
"Node",
16+
"Handlebars",
17+
"Edition"],
18+
"author": "Brian Muenzenmeye",
19+
"license": "MIT",
20+
"repository": {
21+
"type": "git",
22+
"url": "git://github.com/pattern-lab/patternlab-node.git"
23+
},
24+
"dependencies": {
25+
"@pattern-lab/cli": "^0.0.1-beta.0",
26+
"@pattern-lab/core": "^3.0.0-beta.0",
27+
"@pattern-lab/engine-handlebars": "^2.0.0-beta.0",
28+
"@pattern-lab/engine-mustache": "^2.0.0-beta.0",
29+
"@pattern-lab/starterkit-mustache-demo": "^5.0.0",
30+
"@pattern-lab/uikit-workshop": "^1.0.0-beta.0"
31+
}
32+
}
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"cacheBust": true,
3+
"cleanPublic": true,
4+
"defaultPattern": "all",
5+
"defaultShowPatternInfo": false,
6+
"ishControlsHide": {
7+
"s": true,
8+
"m": true,
9+
"l": true,
10+
"full": false,
11+
"random": true,
12+
"disco": true,
13+
"hay": true,
14+
"mqs": true,
15+
"find": true,
16+
"views-all": false,
17+
"views-annotations": false,
18+
"views-code": false,
19+
"views-new": false,
20+
"tools-all": false,
21+
"tools-docs": false
22+
},
23+
"ishViewportRange": {
24+
"s": [240, 500],
25+
"m": [500, 800],
26+
"l": [800, 2600]
27+
},
28+
"logLevel": "info",
29+
"outputFileSuffixes": {
30+
"rendered": ".rendered",
31+
"rawTemplate": "",
32+
"markupOnly": ".markup-only"
33+
},
34+
"paths": {
35+
"source": {
36+
"root": "source/",
37+
"patterns": "source/_patterns/",
38+
"data": "source/_data/",
39+
"meta": "source/_meta/",
40+
"annotations": "source/_annotations/",
41+
"styleguide": "dist/",
42+
"patternlabFiles": {
43+
"general-header": "views/partials/general-header.mustache",
44+
"general-footer": "views/partials/general-footer.mustache",
45+
"patternSection": "views/partials/patternSection.mustache",
46+
"patternSectionSubtype": "views/partials/patternSectionSubtype.mustache",
47+
"viewall": "views/viewall.mustache"
48+
},
49+
"js": "source/js",
50+
"images": "source/images",
51+
"fonts": "source/fonts",
52+
"css": "source/css"
53+
},
54+
"public": {
55+
"root": "public/",
56+
"patterns": "public/patterns/",
57+
"data": "public/styleguide/data/",
58+
"annotations": "public/annotations/",
59+
"styleguide": "public/styleguide/",
60+
"js": "public/js",
61+
"images": "public/images",
62+
"fonts": "public/fonts",
63+
"css": "public/css"
64+
}
65+
},
66+
"patternExtension": "hbs",
67+
"patternStateCascade": ["inprogress", "inreview", "complete"],
68+
"patternExportDirectory": "pattern_exports",
69+
"patternExportPatternPartials": [],
70+
"serverOptions": {
71+
"wait": 1000
72+
},
73+
"starterkitSubDir": "dist",
74+
"styleGuideExcludes": [],
75+
"theme": {
76+
"color": "dark",
77+
"density": "compact",
78+
"layout": "horizontal"
79+
},
80+
"uikits": [
81+
{
82+
"name": "uikit-workshop",
83+
"outputDir": "",
84+
"enabled": true,
85+
"excludedPatternStates": [],
86+
"excludedTags": []
87+
}
88+
]
89+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"comments": []
3+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "2",
3+
"swatches": [
4+
{
5+
"color": {
6+
"hex": "#031636",
7+
"cmyk": "94 59 0 79"
8+
},
9+
"label": "dark blue"
10+
},
11+
{
12+
"color": {
13+
"hex": "#0D80F0",
14+
"cmyk": "95 47 0 6"
15+
},
16+
"label": "light blue"
17+
},
18+
{
19+
"color": {
20+
"hex": "#4c4c4c",
21+
"cmyk": "0 0 0 70"
22+
},
23+
"label": "dark grey"
24+
},
25+
{
26+
"color": {
27+
"hex": "#b2b2b2",
28+
"cmyk": "0 0 0 30"
29+
},
30+
"label": "light grey",
31+
"inverted": true
32+
}
33+
]
34+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"1": {},
3+
"2": {},
4+
"3": {},
5+
"4": {}
6+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This is the default location to place meta files, otherwise known a pattern's header and footer.
2+
3+
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).
4+
5+
If you wish to rename this directory, make sure you update the `paths.source.meta` property within `patternlab-config.json`.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html class="{{ htmlClass }}">
3+
4+
<head>
5+
<title>{{ title }}</title>
6+
<meta charset="UTF-8">
7+
<meta name="viewport" content="width=device-width" />
8+
9+
<link href="https://fonts.googleapis.com/css?family=Cabin+Condensed|Roboto" rel="stylesheet">
10+
<link rel="stylesheet" href="../../css/style.css?{{ cacheBuster }}" media="all" />
11+
<link rel="stylesheet" href="../../css/pattern-scaffolding.css?{{ cacheBuster }}" media="all" />
12+
13+
<!-- Begin Pattern Lab (Required for Pattern Lab to run properly) -->
14+
{{{ patternLabHead }}}
15+
<!-- End Pattern Lab -->
16+
17+
</head>
18+
19+
<body class="{{ bodyClass }}">

0 commit comments

Comments
 (0)