Skip to content

Commit 1e7ad06

Browse files
fix(node): update to prettier@2 and drop Node < 10.13 (#66)
BREAKING CHANGE: Requires Node >= 10.13.0
1 parent 3fa071d commit 1e7ad06

13 files changed

+108
-122
lines changed

.all-contributorsrc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"projectName": "babel-plugin-tester",
33
"projectOwner": "babel-utils",
4-
"files": [
5-
"README.md"
6-
],
74
"imageSize": 100,
85
"commit": false,
6+
"contributorsPerLine": 7,
7+
"repoHost": "https://github.com",
98
"repoType": "github",
9+
"skipCi": false,
10+
"files": [
11+
"README.md"
12+
],
1013
"contributors": [
1114
{
1215
"login": "kentcdodds",
@@ -128,8 +131,5 @@
128131
"doc"
129132
]
130133
}
131-
],
132-
"repoHost": "https://github.com",
133-
"contributorsPerLine": 7,
134-
"skipCi": true
134+
]
135135
}

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* text=auto
2-
*.js text eol=lf
1+
* text=auto eol=lf

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
node_modules
22
coverage
33
dist
4-
.opt-in
5-
.opt-out
64
.DS_Store
7-
.eslintcache
85

96
# these cause more harm than good
107
# when working with contributors

.huskyrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/husky')

.npmrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
registry=http://registry.npmjs.org/
2-
package-lock=false
1+
registry=http://registry.npmjs.org

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
coverage
33
dist
4+
45
fixtures

.prettierrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/prettier')

.travis.yml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
sudo: false
21
language: node_js
3-
cache:
4-
directories:
5-
- ~/.npm
2+
cache: npm
63
notifications:
74
email: false
8-
node_js: '8'
5+
node_js:
6+
- 10.14
7+
- 12
8+
- node
99
install: npm install
10-
script: npm run validate
11-
after_success:
12-
- npx codecov
13-
- npx -p semantic-release@8 -c "semantic-release pre && npm publish && semantic-release post"
10+
script:
11+
- npm run validate
12+
- npx codecov@3
1413
branches:
15-
only: master
14+
only:
15+
- master
16+
- beta
17+
18+
jobs:
19+
include:
20+
- stage: release
21+
node_js: 12
22+
script: kcd-scripts travis-release

CONTRIBUTING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ series [How to Contribute to an Open Source Project on GitHub][egghead]
1616
> pull requests from branches on your fork. To do this, run:
1717
>
1818
> ```
19-
> git remote add upstream https://github.com/babel-utils/babel-plugin-tester.git
19+
> git remote add upstream https://github.com/babel-utils/babel-plugin-tester
2020
> git fetch upstream
2121
> git branch --set-upstream-to=upstream/master master
2222
> ```
@@ -40,7 +40,8 @@ Please checkout the [the open issues][issues]
4040
Also, please watch the repo and respond to questions/bug reports/feature
4141
requests! Thanks!
4242
43-
[egghead]:
44-
https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
45-
[all-contributors]: https://github.com/kentcdodds/all-contributors
46-
[issues]: https://github.com/babel-utils/babel-plugin-tester/issues
43+
<!-- prettier-ignore-start -->
44+
[egghead]: https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github
45+
[all-contributors]: https://github.com/all-contributors/all-contributors
46+
[issues]: https://github.com/kentcdodds/generator-kcd-oss/issues
47+
<!-- prettier-ignore-end -->

0 commit comments

Comments
 (0)