Skip to content

Commit

Permalink
chore(release): 7.0.0 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Nov 5, 2019
1 parent dda2078 commit 320ce24
Show file tree
Hide file tree
Showing 8 changed files with 2,685 additions and 2,222 deletions.
48 changes: 15 additions & 33 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,63 +1,45 @@
"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/dirty"],
// 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",
"node/no-unpublished-require": "off",
"node/no-unpublished-import": "off",
"node/no-unsupported-features/es-syntax": "off"
"node/no-unpublished-import": "off"
}
}
],
Expand Down
16 changes: 8 additions & 8 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:coverage
env: CI=tests 8
- node_js: "10"
script: npm run test:coverage
script: npm run test:only
env: CI=tests 10
- node_js: "11"
script: npm run test:coverage
env: CI=tests 11
- node_js: "12"
script: npm run test:only
env: CI=tests 12
- node_js: "13"
script: npm run test:only
env: CI=tests 13

before_install:
- npm install -g npm@latest
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org).

## 7.0.0 - 2019-11-05

- Changed: minimum require Node.js version is `10.13.0`.

## 6.0.0 - 2019-07-03

- Changed: use `additionalAssets` hook for adding assets.
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 320ce24

Please sign in to comment.