Skip to content

Commit bf082ab

Browse files
committed
Overhaul dependencies.
1 parent 55399ca commit bf082ab

File tree

7 files changed

+3245
-4918
lines changed

7 files changed

+3245
-4918
lines changed

package.json

Lines changed: 49 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
11
{
2+
"name": "jsonapi-vuex",
3+
"version": "5.9.0",
4+
"description": "Access restructured JSONAPI data from a Vuex Store.",
5+
"author": "Matthew Richardson <M.Richardson@ed.ac.uk>",
6+
"scripts": {
7+
"lint": "eslint .",
8+
"docs": "rm -rf docs/; jsdoc -c jsdoc.json",
9+
"e2e": "concurrently --success first --kill-others \"npm:fakeapiserver\" \"vue-cli-service test:e2e --env chrome --headless\"",
10+
"fakeapiserver": "node examples/fake-json-api-server.js",
11+
"test": "npm run unit -- --single-run && npm run e2e",
12+
"testapp": "concurrently --kill-others \"npm:fakeapiserver\" \"vue-cli-service serve\"",
13+
"unit": "karma start"
14+
},
15+
"main": "src/jsonapi-vuex.js",
16+
"files": [
17+
"src/"
18+
],
19+
"dependencies": {
20+
"jsonpath-plus": "^6.0.1",
21+
"lodash.get": "^4.4.2",
22+
"lodash.isequal": "^4.5.0",
23+
"lodash.merge": "^4.6.2",
24+
"lodash.set": "^4.3.2"
25+
},
226
"devDependencies": {
327
"@babel/core": "^7.15.0",
428
"@babel/preset-env": "^7.15.0",
5-
"@vue/cli-plugin-babel": "^4.5.17",
6-
"@vue/cli-plugin-e2e-nightwatch": "^4.5.17",
7-
"@vue/cli-plugin-eslint": "^4.5.17",
8-
"@vue/cli-plugin-vuex": "^4.5.3",
9-
"@vue/cli-service": "^4.5.17",
10-
"@vue/compiler-sfc": "^3.2.1",
29+
"@vue/cli-plugin-babel": "~5.0.8",
30+
"@vue/cli-plugin-e2e-nightwatch": "~5.0.8",
31+
"@vue/cli-plugin-eslint": "~5.0.8",
32+
"@vue/cli-plugin-vuex": "~5.0.8",
33+
"@vue/cli-service": "~5.0.8",
1134
"@vue/test-utils": "^1.2.2",
1235
"axios": "^0.21.1",
1336
"axios-mock-adapter": "^1.19.0",
@@ -41,67 +64,43 @@
4164
"lint-staged": "^11.1.2",
4265
"mocha": "^9.0.3",
4366
"mocha-eslint": "^7.0.0",
44-
"nightwatch": "^1.7.13",
67+
"nightwatch": "^2.3.0",
4568
"prettier": "^2.3.2",
46-
"sinon": "^11.1.2",
69+
"sinon": "^14.0.0",
4770
"sinon-chai": "^3.7.0",
48-
"vue": "^3.0.0",
71+
"vue": "^3.2.37",
4972
"vuex": "^4.0.0"
5073
},
51-
"name": "jsonapi-vuex",
52-
"version": "5.9.0",
53-
"description": "Access restructured JSONAPI data from a Vuex Store.",
54-
"keywords": [
55-
"vue",
56-
"vuex",
57-
"jsonapi",
58-
"rest",
59-
"normalize",
60-
"jsonpath"
61-
],
62-
"main": "src/jsonapi-vuex.js",
63-
"files": [
64-
"src/"
65-
],
66-
"author": "Matthew Richardson <M.Richardson@ed.ac.uk>",
67-
"homepage": "https://github.com/mrichar1/jsonapi-vuex.git",
68-
"license": "AGPL-3.0-or-later",
69-
"repository": {
70-
"type": "git",
71-
"url": "https://github.com/mrichar1/jsonapi-vuex.git"
72-
},
73-
"bugs": {
74-
"url": "https://github.com/mrichar1/jsonapi-vuex/issues"
75-
},
76-
"scripts": {
77-
"docs": "rm -rf docs/; jsdoc -c jsdoc.json",
78-
"test": "npm run unit -- --single-run && npm run e2e",
79-
"unit": "karma start",
80-
"lint": "eslint .",
81-
"e2e": "concurrently --success first --kill-others \"npm:fakeapiserver\" \"vue-cli-service test:e2e --env chrome --headless\"",
82-
"testapp": "concurrently --kill-others \"npm:fakeapiserver\" \"vue-cli-service serve\"",
83-
"fakeapiserver": "node examples/fake-json-api-server.js"
84-
},
85-
"dependencies": {
86-
"jsonpath-plus": "^6.0.1",
87-
"lodash.get": "^4.4.2",
88-
"lodash.isequal": "^4.5.0",
89-
"lodash.merge": "^4.6.2",
90-
"lodash.set": "^4.3.2"
91-
},
9274
"peerDependencies": {
9375
"vue": "^3.0.11",
9476
"vuex": "^4.0.0"
9577
},
78+
"bugs": {
79+
"url": "https://github.com/mrichar1/jsonapi-vuex/issues"
80+
},
81+
"homepage": "https://github.com/mrichar1/jsonapi-vuex.git",
9682
"husky": {
9783
"hooks": {
9884
"pre-commit": "lint-staged"
9985
}
10086
},
87+
"keywords": [
88+
"vue",
89+
"vuex",
90+
"jsonapi",
91+
"rest",
92+
"normalize",
93+
"jsonpath"
94+
],
95+
"license": "AGPL-3.0-or-later",
10196
"lint-staged": {
10297
"*.{js,json,css,md}": [
10398
"prettier --write",
10499
"git add"
105100
]
101+
},
102+
"repository": {
103+
"type": "git",
104+
"url": "https://github.com/mrichar1/jsonapi-vuex.git"
106105
}
107106
}

tests/e2e/custom-assertions/.gitignore

Whitespace-only changes.

tests/e2e/custom-commands/.gitkeep

Whitespace-only changes.

tests/e2e/page-objects/.gitkeep

Whitespace-only changes.

tests/e2e/specs/test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ module.exports = {
3131

3232
// Inputs exist and have correct values
3333
be.element('#patch').to.be.present
34-
be.element('#patch_name').value.to.be.equal('sprocket')
35-
be.element('#patch_color').value.to.be.equal('black')
34+
// USe assert syntax due to NW bug
35+
browser.assert.valueEquals('#patch_name', 'sprocket')
36+
browser.assert.valueEquals('#patch_color', 'black')
3637

3738
// Modify values
3839
browser.clearValue('#patch_name')
3940
browser.setValue('#patch_name', 'cog')
4041
browser.clearValue('#patch_color')
4142
browser.setValue('#patch_color', 'red')
4243

43-
// Move so that element is in view (Firefox doesn't render items off-screen)
44-
browser.getLocationInView('button[name=patch_button]')
4544
browser.click('button[name=patch_button]')
4645
// Pause for API response
4746
browser.pause(1000)

tutorials/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)