Skip to content

Commit 7fe0357

Browse files
chore(deps): update (#116)
1 parent 7a37511 commit 7fe0357

File tree

9 files changed

+4528
-6147
lines changed

9 files changed

+4528
-6147
lines changed

CHANGELOG.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,77 +6,77 @@ This project adheres to [Semantic Versioning](http://semver.org).
66

77
## 5.0.7 - 2018-05-22
88

9-
* Chore: minimum required `cosmiconfig` version is now `^5.0.0`.
9+
- Chore: minimum required `cosmiconfig` version is now `^5.0.0`.
1010

1111
## 5.0.6 - 2018-05-05
1212

13-
* Fix: throw error when `policy` option is `null`.
14-
* Chore: minimum required `meow` version is now `^5.0.0`.
15-
* Chore: minimum required `node-fs` version is now `^6.0.0`.
13+
- Fix: throw error when `policy` option is `null`.
14+
- Chore: minimum required `meow` version is now `^5.0.0`.
15+
- Chore: minimum required `node-fs` version is now `^6.0.0`.
1616

1717
## 5.0.5 - 2018-03-28
1818

19-
* Fix: allow empty values `Disallow` directive (according [official spec](http://www.robotstxt.org/orig.html)).
20-
* Fix: don't generate empty `Clean-param`.
19+
- Fix: allow empty values `Disallow` directive (according [official spec](http://www.robotstxt.org/orig.html)).
20+
- Fix: don't generate empty `Clean-param`.
2121

2222
## 5.0.4 - 2018-01-16
2323

24-
* Fix: typo in source code message errors.
24+
- Fix: typo in source code message errors.
2525

2626
## 5.0.3 - 2018-01-16
2727

28-
* Chore: minimum required `cosmiconfig` version is now `^4.0.0`.
28+
- Chore: minimum required `cosmiconfig` version is now `^4.0.0`.
2929

3030
## 5.0.2 - 2017-12-12
3131

32-
* Chore: minimum required `node-fs` version is now `^5.0.0`.
32+
- Chore: minimum required `node-fs` version is now `^5.0.0`.
3333

3434
## 5.0.1 - 2017-11-28
3535

36-
* Chore: minimum required `meow` version is now `^4.0.0`.
36+
- Chore: minimum required `meow` version is now `^4.0.0`.
3737

3838
## 5.0.0 - 2017-11-15
3939

40-
* Changed: use `[cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for
40+
- Changed: use `[cosmiconfig](https://github.com/davidtheclark/cosmiconfig) for
4141
loading configuration.
42-
* Feature: in CLI if the parent directory does not exist when you write
42+
- Feature: in CLI if the parent directory does not exist when you write
4343
`robots.txt`, it's created.
4444

4545
## 4.0.4 - 2017-10-09
4646

47-
* Chore: update deps.
47+
- Chore: update deps.
4848

4949
## 4.0.3 - 2017-03-13
5050

51-
* Fixed: `is-absolute-url` package semver.
51+
- Fixed: `is-absolute-url` package semver.
5252

5353
## 4.0.2 - 2016-12-30
5454

55-
* Fixed: `host` options is now processed based `URL`.
56-
* Fixed: thrown error if the `host` option being IP address.
57-
* Fixed: clarified error message on multiple and not string the `userAgent`
55+
- Fixed: `host` options is now processed based `URL`.
56+
- Fixed: thrown error if the `host` option being IP address.
57+
- Fixed: clarified error message on multiple and not string the `userAgent`
5858
option.
59-
* Fixed: `Host` directive is now not containing `80` port.
60-
* Fixed: thrown error if the `cleanParam` not string or array and if string not
59+
- Fixed: `Host` directive is now not containing `80` port.
60+
- Fixed: thrown error if the `cleanParam` not string or array and if string not
6161
more than 500 characters.
62-
* Fixed: supported unicode characters in a `Allow` and a `Disallow` directives.
63-
* Fixed: thrown error if the `sitemap` option not an array or a string and not
62+
- Fixed: supported unicode characters in a `Allow` and a `Disallow` directives.
63+
- Fixed: thrown error if the `sitemap` option not an array or a string and not
6464
an absolute URL.
6565

6666
## 4.0.1 - 2016-10-27
6767

68-
* Chore: added CI test on `node.js` version `7`.
69-
* Documentation: improve `README.md` and fix typos.
68+
- Chore: added CI test on `node.js` version `7`.
69+
- Documentation: improve `README.md` and fix typos.
7070

7171
## 4.0.0
7272

73-
* Added: `crawlDelay` to each `police` item.
74-
* Added: `cleanParam` to each `police` item (used only Yandex bot).
75-
* Chore: used `remark-preset-lint-itgalaxy` preset.
76-
* Chore: updated `devDependencies`.
77-
* Chore: updated copyright year in `LICENSE`.
78-
* Chore: improved tests.
79-
* Fixed: strict order directives for each `User-agent`.
80-
* Fixed: added newline after each `User-agent`.
81-
* Removed: `crawlDelay` from `options`.
82-
* Removed: `cleanParam` from `options`.
73+
- Added: `crawlDelay` to each `police` item.
74+
- Added: `cleanParam` to each `police` item (used only Yandex bot).
75+
- Chore: used `remark-preset-lint-itgalaxy` preset.
76+
- Chore: updated `devDependencies`.
77+
- Chore: updated copyright year in `LICENSE`.
78+
- Chore: improved tests.
79+
- Fixed: strict order directives for each `User-agent`.
80+
- Fixed: added newline after each `User-agent`.
81+
- Removed: `crawlDelay` from `options`.
82+
- Removed: `cleanParam` from `options`.
File renamed without changes.

src/__tests__/standalone.js renamed to __tests__/standalone.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import generateRobotstxt from "../standalone";
21
import path from "path";
3-
// eslint-disable-next-line node/no-unpublished-import
42
import test from "ava";
3+
import generateRobotstxt from "../src/standalone";
54

65
const fixturesPath = path.join(__dirname, "fixtures");
76

husky.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"use strict";
2+
3+
module.exports = {
4+
hooks: {
5+
"pre-commit": "lint-staged"
6+
}
7+
};

0 commit comments

Comments
 (0)