Skip to content

Commit 6120e00

Browse files
committed
Merge branch 'dev'
2 parents 83a6ad4 + 605ed2c commit 6120e00

File tree

428 files changed

+35241
-3669
lines changed

Some content is hidden

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

428 files changed

+35241
-3669
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
patreon: patternlab

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ packages/*/public
1212
!packages/core/test/patterns/testDependencyGraph.json
1313
lerna-debug.log
1414
packages/edition-node-gulp/dependencyGraph.json
15+
packages/uikit-workshop/dist
16+
17+
yarn-error.log

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.0
1+
12.12.0

.travis.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,21 @@ addons:
44
chrome: stable
55

66
before_install:
7-
- phantomjs --version
7+
# version lifted from `.nvmrc`
8+
- nvm install
9+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.19.0
10+
- export PATH="$HOME/.yarn/bin:$PATH"
811

912
before_script:
10-
- npm install -g lerna@3.2.1
11-
- npm run setup
12-
- lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core
13-
- lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core
14-
- lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core
15-
- lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core
16-
- lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core
17-
- lerna add @pattern-lab/engine-react --scope=@pattern-lab/core
13+
- yarn run setup
14+
- npx lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core
15+
- npx lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core
16+
- npx lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core
17+
- npx lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core
18+
- npx lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core
19+
- npx lerna add @pattern-lab/engine-react --scope=@pattern-lab/core
1820

19-
script: travis_wait npm run test
21+
script: travis_wait yarn run test
2022

2123
branches:
2224
only:

CHANGELOG.md

Lines changed: 396 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ If you'd like to see what a front-end project built with Pattern Lab looks like,
1616
[![node (scoped)](https://img.shields.io/node/v/@pattern-lab/patternlab-node.svg)]()
1717
[![Join the chat at Gitter](https://badges.gitter.im/pattern-lab/node.svg)](https://gitter.im/pattern-lab/node)
1818

19+
Docs @ [![Netlify Status](https://api.netlify.com/api/v1/badges/d454dbde-02c5-4bd4-8393-4ab75e862b03/deploy-status)](https://app.netlify.com/sites/patternlab-docs-preview/deploys)
20+
21+
Pattern Lab Preview @ [![Netlify Status](https://api.netlify.com/api/v1/badges/a6db1666-cb4f-4d26-82d4-9d88d875f286/deploy-status)](https://app.netlify.com/sites/patternlab-handlebars-preview/deploys)
22+
1923
## Using Pattern Lab
2024

2125
Refer to the [core usage guidelines](https://github.com/pattern-lab/patternlab-node/blob/master/packages/core/README.md#usage)
@@ -60,7 +64,9 @@ Pattern Lab / Node wouldn't be what it is today without the support of the commu
6064
**:100: Thanks for support from the following:**
6165
6266
* **[Brad Frost](http://bradfrost.com/)**
67+
* Jan Ditze
6368
* [Marcos Peebles](https://twitter.com/marcospeebles)
69+
* [Maximilian Franzke](https://twitter.com/maedmaex)
6470
* [Susan Simkins](https://twitter.com/susanmsimkins)
6571
6672
## Contributing

lerna.json

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,38 @@
11
{
22
"lerna": "3.11.0",
3+
"version": "5.9.3",
34
"packages": [
45
"packages/*"
56
],
6-
"version": "independent",
77
"command": {
88
"init": {
99
"exact": true
1010
},
11-
"bootstrap": {
12-
"hoist": [
13-
"tap",
14-
"eslin*",
15-
"husky",
16-
"prettier",
17-
"pretty-quick",
18-
"babel-eslint"
19-
]
20-
},
2111
"publish": {
22-
"allowBranch": "master"
12+
"allowBranch": [
13+
"master",
14+
"dev"
15+
],
16+
"conventionalCommits": true,
17+
"gitReset": true,
18+
"includeMergedTags": true,
19+
"noCommitHooks": true,
20+
"verifyAccess": true
21+
},
22+
"changed": {
23+
"includeMergedTags": true
2324
}
2425
},
26+
"ignoreChanges": [
27+
"**/__fixtures__/**",
28+
"**/__tests__/**",
29+
"**/*.md",
30+
"**/__snapshots__/**"
31+
],
32+
"npmClient": "yarn",
2533
"npmClientArgs": [
34+
"--ignore-optional",
2635
"--registry=https://registry.npmjs.org/"
27-
]
36+
],
37+
"useWorkspaces": true
2838
}

netlify.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[context.deploy-preview]
2+
command = "yarn setup && yarn preview:hbs && yarn preview:docs"

