Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(node): drop Node 8 and update dependencies (#146)
BREAKING CHANGE: Requires Node 10+
- Loading branch information
1 parent
03da9e4
commit 324bcb3
Showing
22 changed files
with
367 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
* text=auto | ||
*.js text eol=lf | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
node_modules | ||
coverage | ||
dist | ||
.opt-in | ||
.opt-out | ||
.DS_Store | ||
|
||
# these cause more harm than good | ||
# when working with contributors | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('kcd-scripts/husky') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
registry=http://registry.npmjs.org/ | ||
registry=http://registry.npmjs.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
node_modules/ | ||
coverage/ | ||
dist/ | ||
package.json | ||
node_modules | ||
coverage | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('kcd-scripts/prettier') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,30 @@ | ||
sudo: false | ||
language: node_js | ||
cache: npm | ||
notifications: | ||
email: false | ||
node_js: '10' | ||
node_js: | ||
- 10.0.0 | ||
- 12 | ||
- node | ||
os: | ||
- linux | ||
- windows | ||
# Travis does not support secrets on Windows yet so we test only external PRs where the secrets are not exposed | ||
# https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264 | ||
if: os = linux OR (type = pull_request AND head_repo != repo) | ||
install: npm install | ||
script: | ||
- npm run validate | ||
- npx codecov@3 | ||
branches: | ||
only: | ||
- master | ||
- beta | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
name: test on windows | ||
os: windows | ||
install: npm install | ||
script: npm run validate | ||
# Travis does not support secrets on Windows yet so we test only external PRs where the secrets are not exposed | ||
# https://travis-ci.community/t/current-known-issues-please-read-this-before-posting-a-new-topic/264 | ||
if: type = pull_request AND head_repo != repo | ||
- stage: test and publish | ||
name: test on linux and publish | ||
- stage: release | ||
node_js: 12 | ||
# Build release on linux | ||
os: linux | ||
install: npm install | ||
script: npm run validate | ||
after_success: kcd-scripts travis-after-success | ||
branches: | ||
only: master | ||
script: kcd-scripts travis-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# CHANGELOG | ||
|
||
The changelog is automatically updated using [semantic-release](https://github.com/semantic-release/semantic-release). | ||
You can see it on the [releases page](../../releases). | ||
The changelog is automatically updated using | ||
[semantic-release](https://github.com/semantic-release/semantic-release). You | ||
can see it on the [releases page](../../releases). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.