Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit 6c9f40e

Browse files
committed
Add yarn related changes from http-fake-backend v3.2.0
1 parent d1b3887 commit 6c9f40e

File tree

5 files changed

+2650
-7
lines changed

5 files changed

+2650
-7
lines changed

generators/app/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ module.exports = yeoman.Base.extend({
8484
this.templatePath('README.md'),
8585
this.destinationPath('README.md')
8686
);
87+
this.fs.copy(
88+
this.templatePath('yarn.lock'),
89+
this.destinationPath('yarn.lock')
90+
);
8791
},
8892

8993
rootJsFiles: function () {

generators/app/templates/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ git clone https://github.com/micromata/http-fake-backend.git
3535
npm install
3636
```
3737

38+
*Hint: Use `yarn install` instead of `npm install` if you have installed [Yarn](https://yarnpkg.com/)… and yup, we have a lock file :sparkling_heart:*
39+
40+
3841
Or with help of [Yeoman](http://yeoman.io)
3942

4043
```bash

generators/app/templates/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-fake-backend",
3-
"version": "3.1.0",
3+
"version": "3.2.0",
44
"description": "Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.",
55
"license": "MIT",
66
"main": "index.js",
@@ -20,26 +20,26 @@
2020
},
2121
"dependencies": {
2222
"boom": "4.1.0",
23-
"confidence": "3.0.1",
23+
"confidence": "3.0.2",
2424
"dotenv": "2.0.0",
2525
"glue": "4.0.0",
2626
"good": "7.0.2",
2727
"good-console": "6.1.2",
2828
"good-squeeze": "5.0.0",
2929
"handlebars": "4.0.5",
30-
"hapi": "15.1.0",
30+
"hapi": "15.1.1",
3131
"inert": "4.0.2",
32-
"require-dir": "0.3.0",
32+
"require-dir": "0.3.1",
3333
"vision": "4.1.0",
3434
"visionary": "6.0.2"
3535
},
3636
"devDependencies": {
3737
"code": "4.0.0",
3838
"coveralls": "2.11.14",
39-
"eslint": "3.6.1",
39+
"eslint": "3.7.1",
4040
"eslint-config-hapi": "10.0.0",
4141
"eslint-plugin-hapi": "4.0.0",
4242
"lab": "11.1.0",
43-
"nodemon": "1.10.2"
43+
"nodemon": "1.11.0"
4444
}
4545
}

0 commit comments

Comments
 (0)