Skip to content

Commit 65abc04

Browse files
chore(release): 8.0.0 (#125)
1 parent 982ff38 commit 65abc04

File tree

8 files changed

+2767
-2033
lines changed

8 files changed

+2767
-2033
lines changed

.eslintrc.js

Lines changed: 16 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,46 @@
11
"use strict";
22

33
module.exports = {
4-
parserOptions: {
5-
sourceType: "script"
6-
},
7-
extends: ["plugin:itgalaxy/esnext", "plugin:itgalaxy/node"],
4+
extends: [
5+
"plugin:itgalaxy/script",
6+
"plugin:itgalaxy/esnext",
7+
"plugin:itgalaxy/node"
8+
],
89
overrides: [
910
// Source
1011
{
12+
extends: ["plugin:itgalaxy/module"],
1113
// Exclude nested tests
1214
excludedFiles: ["**/__tests__/**/*", "**/__mocks__/**/*", "**/*.md"],
13-
files: ["src/**/*"],
14-
parserOptions: {
15-
sourceType: "module"
16-
},
17-
rules: {
18-
// Allow to use ECMAScript 6 modules because we use `babel`
19-
"node/no-unsupported-features/es-syntax": "off"
20-
}
15+
files: ["src/**/*"]
2116
},
2217

2318
// Jest
2419
{
25-
extends: ["plugin:itgalaxy/jest"],
20+
extends: ["plugin:itgalaxy/dirty", "plugin:itgalaxy/jest"],
2621
excludedFiles: ["**/*.md"],
2722
files: ["**/__tests__/**/*", "**/__mocks__/**/*"],
28-
parserOptions: {
29-
sourceType: "module"
30-
},
3123
rules: {
3224
// Allow to use `console` (example - `mocking`)
33-
"no-console": "off",
34-
// Allow to use ECMAScript 6 modules because we use `babel`
35-
"node/no-unsupported-features/es-syntax": "off"
25+
"no-console": "off"
3626
}
3727
},
3828

3929
// Markdown
4030
{
41-
extends: ["plugin:itgalaxy/markdown"],
31+
extends: [
32+
// Documentation files can contain ECMA and CommonJS modules
33+
"plugin:itgalaxy/dirty",
34+
"plugin:itgalaxy/markdown"
35+
],
4236
files: ["**/*.md"],
43-
parserOptions: {
44-
sourceType: "module",
45-
ecmaFeatures: {
46-
impliedStrict: true
47-
}
48-
},
4937
rules: {
50-
strict: "off",
51-
"no-undef": "off",
5238
"no-unused-vars": "off",
53-
"no-process-env": "off",
54-
"no-process-exit": "off",
5539
"no-console": "off",
56-
"import/no-unresolved": "off",
5740
"import/extensions": "off",
41+
"import/no-unresolved": "off",
5842
"node/no-unpublished-require": "off",
59-
"node/no-unpublished-import": "off",
60-
"node/no-unsupported-features/es-syntax": "off"
43+
"node/no-unpublished-import": "off"
6144
}
6245
}
6346
],

.travis.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ cache:
1717

1818
matrix:
1919
include:
20-
- node_js: "12"
20+
- node_js: "10"
2121
script: npm run pretest
2222
env: CI=pretest
23-
- node_js: "8"
24-
script: npm run test:only
25-
env: CI=tests 8
2623
- node_js: "10"
2724
script: npm run test:only
2825
env: CI=tests 10
29-
- node_js: "11"
26+
- node_js: "12"
27+
script: npm run test:only
28+
env: CI=tests 12
29+
- node_js: "13"
3030
script: npm run test:only
31-
env: CI=tests 11
31+
env: CI=tests 13
3232

3333
before_install:
3434
- npm install -g npm@latest
@@ -39,6 +39,3 @@ install:
3939
before_script:
4040
- node --version
4141
- npm --version
42-
43-
script:
44-
- npm run $JOB_PART

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [8.0.0](https://github.com/itgalaxy/generate-robotstxt/compare/v7.1.0...v8.0.0) (2019-07-03)
6+
7+
### Breaking change
8+
9+
* minimum require Node.js version is `10.13.0`.
10+
511
## [7.1.0](https://github.com/itgalaxy/generate-robotstxt/compare/v6.0.1...v7.1.0) (2019-07-03)
612

713

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = api => {
1212
"@babel/preset-env",
1313
{
1414
targets: {
15-
node: "8.9.0"
15+
node: "10.13.0"
1616
}
1717
}
1818
]

0 commit comments

Comments
 (0)