Skip to content

Commit

Permalink
Merge pull request #277 from greatislander/update-dependencies
Browse files Browse the repository at this point in the history
chore(deps): update @humanmade/eslint-config (resolve #275)
  • Loading branch information
richard015ar authored Jan 4, 2021
2 parents 37a9f33 + 066f26b commit 3788a52
Show file tree
Hide file tree
Showing 9 changed files with 2,231 additions and 1,133 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run tests

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
- name: npm install and test
run: |
npm install
npm test
env:
CI: true
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
assets/dist
node_modules
.idea/
.idea/
5 changes: 0 additions & 5 deletions assets/dist/mix-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion assets/dist/scripts/test.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/dist/scripts/test2.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/dist/styles/test.css

This file was deleted.

2 changes: 1 addition & 1 deletion config/eslint.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

module.exports = {
extends: 'humanmade',
extends: '@humanmade/eslint-config',
globals: {
jQuery: true,
wp: true,
Expand Down
3,308 changes: 2,195 additions & 1,113 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,24 @@
"extends": "./config/stylelint.js"
},
"dependencies": {
"babel-eslint": "^10.0.0",
"browser-sync": "^2.26.7",
"@humanmade/eslint-config": "^1.1.1",
"babel-eslint": "^10.1.0",
"browser-sync": "^2.26.13",
"browser-sync-webpack-plugin": "^2.0.1",
"cross-env": "^6.0.3",
"eslint": "^5.10.0",
"eslint-config-humanmade": "^0.7.0",
"eslint-config-react-app": "^3.0.5",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"eslint": "^5.16.0",
"eslint-config-react-app": "^3.0.8",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^29.2.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-sort-destructure-keys": "^1.3.5",
"laravel-mix": "^5.0.0",
"normalize-newline": "^3.0.0",
"prettier-stylelint": "^0.4.2",
"resolve-url-loader": "^3.1.1",
"resolve-url-loader": "^3.1.2",
"sass": "^1.23.3",
"sass-loader": "^8.0.0",
"stylelint": "^11.1.1",
Expand Down

0 comments on commit 3788a52

Please sign in to comment.