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

Commit 8ca37dc

Browse files
Merge pull request #72 from pattern-lab/dev
Edition Node Gulp 1.3.0
2 parents 1c98b0c + 5b369ba commit 8ca37dc

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The Pattern Lab Node - Gulp Edition uses [Node](https://nodejs.org) for core pro
1717

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

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.
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. You can alternatively [run with local gulp instead of global gulp](https://github.com/pattern-lab/patternlab-node/wiki/Running-with-Local-Gulp-Instead-of-Global-Gulp), but commands are a bit more verbose. The rest of this documentation assumes a global install.
2121
2222
## Installing
2323

@@ -58,6 +58,12 @@ Use npm's [`install` command](https://docs.npmjs.com/cli/install) with an argume
5858
5959
This will install the Gulp Edition into a directory called `node_modules` in `install/location/`.
6060
61+
## Getting Started
62+
63+
The Pattern Lab Node - Gulp Edition ships with a [base experience](https://github.com/pattern-lab/starterkit-mustache-base) which serves as clean place to start from scratch with Pattern Lab. But if you want to get rolling with a starterkit of your own, or use the [demo starterkit](https://github.com/pattern-lab/starterkit-mustache-demo) like the one on [demo.patternlab.io](http://demo.patternlab.io), you can do so automatically at time of `npm install` by adding your starterkit to the `package.json` file.
64+
65+
You can also [work with starterkits using the command line](https://github.com/pattern-lab/patternlab-node/wiki/Importing-Starterkits).
66+
6167
## Updating Pattern Lab
6268
6369
To update Pattern Lab please refer to each component's GitHub repository, and the [master instructions for core](https://github.com/pattern-lab/patternlab-node/wiki/Upgrading). The components are listed at the top of the README.
@@ -66,6 +72,8 @@ To update Pattern Lab please refer to each component's GitHub repository, and th
6672
6773
These are some helpful commands you can use on the command line for working with Pattern Lab.
6874
75+
> Reminder: These commands assume a global installation of gulp 4.X, instead of a local installation. Depending on your preference, you may need to [upgrade your global version of gulp](https://github.com/pattern-lab/edition-node-gulp/wiki/Updating-to-Gulp-4) or [run with local gulp](https://github.com/pattern-lab/patternlab-node/wiki/Running-with-Local-Gulp-Instead-of-Global-Gulp).
76+
6977
### List all of the available commands
7078
7179
To list all available commands type:

package.json

Lines changed: 4 additions & 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.4",
4+
"version": "1.3.0",
55
"dependencies": {
66
"browser-sync": "^2.11.2",
77
"gulp": "gulpjs/gulp#4.0",
@@ -23,6 +23,9 @@
2323
},
2424
"bugs": "https://github.com/pattern-lab/edition-node-gulp/issues",
2525
"author": "Brian Muenzenmeyer",
26+
"scripts": {
27+
"postinstall": "node node_modules/patternlab-node/core/scripts/postinstall.js"
28+
},
2629
"license": "MIT",
2730
"engines": {
2831
"node": ">=5.0"

patternlab-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,10 @@
5959
"patternExportPatternPartials": [],
6060
"patternExportDirectory": "./pattern_exports/",
6161
"cacheBust": true,
62-
"starterkitSubDir": "dist"
62+
"starterkitSubDir": "dist",
63+
"outputFileSuffixes": {
64+
"rendered": ".rendered",
65+
"rawTemplate": "",
66+
"markupOnly": ".markup-only"
67+
}
6368
}

0 commit comments

Comments
 (0)