Skip to content

Commit

Permalink
chore(release): 8.0.0 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Nov 5, 2019
1 parent 982ff38 commit 65abc04
Show file tree
Hide file tree
Showing 8 changed files with 2,767 additions and 2,033 deletions.
49 changes: 16 additions & 33 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,63 +1,46 @@
"use strict";

module.exports = {
parserOptions: {
sourceType: "script"
},
extends: ["plugin:itgalaxy/esnext", "plugin:itgalaxy/node"],
extends: [
"plugin:itgalaxy/script",
"plugin:itgalaxy/esnext",
"plugin:itgalaxy/node"
],
overrides: [
// Source
{
extends: ["plugin:itgalaxy/module"],
// Exclude nested tests
excludedFiles: ["**/__tests__/**/*", "**/__mocks__/**/*", "**/*.md"],
files: ["src/**/*"],
parserOptions: {
sourceType: "module"
},
rules: {
// Allow to use ECMAScript 6 modules because we use `babel`
"node/no-unsupported-features/es-syntax": "off"
}
files: ["src/**/*"]
},

// Jest
{
extends: ["plugin:itgalaxy/jest"],
extends: ["plugin:itgalaxy/dirty", "plugin:itgalaxy/jest"],
excludedFiles: ["**/*.md"],
files: ["**/__tests__/**/*", "**/__mocks__/**/*"],
parserOptions: {
sourceType: "module"
},
rules: {
// Allow to use `console` (example - `mocking`)
"no-console": "off",
// Allow to use ECMAScript 6 modules because we use `babel`
"node/no-unsupported-features/es-syntax": "off"
"no-console": "off"
}
},

// Markdown
{
extends: ["plugin:itgalaxy/markdown"],
extends: [
// Documentation files can contain ECMA and CommonJS modules
"plugin:itgalaxy/dirty",
"plugin:itgalaxy/markdown"
],
files: ["**/*.md"],
parserOptions: {
sourceType: "module",
ecmaFeatures: {
impliedStrict: true
}
},
rules: {
strict: "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-process-env": "off",
"no-process-exit": "off",
"no-console": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"node/no-unpublished-require": "off",
"node/no-unpublished-import": "off",
"node/no-unsupported-features/es-syntax": "off"
"node/no-unpublished-import": "off"
}
}
],
Expand Down
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ cache:

matrix:
include:
- node_js: "12"
- node_js: "10"
script: npm run pretest
env: CI=pretest
- node_js: "8"
script: npm run test:only
env: CI=tests 8
- node_js: "10"
script: npm run test:only
env: CI=tests 10
- node_js: "11"
- node_js: "12"
script: npm run test:only
env: CI=tests 12
- node_js: "13"
script: npm run test:only
env: CI=tests 11
env: CI=tests 13

before_install:
- npm install -g npm@latest
Expand All @@ -39,6 +39,3 @@ install:
before_script:
- node --version
- npm --version

script:
- npm run $JOB_PART
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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.

## [8.0.0](https://github.com/itgalaxy/generate-robotstxt/compare/v7.1.0...v8.0.0) (2019-07-03)

### Breaking change

* minimum require Node.js version is `10.13.0`.

## [7.1.0](https://github.com/itgalaxy/generate-robotstxt/compare/v6.0.1...v7.1.0) (2019-07-03)


Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = api => {
"@babel/preset-env",
{
targets: {
node: "8.9.0"
node: "10.13.0"
}
}
]
Expand Down
Loading

0 comments on commit 65abc04

Please sign in to comment.