Skip to content

Commit e9b1df9

Browse files
Merge pull request #881 from pattern-lab/dev
Next version
2 parents 4ff2015 + c40f4d9 commit e9b1df9

Some content is hidden

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

67 files changed

+365
-50280
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ packages/*/public
1010
!packages/core/test/patterns/public/.gitkeep
1111
!packages/core/test/patterns/testDependencyGraph.json
1212
lerna-debug.log
13+
packages/edition-node-gulp/dependencyGraph.json

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ before_install:
44
- phantomjs --version
55

66
before_script:
7-
- npm install -g lerna@2.9.0
7+
- npm install -g lerna@3.0.0-beta.21
88
- npm run bootstrap
99
- lerna add @pattern-lab/engine-mustache
1010
- lerna add @pattern-lab/engine-handlebars

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ The below assume a new directory and project is required.
3232
```bash
3333
mkdir new-project
3434
cd new-project
35-
npm init -y && npx -p @pattern-lab/cli -c 'patternlab init'
35+
npm init -y && npx @pattern-lab/cli -c patternlab init
3636
```
3737
> If you get an error stating that `npx` is not installed, ensure you are on `npm 5.2.0` or later by running `npm -v` or install it globally with `npm install -g npx`. [Learn more about npx.](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b)
3838
1. Follow the on-screen prompts to choose your Edition and a Starterkit should you want one.
39+
1. Run `npm install` one last time to ensure any transient packages from the CLI are installed.
3940
1. Open `package.json` and add the following to your `scripts` object
4041
```diff
4142
"scripts": {

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"lerna": "2.9.0",
2+
"lerna": "3.0.0-beta.21",
33
"packages": [
44
"packages/*"
55
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"lerna": "2.9.0"
3+
"lerna": "3.0.0-beta.21"
44
},
55
"scripts": {
66
"bootstrap": "lerna bootstrap --hoist tap --hoist eslin* --hoist husky --hoist prettier --hoist pretty-quick",

packages/cli/.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package-lock=false
2+
save-exact=true

packages/cli/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,26 @@
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+
<a name="0.0.1-alpha.21"></a>
7+
## [0.0.1-alpha.21](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/[email protected]...@pattern-lab/[email protected]) (2018-07-06)
8+
9+
10+
### Bug Fixes
11+
12+
* **install:** add break statements to install edition command ([3b1813c](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/3b1813c))
13+
* **install:** use process to find package.json ([200c7cb](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/200c7cb))
14+
15+
16+
### Features
17+
18+
* **package:** add npmrc file ([55f5bc2](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/55f5bc2))
19+
* **package:** pin all dependencies ([415698e](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/415698e))
20+
* **package:** remove package-lock.json files ([5ab3995](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/commit/5ab3995))
21+
22+
23+
24+
25+
626
<a name="0.0.1-alpha.20"></a>
727
## [0.0.1-alpha.20](https://github.com/pattern-lab/patternlab-node/tree/master/packages/cli/compare/@pattern-lab/[email protected]...@pattern-lab/[email protected]) (2018-07-05)
828

packages/cli/bin/install-edition.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22
const path = require('path');
3-
const pkg = require('../package.json');
3+
const pkg = require(path.resolve(process.cwd(), 'package.json'));
44
const {
55
checkAndInstallPackage,
66
copyAsync,
@@ -29,6 +29,7 @@ const installEdition = (edition, config) =>
2929
path.resolve('./node_modules', edition, 'gulpfile.js'),
3030
path.resolve(sourceDir, '../', 'gulpfile.js')
3131
);
32+
break;
3233
}
3334
case '@pattern-lab/edition-node': {
3435
const scriptsJSON = {
@@ -40,6 +41,7 @@ const installEdition = (edition, config) =>
4041
};
4142
pkg.scripts = Object.assign({}, pkg.scripts || {}, scriptsJSON);
4243
yield writeJsonAsync('./package.json', pkg, { spaces: 2 });
44+
break;
4345
}
4446
}
4547
return config;

0 commit comments

Comments
 (0)