Skip to content

Commit 557da43

Browse files
committed
Misc dep updates.
1 parent 5da0be1 commit 557da43

File tree

8 files changed

+5114
-7819
lines changed

8 files changed

+5114
-7819
lines changed

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
module.exports = {
2-
extends: ['eslint:recommended', 'plugin:prettier/recommended', 'plugin:vue/recommended'],
2+
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'plugin:prettier-vue/recommended'],
33
env: {
44
browser: true,
55
es6: true,
66
mocha: true,
77
node: true,
88
},
99
parserOptions: {
10-
parser: 'babel-eslint',
10+
parser: '@babel/eslint-parser',
11+
requireConfigFile: false,
1112
ecmaVersion: 2018,
1213
sourceType: 'module',
1314
},
1415
rules: {
15-
'prettier/prettier': 'error',
16+
'prettier-vue/prettier': 'error',
1617
camelcase: 'error',
1718
'no-console': 'warn',
1819
},

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
yarn
3030
yarn lint
3131
yarn test
32-
yarn docs
3332
3433
- name: Setup Node.js
3534
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

.travis.yml

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

examples/testapp/.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
root: true,
3-
extends: ['plugin:prettier/recommended', 'plugin:vue/essential', 'eslint:recommended'],
3+
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'plugin:prettier-vue/recommended'],
44
plugins: ['prettier'],
55
env: {
66
node: true,
@@ -11,6 +11,8 @@ module.exports = {
1111
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1212
},
1313
parserOptions: {
14-
parser: 'babel-eslint',
14+
parser: '@babel/eslint-parser',
15+
requireConfigFile: false,
16+
ecmaVersion: 2018,
1517
},
1618
}

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = function (config) {
1414
flags: ['-headless'],
1515
},
1616
},
17-
frameworks: ['mocha', 'chai', 'sinon', 'webpack'],
17+
frameworks: ['mocha', 'chai', 'sinon'],
1818
files: ['node_modules/babel-polyfill/dist/polyfill.js', tests],
1919
preprocessors: {
2020
[src]: ['webpack'],

package.json

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,54 @@
11
{
22
"devDependencies": {
3-
"@babel/core": "^7.12.10",
4-
"@babel/preset-env": "^7.12.11",
5-
"@vue/cli-plugin-babel": "^4.5.10",
6-
"@vue/cli-plugin-e2e-nightwatch": "^4.5.10",
7-
"@vue/cli-plugin-eslint": "^4.5.10",
8-
"@vue/cli-service": "^4.5.10",
9-
"axios": "^0.21.1",
10-
"axios-mock-adapter": "^1.19.0",
11-
"babel-eslint": "^10.1.0",
12-
"babel-loader": "^8.2.2",
13-
"babel-plugin-istanbul": "^6.0.0",
3+
"@babel/core": "^7.21.0",
4+
"@babel/eslint-parser": "^7.19.1",
5+
"@babel/preset-env": "^7.20.2",
6+
"@vue/cli-plugin-babel": "~5.0.8",
7+
"@vue/cli-plugin-e2e-nightwatch": "~5.0.8",
8+
"@vue/cli-plugin-eslint": "~5.0.8",
9+
"@vue/cli-service": "~5.0.8",
10+
"axios": "^1.3.4",
11+
"axios-mock-adapter": "^1.21.2",
12+
"babel-loader": "^9.1.2",
13+
"babel-plugin-istanbul": "^6.1.1",
1414
"babel-polyfill": "^6.26.0",
15-
"better-docs": "^2.3.2",
16-
"chai": "^4.2.0",
15+
"chai": "^4.3.7",
1716
"chai-as-promised": "^7.1.1",
18-
"chromedriver": "^90.0.0",
19-
"concurrently": "^5.3.0",
20-
"eslint": "^7.17.0",
21-
"eslint-config-prettier": "^7.1.0",
22-
"eslint-loader": "^4.0.2",
23-
"eslint-plugin-prettier": "^3.3.1",
24-
"eslint-plugin-vue": "^7.4.1",
17+
"chromedriver": "^111.0.0",
18+
"concurrently": "^7.6.0",
19+
"core-js": "^3.29.1",
20+
"eslint": "^8.36.0",
21+
"eslint-config-prettier": "^8.7.0",
22+
"eslint-plugin-prettier": "^4.2.1",
23+
"eslint-plugin-prettier-vue": "^4.2.0",
24+
"eslint-plugin-vue": "^9.9.0",
25+
"eslint-webpack-plugin": "^4.0.0",
2526
"fake-json-api-server": "^1.6.0",
26-
"geckodriver": "^1.21.1",
27-
"husky": "^4.3.6",
28-
"jsdoc": "^3.6.6",
29-
"karma": "^5.2.3",
27+
"geckodriver": "^3.2.0",
28+
"husky": "^8.0.3",
29+
"jsdoc": "^4.0.2",
30+
"karma": "^6.4.1",
3031
"karma-chai": "^0.1.0",
31-
"karma-coverage": "^2.0.3",
32-
"karma-firefox-launcher": "^2.1.0",
32+
"karma-coverage": "^2.2.0",
33+
"karma-firefox-launcher": "^2.1.2",
3334
"karma-mocha": "^2.0.1",
3435
"karma-sinon": "^1.0.5",
35-
"karma-verbose-reporter": "^0.0.6",
36-
"karma-webpack": "^5.0.0-alpha.5",
37-
"lint-staged": "^10.5.3",
38-
"mocha": "^8.2.1",
36+
"karma-verbose-reporter": "^0.0.8",
37+
"karma-webpack": "^5.0.0",
38+
"lint-staged": "^13.2.0",
39+
"mocha": "^10.2.0",
3940
"mocha-eslint": "^6.0.0",
40-
"nightwatch": "^1.5.1",
41-
"prettier": "^2.2.1",
42-
"sinon": "^9.2.3",
43-
"sinon-chai": "^3.5.0",
44-
"taffydb": "^2.7.3",
45-
"vm-browserify": "^1.1.2",
46-
"vue": "^2.6.12",
47-
"vue-template-compiler": "^2.6.12",
48-
"vuex": "^3.6.0",
49-
"webpack": "^5.11.1"
41+
"nightwatch": "^2.6.17",
42+
"prettier": "^2.8.4",
43+
"sinon": "^15.0.2",
44+
"sinon-chai": "^3.7.0",
45+
"vue": "^2.7.14",
46+
"vue-template-compiler": "^2.7.14",
47+
"vuex": "^3.6.2",
48+
"webpack": "^5.0.0"
5049
},
5150
"name": "jsonapi-vuex",
52-
"version": "4.5.3",
51+
"version": "4.5.4",
5352
"description": "Access restructured JSONAPI data from a Vuex Store.",
5453
"keywords": [
5554
"vue",
@@ -83,7 +82,7 @@
8382
"fakeapiserver": "node examples/fake-json-api-server.js"
8483
},
8584
"dependencies": {
86-
"jsonpath-plus": "^4.0.0",
85+
"jsonpath-plus": "^7.2.0",
8786
"lodash": "^4.17.21"
8887
},
8988
"peerDependencies": {

webpack.config.js

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
1+
const ESLintPlugin = require('eslint-webpack-plugin');
2+
3+
const options = {
4+
extensions: [`js`, `jsx`],
5+
exclude: [
6+
'node_modules',
7+
],
8+
failOnWarning: false,
9+
failOnError: true,
10+
}
111
module.exports = {
212
mode: 'production',
313
performance: { hints: false },
4-
resolve: {
5-
fallback: {
6-
vm: require.resolve('vm-browserify'),
7-
},
8-
},
14+
plugins: [new ESLintPlugin(options)],
915
// Re-enable Errors (disabled in production mode) to allow eslint to stop build
1016
optimization: {
11-
emitOnErrors: true,
17+
emitOnErrors: false,
1218
},
1319
module: {
1420
rules: [
15-
{
16-
enforce: 'pre',
17-
test: /\.js$/,
18-
exclude: /(node_modules|bower_components)/,
19-
loader: 'eslint-loader',
20-
options: {
21-
failOnWarning: false,
22-
failOnError: true,
23-
},
24-
},
2521
{
2622
test: /\.js$/,
2723
exclude: /(node_modules|bower_components)/,

0 commit comments

Comments
 (0)