package.json

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"workspaces": {
3+
"packages": [
4+
"packages/*"
5+
],
6+
"nohoist": [
7+
"@pattern-lab/engine-*",
8+
"**/@pattern-lab/engine-*",
9+
"**/@pattern-lab/uikit-workshop"
10+
]
11+
},
212
"dependencies": {
313
"@babel/plugin-proposal-decorators": "^7.4.4",
414
"@babel/plugin-syntax-jsx": "^7.2.0",
@@ -8,8 +18,8 @@
818
"eslint-config-prettier": "^6.0.0",
919
"eslint-plugin-import": "^2.18.2",
1020
"eslint-plugin-prettier": "^3.1.0",
11-
"lerna": "3.11.0",
1221
"prettier": "^1.14.3",
22+
"lerna": "3.17.0",
1323
"pretty-quick": "^1.11.1",
1424
"auto": "^7.8.0"
1525
},
@@ -19,17 +29,18 @@
1929
},
2030
"private": true,
2131
"scripts": {
22-
"postinstall": "npm run bootstrap",
23-
"bootstrap": "lerna bootstrap",
24-
"setup": "npm install && npm run build:uikit",
32+
"postinstall": "lerna run postbootstrap",
33+
"setup": "yarn",
2534
"build:uikit": "cd packages/uikit-workshop && npm run build",
2635
"precommit": "pretty-quick --staged",
2736
"lint:fix": "npm run lint -- --fix",
2837
"lint": "eslint --max-warnings 0 './packages/{core,cli,uikit-workshop}/**/*.js ' --ignore-path .eslintignore",
2938
"test": "lerna run test",
3039
"clean": "git clean -dfx",
3140
"publish": "npx lerna publish -m \"[skip travis] chore(release): publish %s\"",
32-
"postpublish": "auto release"
41+
"postpublish": "auto release",
42+
"preview:docs": "cd packages/docs && yarn production",
43+
"preview:hbs": "cd packages/development-edition-engine-handlebars && npx patternlab add --starterkits @pattern-lab/starterkit-handlebars-vanilla && npm run pl:build"
3344
},
3445
"nyc": {
3546
"exclude": [

packages/cli/CHANGELOG.md

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,113 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [5.9.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.9.2...v5.9.3) (2020-05-01)
7+
8+
9+
### Bug Fixes
10+
11+
* **cli:** fix test script glob ([ff18eb5](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/ff18eb51ce24fc5423b009168e85ede366069139))
12+
13+
14+
15+
16+
17+
18+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.9.0...v5.9.1) (2020-04-24)
19+
20+
21+
### Bug Fixes
22+
23+
* **cli:** ensure specified directory exists prior to scaffold ([cc3b696](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/cc3b69624d486c94ee3b1f4b1bbb0334a514fa59))
24+
25+
26+
27+
28+
29+
# [5.9.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.8.0...v5.9.0) (2020-04-24)
30+
31+
32+
### Bug Fixes
33+
34+
* **cli:** set current working directory before scaffolded npm init ([6d2186d](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/6d2186d8e8a74634198a4474ca8ae83221dd70a9))
35+
36+
37+
38+
39+
40+
# [5.7.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.6.0...v5.7.0) (2020-02-17)
41+
42+
43+
### Features
44+
45+
* **cli:** make options more user friendly ([ad845b3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/ad845b394ef81f90895ebb5bc6f12cc608e5e3d4))
46+
47+
48+
49+
50+
51+
52+
# [5.4.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.3.3...v5.4.0) (2019-11-26)
53+
54+
**Note:** Version bump only for package @pattern-lab/cli
55+
56+
57+
58+
59+
60+
# [5.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.2.0...v5.3.0) (2019-11-13)
61+
62+
**Note:** Version bump only for package @pattern-lab/cli
63+
64+
65+
66+
67+
68+
# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.0.2...v5.1.0) (2019-10-29)
69+
70+
**Note:** Version bump only for package @pattern-lab/cli
71+
72+
73+
74+
75+
76+
# [5.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v3.0.0-beta.3...v5.0.0) (2019-10-25)
77+
78+
79+
### Bug Fixes
80+
81+
* updates to fix eslint / prettier issues; update packages/core to reuse root .eslintrc.js file ([5b7a057](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/5b7a057d46ccd16b5832af1441030c7b76f237a8))
82+
* **cli:** add custom install logic to edition-node ([f04fd26](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/f04fd266429cd806987dab747e6d69bff9b926a4))
83+
* **cli:** allow any package to be installed as a starterkit ([d2aa1be](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/d2aa1be810a0a7473dcc52391a2263dacfdda0b8)), closes [#1067](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/issues/1067)
84+
* **cli:** merge config arrays via overwrite instead of concatenate ([42e5f7b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/42e5f7b42a26b4fc1f262c68ee4b474b546f2eac))
85+
* **cli:** proper path resolution to helpers ([a18fe5e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/a18fe5ef4d1c074a5eba8bfa255ebbee2261bf74))
86+
* **cli:** re-order and clarify engines ([e39e301](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/e39e301a33306c6615fabf64262f1893ca682b97))
87+
* **plugin:** correct spelling error and function locations ([d4abd88](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/d4abd88cb017550002407241b5045a2ad1adb1dc))
88+
89+
90+
### Features
91+
92+
* **starterkits:** add starterkit-handlebars-demo ([384d2cf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/384d2cfa3440c1e6f456d39f56ca6381f82f7689))
93+
94+
95+
### BREAKING CHANGES
96+
97+
* **cli:** previously, we concatenated arrays, which is unlikely to be intended
98+
99+
100+
101+
102+
103+
104+
## [1.0.3](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/cli@1.0.2...@pattern-lab/cli@1.0.3) (2019-10-14)
105+
106+
**Note:** Version bump only for package @pattern-lab/cli
107+
108+
109+
110+
111+
112+
6113
# [1.0.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/cli@0.1.0...@pattern-lab/cli@1.0.0) (2019-08-23)
7114

8115

0 commit comments

Comments
 (0)