Skip to content

Commit ad20e10

Browse files
authored
Merge pull request #1 from drupal-pattern-lab/feature/update-fork
Update fork to our dependencies
2 parents b2fb09d + 092bc3f commit ad20e10

File tree

3 files changed

+35
-9
lines changed

3 files changed

+35
-9
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: php
2+
php:
3+
- 5.5
4+
- 7.0
5+
install:
6+
- composer create-project --no-interaction
7+
script:
8+
- php core/console --generate

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
![license](https://img.shields.io/github/license/pattern-lab/edition-php-twig-standard.svg)
2-
[![Packagist](https://img.shields.io/packagist/v/pattern-lab/edition-twig-standard.svg)](https://packagist.org/packages/pattern-lab/edition-mustache-webdesignday) [![Gitter](https://img.shields.io/gitter/room/pattern-lab/php.svg)](https://gitter.im/pattern-lab/php)
3-
41
# Pattern Lab Standard Edition for Twig
52

63
The Standard Edition for Twig gives developers and designers a clean and stable base from which to develop a Twig-based pattern library.
74

5+
> **ATTENTION**: This is [a fork of the original](https://github.com/pattern-lab/edition-php-twig-standard) by the [Drupal Pattern Lab GitHub Org](https://github.com/drupal-pattern-lab), as are all dependencies. See [our reasons for forking](https://drupal-pattern-lab.github.io/faqs/#why-fork-pattern-lab) - it's out of love for Pattern Lab.
6+
87
## Packaged Components
98

109
The Standard Edition for Twig comes with the following components:
1110

12-
* `pattern-lab/core`: [GitHub](https://github.com/pattern-lab/patternlab-php-core), [Packagist](https://packagist.org/packages/pattern-lab/core)
13-
* `pattern-lab/patternengine-twig`: [documentation](https://github.com/pattern-lab/patternengine-php-twig#twig-patternengine-for-pattern-lab-php), [GitHub](https://github.com/pattern-lab/patternengine-php-twig), [Packagist](https://packagist.org/packages/pattern-lab/patternengine-twig)
14-
* `pattern-lab/styleguidekit-assets-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-assets-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-assets-default)
15-
* `pattern-lab/styleguidekit-twig-default`: [GitHub](https://github.com/pattern-lab/styleguidekit-twig-default), [Packagist](https://packagist.org/packages/pattern-lab/styleguidekit-twig-default)
11+
* `pattern-lab/core`: [GitHub](https://github.com/drupal-pattern-lab/patternlab-php-core)
12+
* `pattern-lab/patternengine-twig`: [GitHub](https://github.com/drupal-pattern-lab/patternengine-php-twig)
13+
* `pattern-lab/styleguidekit-assets-default`: [GitHub](https://github.com/drupal-pattern-lab/styleguidekit-assets-default)
14+
* `pattern-lab/styleguidekit-twig-default`: [GitHub](https://github.com/drupal-pattern-lab/styleguidekit-twig-default)
1615

1716
## Installing
1817

@@ -23,7 +22,7 @@ There are two methods for downloading and installing the Standard Edition for Tw
2322

2423
### Download a pre-built project
2524

26-
The fastest way to get started with the Standard Edition for Twig is to [download the pre-built version](https://github.com/pattern-lab/edition-php-twig-standard/releases) from the [releases page](https://github.com/pattern-lab/edition-php-twig-standard/releases). The pre-built project comes with the [Base StarterKit for Twig](https://github.com/pattern-lab/starterkit-twig-base) installed by default.
25+
The fastest way to get started with the Standard Edition for Twig is to [download the pre-built version](https://github.com/drupal-pattern-lab/edition-php-twig-standard/releases) from the [releases page](https://github.com/drupal-pattern-lab/edition-php-twig-standard/releases). The pre-built project comes with the [Base StarterKit for Twig](https://github.com/drupal-pattern-lab/starterkit-twig-base) installed by default.
2726

2827
**Please note:** Pattern Lab uses [Composer](https://getcomposer.org/) to manage project dependencies. To upgrade the Standard Edition for Twig or to install plug-ins you'll need to [install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx). We recommend that you [install it globally](https://getcomposer.org/doc/00-intro.md#globally).
2928

@@ -40,7 +39,7 @@ Please follow the directions for [installing Composer](https://getcomposer.org/d
4039
Use Composer's [`create-project` command](https://getcomposer.org/doc/03-cli.md#create-project) to install the Standard Edition for Twig into a location of your choosing. In Terminal type:
4140

4241
cd install/location/
43-
composer create-project pattern-lab/edition-twig-standard your-project-name && cd $_
42+
composer create-project --repository '{ "type": "vcs", "url": "https://github.com/drupal-pattern-lab/edition-php-twig-standard" }' pattern-lab/edition-twig-standard your-project-name && cd $_
4443

4544
This will install the Standard Edition for Twig into a directory called `your-project-name` in `install/location/`. During the set-up process you will be asked to install an appropriate StarterKit. You will be automatically dropped into the project directory after the process is finished.
4645

composer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,29 @@
2323
"PatternLab": "core/src/"
2424
}
2525
},
26+
"repositories": [
27+
{
28+
"type": "vcs",
29+
"url": "https://github.com/drupal-pattern-lab/patternlab-php-core"
30+
},
31+
{
32+
"type": "vcs",
33+
"url": "https://github.com/drupal-pattern-lab/patternengine-php-twig"
34+
},
35+
{
36+
"type": "vcs",
37+
"url": "https://github.com/drupal-pattern-lab/styleguidekit-assets-default"
38+
},
39+
{
40+
"type": "vcs",
41+
"url": "https://github.com/drupal-pattern-lab/styleguidekit-twig-default"
42+
}
43+
],
2644
"require": {
2745
"php": ">=5.4",
2846
"pattern-lab/core": "^2.0.0",
2947
"pattern-lab/patternengine-twig": "^2.0.0",
48+
"pattern-lab/styleguidekit-assets-default": "^3.0.0",
3049
"pattern-lab/styleguidekit-twig-default": "^3.0.0"
3150
},
3251
"scripts": {

0 commit comments

Comments
 (0)