Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 71d98a7

Browse files
author
Brian Muenzenmeyer
authored
Merge pull request #59 from pattern-lab/dev
Edition Node Gulp 1.2.4
2 parents 2221ce1 + 850c0a2 commit 71d98a7

File tree

89 files changed

+995
-4284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+995
-4284
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ The Gulp Edition comes with the following components:
1313

1414
## Prerequisites
1515

16-
Pattern Lab Node uses [Node](https://nodejs.org) and [npm](https://www.npmjs.com/) to manage project dependencies, and [gulp](http://gulpjs.com/) to run tasks and interface with core.
16+
The Pattern Lab Node - Gulp Edition uses [Node](https://nodejs.org) for core processing, [npm](https://www.npmjs.com/) to manage project dependencies, and [gulp.js](http://gulpjs.com/) to run tasks and interface with the core library. Node version 4 or higher suffices. You can follow the directions for [installing Node](https://nodejs.org/en/download/) on the Node website if you haven't done so already. Installation of Node will include npm.
1717

18-
Please follow the directions for [installing Node](https://nodejs.org/en/download/) on the Node website. This should include `npm`.
18+
It's also highly recommended that you [install gulp](hhttps://github.com/gulpjs/gulp/blob/4.0/docs/getting-started.md) globally.
1919

20-
It's also highly recommended that you [install gulp](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md) globally.
21-
22-
* Note: The Gulp Edition uses Gulp 4, which may require a new global install of the CLI tool Gulp uses. Follow the [gulp upgrade instructions](https://github.com/pattern-lab/edition-node-gulp/wiki/Updating-to-Gulp-4) if you already have gulp installed and need to upgrade.
20+
> Note: The Gulp Edition of Pattern Lab uses Gulp 4, which may require a new global install of the Gulp command line interface. Follow the [gulp upgrade instructions](https://github.com/pattern-lab/edition-node-gulp/wiki/Updating-to-Gulp-4) if you already have gulp installed and need to upgrade. Gulp 4 is in alpha, but brings many benefits to the table and is relatively stable.
2321
2422
## Installing
2523

@@ -30,19 +28,22 @@ There are two methods for downloading and installing the Gulp Edition:
3028

3129
### Download a pre-built package
3230

33-
The fastest way to get started with the Gulp Edition is to [download the pre-built version](https://github.com/pattern-lab/edition-node-gulp/releases) from the [releases page](https://github.com/pattern-lab/edition-node-gulp/releases). The pre-built project comes with the [Default Starterkit for Mustache](https://github.com/pattern-lab/starterkit-mustache-default/tree/dev) installed by default.
31+
The fastest way to get started with the Gulp Edition is to [download the pre-built version](https://github.com/pattern-lab/edition-node-gulp/releases) from the [releases page](https://github.com/pattern-lab/edition-node-gulp/releases). The pre-built project comes with the [Base Starterkit for Mustache](https://github.com/pattern-lab/starterkit-mustache-base) installed by default.
3432

3533
**Please note:** Pattern Lab Node uses [npm](https://www.npmjs.com/) to manage project dependencies. To upgrade the Gulp Edition or to install plug-ins you'll need to be familiar with npm.
3634

3735
### Use npm
3836

3937
`npm` is a dependency management and package system which can pull in all of the Gulp Edition's dependencies for you. To accomplish this:
4038

41-
* download or clone this repository to an install location.
39+
* download or `git clone` this repository to an install location.
4240

4341
* run the following
42+
43+
```
4444
cd install/location
4545
npm install
46+
```
4647
4748
Running `npm install` from a directory containing a `package.json` file will download all dependencies defined within.
4849

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "edition-node-gulp",
33
"description": "The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.",
4-
"version": "1.2.3",
4+
"version": "1.2.4",
55
"dependencies": {
66
"browser-sync": "^2.11.2",
77
"gulp": "gulpjs/gulp#4.0",

source/_annotations/annotations.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
var comments = {
2-
"comments" : [
3-
{
4-
"el": "#colors",
5-
"title" : "Special Markup and Styling",
6-
"comment": "This code uses pattern-scaffolding.css in the `source/css/` directory."
7-
}
8-
]
9-
};
1+
{
2+
"comments" : [
3+
{
4+
"el": "#annotation-css-selector",
5+
"title" : "Annotation title",
6+
"comment": "Annotation description"
7+
}
8+
]
9+
}

source/_data/data.json

Lines changed: 74 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,75 @@
11
{
2-
"title" : "Pattern Lab",
3-
"htmlClass": "pl",
4-
"bodyClass": "body",
5-
"img": {
6-
"landscape-4x3": {
7-
"src": "../../images/fpo_4x3.png",
8-
"alt": "4x3 Image"
9-
},
10-
"landscape-16x9": {
11-
"src": "../../images/fpo_16x9.png",
12-
"alt": "16x9 Image"
13-
},
14-
"square": {
15-
"src": "../../images/fpo_square.png",
16-
"alt": "Square Thumbnail"
17-
},
18-
"avatar" : {
19-
"src" : "../../images/fpo_avatar.png",
20-
"alt" : "Person Name"
21-
},
22-
"rectangle": {
23-
"src": "http://placeimg.com/400/300/tech",
24-
"alt": "Rectangle"
25-
}
26-
},
27-
"headline" : {
28-
"short" : "Lorem ipsum dolor sit (37 characters)",
29-
"medium" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. (72 characters)"
30-
},
31-
"excerpt" : {
32-
"short" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam",
33-
"medium" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
34-
"long" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
35-
},
36-
"description" : "So, setting about it as methodically as men might smoke out a wasps' nest, the Martians spread this strange stifling vapour over the Londonward country. The horns of the crescent slowly moved apart, until at last they formed a line from Hanwell to Coombe and Malden. All night through their destructive tubes advanced.",
37-
"url" : "#",
38-
"name" : {
39-
"first": "Lacy",
40-
"firsti": "L",
41-
"middle": "Tommie",
42-
"middlei": "T",
43-
"last": "Way",
44-
"lasti": "W"
45-
},
46-
"year" : {
47-
"long": "2013",
48-
"short": "13"
49-
},
50-
"month" : {
51-
"long": "February",
52-
"short": "Feb",
53-
"digit": "02"
54-
},
55-
"dayofweek" : {
56-
"long": "Monday",
57-
"short": "Mon"
58-
},
59-
"day" : {
60-
"long": "10",
61-
"short": "10",
62-
"ordinal": "th"
63-
},
64-
"hour" : {
65-
"long": "01",
66-
"short": "1",
67-
"military": "13",
68-
"ampm": "pm"
69-
},
70-
"minute" : {
71-
"long": "20",
72-
"short": "20"
73-
},
74-
"seconds" : "31",
75-
"author" : {
76-
"first-name": "Author",
77-
"last-name": "Name"
78-
},
79-
"hero": true,
80-
"emergency" : false,
81-
"touts" : [
82-
{ },
83-
{ },
84-
{ }
85-
],
86-
"latest-posts" : [
87-
{ },
88-
{ },
89-
{ },
90-
{ },
91-
{ }
92-
]
93-
}
2+
"key": "value",
3+
"key2": "use this for variables you want to load globally",
4+
"title": "Nullizzle shizznit velizzle, hizzle, suscipit own yo', gravida vizzle, arcu.",
5+
"img": {
6+
"avatar": {
7+
"src": "http://placeimg.com/100/100/people",
8+
"alt": "Avatar"
9+
},
10+
"square": {
11+
"src": "http://placeimg.com/300/300/nature",
12+
"alt": "Square"
13+
},
14+
"rectangle": {
15+
"src": "http://placeimg.com/400/300/tech",
16+
"alt": "Rectangle"
17+
},
18+
"landscape-4x3": {
19+
"src": "http://placeimg.com/400/300/tech",
20+
"alt": "4x3 Image"
21+
},
22+
"landscape-16x9": {
23+
"src": "http://placeimg.com/640/360/tech",
24+
"alt": "16x9 Image"
25+
}
26+
},
27+
"headline": {
28+
"short": "Lorizzle pimpin' dolizzle sit amet I",
29+
"medium": "Rizzle adipiscing elizzle. Nullam sapien velizzle, shit volutpizzle, my"
30+
},
31+
"excerpt": {
32+
"short": "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
33+
"medium": "Izzle crazy tempizzle sizzle. We gonna chung gangsta get down get down fo shizzle turpizzle. Away break it down black. Pellentesque bling bling rhoncus fo shizzle. In hac the bizzle platea dictumst. Black dapibizzle. Crackalackin.",
34+
"long": "Curabitizzle fo shizzle diam quizzle nisi nizzle mollizzle. Suspendisse boofron. Morbi odio. Sure pizzle. Crazy orci. Shut the shizzle up maurizzle get down get down, check out this a, go to hizzle sit amizzle, malesuada izzle, pede. Pellentesque gravida. Vestibulizzle check it out mi, volutpat izzle, shiz sed, shiznit sempizzle, da bomb. Funky fresh in ipsum. Da bomb volutpat felis vizzle daahng dawg. Crizzle quis dope izzle fo shizzle my ni."
35+
},
36+
"description": "Fizzle crazy tortor. Sed rizzle. Ass pimpin' dolor dapibizzle turpis tempizzle fo shizzle my nizzle. Maurizzle pellentesque its fo rizzle izzle turpis. Get down get down we gonna chung nizzle. Shizzlin dizzle eleifend rhoncizzle break it down. In yo ghetto platea dictumst. Bling bling dapibizzle. Curabitur break yo neck, yall fo, pretizzle eu, go to hizzle dope, own yo' vitae, nunc. Bizzle suscipizzle. Ass semper velit sizzle fo.",
37+
"url": "http://lorizzle.nl/",
38+
"name": {
39+
"first": "Junius",
40+
"firsti": "J",
41+
"middle": "Marius",
42+
"middlei": "M",
43+
"last": "Koolen",
44+
"lasti": "K"
45+
},
46+
"year": {
47+
"long": "2013",
48+
"short": "13"
49+
},
50+
"month": {
51+
"long": "January",
52+
"short": "Jan",
53+
"digit": "01"
54+
},
55+
"dayofweek": {
56+
"long": "Sunday",
57+
"short": "Sun"
58+
},
59+
"day": {
60+
"long": "01",
61+
"short": "1",
62+
"ordinal": "st"
63+
},
64+
"hour": {
65+
"long": "06",
66+
"short": "6",
67+
"military": "06",
68+
"ampm": "am"
69+
},
70+
"minute": {
71+
"long": "20",
72+
"short": "20"
73+
},
74+
"seconds": "31"
75+
}

0 commit comments

Comments
 (0)