Skip to content

Commit 26db979

Browse files
authored
Merge pull request pattern-lab#1 from pattern-lab/dev
get upstream
2 parents fc90750 + c4061c2 commit 26db979

File tree

21 files changed

+158
-23
lines changed

21 files changed

+158
-23
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,25 @@
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.2](https://github.com/pattern-lab/patternlab-node/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package pl-node
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
17+
### Bug Fixes
18+
19+
* **cli:** ensure specified directory exists prior to scaffold ([cc3b696](https://github.com/pattern-lab/patternlab-node/commit/cc3b69624d486c94ee3b1f4b1bbb0334a514fa59))
20+
21+
22+
23+
24+
625
# [5.9.0](https://github.com/pattern-lab/patternlab-node/compare/v5.8.0...v5.9.0) (2020-04-24)
726

827

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lerna": "3.11.0",
3-
"version": "5.9.0",
3+
"version": "5.9.2",
44
"packages": [
55
"packages/*"
66
],

packages/cli/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
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.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.9.0...v5.9.1) (2020-04-24)
7+
8+
9+
### Bug Fixes
10+
11+
* **cli:** ensure specified directory exists prior to scaffold ([cc3b696](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/cc3b69624d486c94ee3b1f4b1bbb0334a514fa59))
12+
13+
14+
15+
16+
617
# [5.9.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/v5.8.0...v5.9.0) (2020-04-24)
718

819

packages/cli/bin/scaffold.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22
const path = require('path');
33
const execa = require('execa');
4-
const fs = require('fs');
4+
const fs = require('fs-extra');
55
const wrapAsync = require('./utils').wrapAsync;
66
const mkdirsAsync = require('./utils').mkdirsAsync;
77

@@ -18,6 +18,7 @@ const scaffold = (projectDir, sourceDir, publicDir, exportDir) =>
1818
wrapAsync(function*() {
1919
const projectPath = path.join(process.cwd(), projectDir);
2020
if (!fs.existsSync(path.join(projectPath, 'package.json'))) {
21+
fs.ensureDirSync(projectPath);
2122
execa.sync('npm', ['init', '-y'], {
2223
cwd: projectPath,
2324
});

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pattern-lab/cli",
33
"description": "Command-line interface (CLI) for the @pattern-lab/core.",
4-
"version": "5.9.0",
4+
"version": "5.9.1",
55
"bin": {
66
"patternlab": "bin/patternlab.js"
77
},

packages/create/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
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.1](https://github.com/pattern-lab/patternlab-node/compare/v5.9.0...v5.9.1) (2020-04-24)
7+
8+
**Note:** Version bump only for package create-pattern-lab
9+
10+
11+
12+
13+
614
# [5.9.0](https://github.com/pattern-lab/patternlab-node/compare/v5.8.0...v5.9.0) (2020-04-24)
715

816
**Note:** Version bump only for package create-pattern-lab

packages/create/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "create-pattern-lab",
3-
"version": "5.9.0",
3+
"version": "5.9.1",
44
"description": "",
55
"bin": "index.js",
66
"main": "index.js",
77
"scripts": {},
88
"dependencies": {
9-
"@pattern-lab/cli": "^5.9.0"
9+
"@pattern-lab/cli": "^5.9.1"
1010
},
1111
"author": "",
1212
"license": "MIT",

packages/development-edition-engine-handlebars/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.2](https://github.com/pattern-lab/patternlab-node/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars
17+
18+
19+
20+
21+
622
# [5.9.0](https://github.com/pattern-lab/patternlab-node/compare/v5.8.0...v5.9.0) (2020-04-24)
723

824
**Note:** Version bump only for package @pattern-lab/development-edition-engine-handlebars

packages/development-edition-engine-handlebars/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pattern-lab/development-edition-engine-handlebars",
33
"private": true,
4-
"version": "5.9.0",
4+
"version": "5.9.2",
55
"description": "The tree of components we use to test, develop and validate the Handlebars engine",
66
"scripts": {
77
"pl:build": "patternlab build --config ./patternlab-config.json",
@@ -28,12 +28,12 @@
2828
"node": ">=12.12.0"
2929
},
3030
"dependencies": {
31-
"@pattern-lab/cli": "^5.9.0",
31+
"@pattern-lab/cli": "^5.9.1",
3232
"@pattern-lab/core": "^5.9.0",
3333
"@pattern-lab/engine-handlebars": "^5.5.0",
3434
"@pattern-lab/engine-mustache": "^5.0.0",
3535
"@pattern-lab/plugin-tab": "^5.3.0",
3636
"@pattern-lab/starterkit-mustache-demo": "^5.0.0",
37-
"@pattern-lab/uikit-workshop": "^5.9.0"
37+
"@pattern-lab/uikit-workshop": "^5.9.2"
3838
}
3939
}

packages/development-edition-engine-react/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
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.2](https://github.com/pattern-lab/edition-node-gulp/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree
9+
10+
11+
12+
13+
614
# [5.9.0](https://github.com/pattern-lab/edition-node-gulp/compare/v5.8.0...v5.9.0) (2020-04-24)
715

816
**Note:** Version bump only for package @pattern-lab/engine-react-testing-tree

packages/development-edition-engine-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@pattern-lab/engine-react-testing-tree",
33
"description": "The tree of components we use to test, develop and validate the React engine",
4-
"version": "5.9.0",
4+
"version": "5.9.2",
55
"private": true,
66
"main": "gulpfile.js",
77
"dependencies": {
88
"@pattern-lab/core": "^5.9.0",
99
"@pattern-lab/engine-mustache": "^5.0.0",
1010
"@pattern-lab/engine-react": "^5.0.0",
11-
"@pattern-lab/uikit-workshop": "^5.9.0",
11+
"@pattern-lab/uikit-workshop": "^5.9.2",
1212
"gulp": "3.9.1",
1313
"minimist": "^1.2.0",
1414
"react": "16.2.0"

packages/development-edition-engine-twig/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.2](https://github.com/pattern-lab/patternlab-node/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/development-edition-engine-twig
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
**Note:** Version bump only for package @pattern-lab/development-edition-engine-twig
17+
18+
19+
20+
21+
622
# [5.9.0](https://github.com/pattern-lab/patternlab-node/compare/v5.8.0...v5.9.0) (2020-04-24)
723

824
**Note:** Version bump only for package @pattern-lab/development-edition-engine-twig

packages/development-edition-engine-twig/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@pattern-lab/development-edition-engine-twig",
33
"private": true,
4-
"version": "5.9.0",
4+
"version": "5.9.2",
55
"description": "The tree of components we use to test, develop and validate the twig engine (not engine-twig-php)",
66
"scripts": {
77
"postbootstrap": "patternlab install --starterkits @pattern-lab/starterkit-twig-demo",
@@ -29,11 +29,11 @@
2929
"node": ">=10.0"
3030
},
3131
"dependencies": {
32-
"@pattern-lab/cli": "^5.9.0",
32+
"@pattern-lab/cli": "^5.9.1",
3333
"@pattern-lab/core": "^5.9.0",
3434
"@pattern-lab/engine-twig": "^5.8.0",
3535
"@pattern-lab/starterkit-twig-demo": "^5.8.0",
36-
"@pattern-lab/uikit-workshop": "^5.9.0"
36+
"@pattern-lab/uikit-workshop": "^5.9.2"
3737
},
3838
"workspaces": {
3939
"nohoist": [

packages/edition-node-gulp/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/edition-node-gulp
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
**Note:** Version bump only for package @pattern-lab/edition-node-gulp
17+
18+
19+
20+
21+
622
# [5.9.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node-gulp/compare/v5.8.0...v5.9.0) (2020-04-24)
723

824
**Note:** Version bump only for package @pattern-lab/edition-node-gulp

packages/edition-node-gulp/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@pattern-lab/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": "5.9.0",
4+
"version": "5.9.2",
55
"main": "gulpfile.js",
66
"dependencies": {
7-
"@pattern-lab/cli": "^5.9.0",
7+
"@pattern-lab/cli": "^5.9.1",
88
"@pattern-lab/core": "^5.9.0",
99
"@pattern-lab/engine-mustache": "^5.0.0",
10-
"@pattern-lab/uikit-workshop": "^5.9.0",
10+
"@pattern-lab/uikit-workshop": "^5.9.2",
1111
"gulp": "3.9.1",
1212
"minimist": "1.2.0"
1313
},

packages/edition-node/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/edition-node
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
**Note:** Version bump only for package @pattern-lab/edition-node
17+
18+
19+
20+
21+
622
# [5.9.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/edition-node/compare/v5.8.0...v5.9.0) (2020-04-24)
723

824
**Note:** Version bump only for package @pattern-lab/edition-node

packages/edition-node/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@pattern-lab/edition-node",
33
"description": "A pure wrapper around patternlab-node core, the default pattern engine, and supporting frontend assets.",
4-
"version": "5.9.0",
4+
"version": "5.9.2",
55
"main": "patternlab-config.json",
66
"dependencies": {
7-
"@pattern-lab/cli": "^5.9.0",
7+
"@pattern-lab/cli": "^5.9.1",
88
"@pattern-lab/core": "^5.9.0",
99
"@pattern-lab/engine-handlebars": "^5.5.0",
10-
"@pattern-lab/uikit-workshop": "^5.9.0"
10+
"@pattern-lab/uikit-workshop": "^5.9.2"
1111
},
1212
"keywords": [
1313
"Pattern Lab",

packages/edition-twig/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
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.2](https://github.com/pattern-lab/patternlab-node/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/edition-twig
9+
10+
11+
12+
13+
14+
## [5.9.1](https://github.com/pattern-lab/patternlab-node/compare/v5.9.0...v5.9.1) (2020-04-24)
15+
16+
**Note:** Version bump only for package @pattern-lab/edition-twig
17+
18+
19+
20+
21+
622
# [5.9.0](https://github.com/pattern-lab/patternlab-node/compare/v5.8.0...v5.9.0) (2020-04-24)
723

824
**Note:** Version bump only for package @pattern-lab/edition-twig

packages/edition-twig/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pattern-lab/edition-twig",
3-
"version": "5.9.0",
3+
"version": "5.9.2",
44
"description": "Pattern Lab node with Twig PHP Engine",
55
"author": {
66
"name": "Evan Lovely",
@@ -23,10 +23,10 @@
2323
"dev": "node ./node_modules/@pattern-lab/uikit-workshop/build-tools.js"
2424
},
2525
"dependencies": {
26-
"@pattern-lab/cli": "^5.9.0",
26+
"@pattern-lab/cli": "^5.9.1",
2727
"@pattern-lab/core": "^5.9.0",
2828
"@pattern-lab/engine-twig-php": "^5.9.0",
29-
"@pattern-lab/uikit-workshop": "^5.9.0"
29+
"@pattern-lab/uikit-workshop": "^5.9.2"
3030
},
3131
"engines": {
3232
"node": ">=6.0"

packages/uikit-workshop/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
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.2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.9.1...v5.9.2) (2020-04-24)
7+
8+
**Note:** Version bump only for package @pattern-lab/uikit-workshop
9+
10+
11+
12+
13+
614
# [5.9.0](https://github.com/pattern-lab/patternlab-node/tree/master/packages/uikit-workshop/compare/v5.8.0...v5.9.0) (2020-04-24)
715

816
**Note:** Version bump only for package @pattern-lab/uikit-workshop

packages/uikit-workshop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pattern-lab/uikit-workshop",
3-
"version": "5.9.0",
3+
"version": "5.9.2",
44
"description": "Front-end assets and templates for the default Pattern Lab workshop view",
55
"main": "gulpfile.js",
66
"scripts": {

0 commit comments

Comments
 (0)