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

Commit

Permalink
Merge pull request #59 from pattern-lab/dev
Browse files Browse the repository at this point in the history
Edition Node Gulp 1.2.4
  • Loading branch information
Brian Muenzenmeyer authored Jul 13, 2016
2 parents 2221ce1 + 850c0a2 commit 71d98a7
Show file tree
Hide file tree
Showing 89 changed files with 995 additions and 4,284 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ The Gulp Edition comes with the following components:

## Prerequisites

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.
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.

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

It's also highly recommended that you [install gulp](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md) globally.

* 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.
> 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.
## Installing

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

### Download a pre-built package

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.
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.

**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.

### Use npm

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

* download or clone this repository to an install location.
* download or `git clone` this repository to an install location.

* run the following

```
cd install/location
npm install
```

Running `npm install` from a directory containing a `package.json` file will download all dependencies defined within.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "edition-node-gulp",
"description": "The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.",
"version": "1.2.3",
"version": "1.2.4",
"dependencies": {
"browser-sync": "^2.11.2",
"gulp": "gulpjs/gulp#4.0",
Expand Down
18 changes: 9 additions & 9 deletions source/_annotations/annotations.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var comments = {
"comments" : [
{
"el": "#colors",
"title" : "Special Markup and Styling",
"comment": "This code uses pattern-scaffolding.css in the `source/css/` directory."
}
]
};
{
"comments" : [
{
"el": "#annotation-css-selector",
"title" : "Annotation title",
"comment": "Annotation description"
}
]
}
166 changes: 74 additions & 92 deletions source/_data/data.json
Original file line number Diff line number Diff line change
@@ -1,93 +1,75 @@
{
"title" : "Pattern Lab",
"htmlClass": "pl",
"bodyClass": "body",
"img": {
"landscape-4x3": {
"src": "../../images/fpo_4x3.png",
"alt": "4x3 Image"
},
"landscape-16x9": {
"src": "../../images/fpo_16x9.png",
"alt": "16x9 Image"
},
"square": {
"src": "../../images/fpo_square.png",
"alt": "Square Thumbnail"
},
"avatar" : {
"src" : "../../images/fpo_avatar.png",
"alt" : "Person Name"
},
"rectangle": {
"src": "http://placeimg.com/400/300/tech",
"alt": "Rectangle"
}
},
"headline" : {
"short" : "Lorem ipsum dolor sit (37 characters)",
"medium" : "Lorem ipsum dolor sit amet, consectetur adipiscing elit. (72 characters)"
},
"excerpt" : {
"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",
"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.",
"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."
},
"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.",
"url" : "#",
"name" : {
"first": "Lacy",
"firsti": "L",
"middle": "Tommie",
"middlei": "T",
"last": "Way",
"lasti": "W"
},
"year" : {
"long": "2013",
"short": "13"
},
"month" : {
"long": "February",
"short": "Feb",
"digit": "02"
},
"dayofweek" : {
"long": "Monday",
"short": "Mon"
},
"day" : {
"long": "10",
"short": "10",
"ordinal": "th"
},
"hour" : {
"long": "01",
"short": "1",
"military": "13",
"ampm": "pm"
},
"minute" : {
"long": "20",
"short": "20"
},
"seconds" : "31",
"author" : {
"first-name": "Author",
"last-name": "Name"
},
"hero": true,
"emergency" : false,
"touts" : [
{ },
{ },
{ }
],
"latest-posts" : [
{ },
{ },
{ },
{ },
{ }
]
}
"key": "value",
"key2": "use this for variables you want to load globally",
"title": "Nullizzle shizznit velizzle, hizzle, suscipit own yo', gravida vizzle, arcu.",
"img": {
"avatar": {
"src": "http://placeimg.com/100/100/people",
"alt": "Avatar"
},
"square": {
"src": "http://placeimg.com/300/300/nature",
"alt": "Square"
},
"rectangle": {
"src": "http://placeimg.com/400/300/tech",
"alt": "Rectangle"
},
"landscape-4x3": {
"src": "http://placeimg.com/400/300/tech",
"alt": "4x3 Image"
},
"landscape-16x9": {
"src": "http://placeimg.com/640/360/tech",
"alt": "16x9 Image"
}
},
"headline": {
"short": "Lorizzle pimpin' dolizzle sit amet I",
"medium": "Rizzle adipiscing elizzle. Nullam sapien velizzle, shit volutpizzle, my"
},
"excerpt": {
"short": "Shizz fo shizzle mah nizzle fo rizzle, mah home g-dizzle, gravida vizzle, arcu. Pellentesque crunk tortizzle. Sed erizzle. Black izzle sheezy telliv.",
"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.",
"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."
},
"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.",
"url": "http://lorizzle.nl/",
"name": {
"first": "Junius",
"firsti": "J",
"middle": "Marius",
"middlei": "M",
"last": "Koolen",
"lasti": "K"
},
"year": {
"long": "2013",
"short": "13"
},
"month": {
"long": "January",
"short": "Jan",
"digit": "01"
},
"dayofweek": {
"long": "Sunday",
"short": "Sun"
},
"day": {
"long": "01",
"short": "1",
"ordinal": "st"
},
"hour": {
"long": "06",
"short": "6",
"military": "06",
"ampm": "am"
},
"minute": {
"long": "20",
"short": "20"
},
"seconds": "31"
}
Loading

0 comments on commit 71d98a7

Please sign in to comment.