Skip to content

Commit a259165

Browse files
committed
Merge branch 'dev' into feature/no-viewall-links
2 parents 3f8bb01 + b78b3b4 commit a259165

210 files changed

Lines changed: 23222 additions & 2073 deletions

File tree

Some content is hidden

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

.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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ Thumbs.db
55
.nyc_output/
66
.vscode/
77
.idea/
8+
.env
89
packages/core/test/public
910
packages/*/public
1011
!packages/core/test/patterns/public/.gitkeep
1112
!packages/core/test/patterns/testDependencyGraph.json
1213
lerna-debug.log
1314
packages/edition-node-gulp/dependencyGraph.json
15+
packages/uikit-workshop/dist

.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: 220 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Pattern Lab / Node wouldn't be what it is today without the support of the commu
6161
6262
* **[Brad Frost](http://bradfrost.com/)**
6363
* [Marcos Peebles](https://twitter.com/marcospeebles)
64+
* [Maximilian Franzke](https://twitter.com/maedmaex)
6465
* [Susan Simkins](https://twitter.com/susanmsimkins)
6566
6667
## 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.3.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 = "npm run setup && npm run preview:hbs"

package.json

Lines changed: 23 additions & 6 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,21 +18,28 @@
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",
13-
"pretty-quick": "^1.11.1"
22+
"lerna": "3.17.0",
23+
"pretty-quick": "^1.11.1",
24+
"auto": "^7.8.0"
25+
},
26+
"repository": {
27+
"type": "git",
28+
"url": "git+https://github.com/pattern-lab/patternlab-node.git"
1429
},
1530
"private": true,
1631
"scripts": {
17-
"postinstall": "npm run bootstrap",
18-
"bootstrap": "lerna bootstrap",
19-
"setup": "npm install && npm run build:uikit",
32+
"postinstall": "lerna run postbootstrap",
33+
"setup": "yarn",
2034
"build:uikit": "cd packages/uikit-workshop && npm run build",
2135
"precommit": "pretty-quick --staged",
2236
"lint:fix": "npm run lint -- --fix",
2337
"lint": "eslint --max-warnings 0 './packages/{core,cli,uikit-workshop}/**/*.js ' --ignore-path .eslintignore",
2438
"test": "lerna run test",
25-
"clean": "git clean -dfx"
39+
"clean": "git clean -dfx",
40+
"publish": "npx lerna publish -m \"[skip travis] chore(release): publish %s\"",
41+
"postpublish": "auto release",
42+
"preview:hbs": "cd packages/development-edition-engine-handlebars && npx patternlab add --starterkits @pattern-lab/starterkit-handlebars-vanilla && npm run pl:build"
2643
},
2744
"nyc": {
2845
"exclude": [

packages/cli/CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,59 @@
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.3.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.2.0...v5.3.0) (2019-11-13)
7+
8+
**Note:** Version bump only for package @pattern-lab/cli
9+
10+
11+
12+
13+
14+
# [5.1.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.0.2...v5.1.0) (2019-10-29)
15+
16+
**Note:** Version bump only for package @pattern-lab/cli
17+
18+
19+
20+
21+
22+
# [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)
23+
24+
25+
### Bug Fixes
26+
27+
* 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))
28+
* **cli:** add custom install logic to edition-node ([f04fd26](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/f04fd266429cd806987dab747e6d69bff9b926a4))
29+
* **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)
30+
* **cli:** merge config arrays via overwrite instead of concatenate ([42e5f7b](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/42e5f7b42a26b4fc1f262c68ee4b474b546f2eac))
31+
* **cli:** proper path resolution to helpers ([a18fe5e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/a18fe5ef4d1c074a5eba8bfa255ebbee2261bf74))
32+
* **cli:** re-order and clarify engines ([e39e301](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/e39e301a33306c6615fabf64262f1893ca682b97))
33+
* **plugin:** correct spelling error and function locations ([d4abd88](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/d4abd88cb017550002407241b5045a2ad1adb1dc))
34+
35+
36+
### Features
37+
38+
* **starterkits:** add starterkit-handlebars-demo ([384d2cf](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/384d2cfa3440c1e6f456d39f56ca6381f82f7689))
39+
40+
41+
### BREAKING CHANGES
42+
43+
* **cli:** previously, we concatenated arrays, which is unlikely to be intended
44+
45+
46+
47+
48+
49+
50+
## [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)
51+
52+
**Note:** Version bump only for package @pattern-lab/cli
53+
54+
55+
56+
57+
58+
659
# [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)
760

861

0 commit comments

Comments
 (0)