Skip to content

Commit

Permalink
Merge pull request #325 from smooth-code/upgrade-dependencies
Browse files Browse the repository at this point in the history
chore: upgrade dependencies
  • Loading branch information
gregberge committed Jul 15, 2019
2 parents 7eb5ef6 + d430012 commit f839da0
Show file tree
Hide file tree
Showing 5 changed files with 1,118 additions and 855 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Expand Up @@ -5,17 +5,11 @@ node_js:
- 10

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- curl -o- -L https://yarnpkg.com/install.sh
- export PATH="$HOME/.yarn/bin:$PATH"

script:
- yarn ci

notifications:
email: false

cache:
yarn: true
directories:
- ".eslintcache"
- "node_modules"
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -28,9 +28,9 @@
"babel-loader": "^8.0.6",
"codecov": "^3.5.0",
"conventional-github-releaser": "^3.1.3",
"eslint": "^5.16.0",
"eslint": "^6.0.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Expand Up @@ -39,6 +39,6 @@
"recursive-readdir": "^2.2.2"
},
"devDependencies": {
"del": "^4.1.1"
"del": "^5.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/plugin-prettier/src/index.test.js
Expand Up @@ -10,7 +10,7 @@ describe('prettier', () => {
},
{},
)
expect(result).toBe('const foo = <div />\n')
expect(result).toBe('const foo = <div></div>\n')
})

it('should support config.prettierConfig', () => {
Expand All @@ -23,7 +23,7 @@ describe('prettier', () => {
},
{},
)
expect(result).toBe('const foo = <div />;\n')
expect(result).toBe('const foo = <div></div>;\n')
})

it('should use state.filePath to detect configuration', () => {
Expand All @@ -32,7 +32,7 @@ describe('prettier', () => {
{ prettier: true, runtimeConfig: true },
{ filePath: '/tmp' },
)
expect(result).toBe('const foo = <div />;\n')
expect(result).toBe('const foo = <div></div>;\n')
})

it('should resolve the prettier config with the editorconfig option', () => {
Expand Down

0 comments on commit f839da0

Please sign in to comment.