From 53fd242994234d3dca8a5ec4e78a7a6d66a1ca63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Mon, 10 Feb 2020 10:11:14 +0100 Subject: [PATCH] chore: move APM UI tests dependencies to x-pack dir Let's delegate dependency management to Kibana's build system --- x-pack/legacy/plugins/apm/cypress/package.json | 14 -------------- x-pack/package.json | 11 ++++++++--- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/x-pack/legacy/plugins/apm/cypress/package.json b/x-pack/legacy/plugins/apm/cypress/package.json index 39c3d5fa8f019..bfa77510c3670 100644 --- a/x-pack/legacy/plugins/apm/cypress/package.json +++ b/x-pack/legacy/plugins/apm/cypress/package.json @@ -6,19 +6,5 @@ "scripts": { "cypress:open": "cypress open", "cypress:run": "cypress run --spec **/*.feature" - }, - "dependencies": { - "@cypress/snapshot": "^2.1.3", - "@cypress/webpack-preprocessor": "^4.1.0", - "@types/cypress-cucumber-preprocessor": "^1.14.0", - "@types/js-yaml": "^3.12.1", - "@types/node": "^10.12.11", - "cypress": "^3.5.0", - "cypress-cucumber-preprocessor": "^2.0.1", - "js-yaml": "^3.13.1", - "p-limit": "^2.2.1", - "ts-loader": "^6.1.0", - "typescript": "3.7.5", - "webpack": "^4.40.2" } } diff --git a/x-pack/package.json b/x-pack/package.json index 921f6ad991188..1bf333a392a28 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -26,6 +26,7 @@ "**/@types/node": "10.12.27" }, "devDependencies": { + "@cypress/snapshot": "^2.1.3", "@cypress/webpack-preprocessor": "^4.1.0", "@kbn/dev-utils": "1.0.0", "@kbn/es": "1.0.0", @@ -50,6 +51,7 @@ "@types/cheerio": "^0.22.10", "@types/chroma-js": "^1.4.2", "@types/color": "^3.0.0", + "@types/cypress-cucumber-preprocessor": "^1.14.0", "@types/cytoscape": "^3.8.2", "@types/d3-array": "^1.2.7", "@types/d3-scale": "^2.1.1", @@ -69,7 +71,7 @@ "@types/history": "^4.7.3", "@types/jest": "24.0.19", "@types/joi": "^13.4.2", - "@types/js-yaml": "^3.11.1", + "@types/js-yaml": "^3.12.1", "@types/jsdom": "^12.2.4", "@types/json-stable-stringify": "^1.0.32", "@types/jsonwebtoken": "^7.2.8", @@ -117,6 +119,7 @@ "commander": "3.0.2", "copy-webpack-plugin": "^5.0.4", "cypress": "^3.6.1", + "cypress-cucumber-preprocessor": "^2.0.1", "cypress-multi-reporters": "^1.2.3", "enzyme": "^3.10.0", "enzyme-adapter-react-16": "^1.15.1", @@ -137,6 +140,7 @@ "jest": "^24.9.0", "jest-cli": "^24.9.0", "jest-styled-components": "^7.0.0", + "js-yaml": "^3.13.1", "jsdom": "^15.2.1", "madge": "3.4.4", "marge": "^1.0.1", @@ -148,6 +152,7 @@ "mutation-observer": "^1.0.3", "node-fetch": "^2.6.0", "null-loader": "^3.0.0", + "p-limit": "^2.2.1", "pixelmatch": "^5.1.0", "proxyquire": "1.8.0", "react-docgen-typescript-loader": "^3.1.1", @@ -162,8 +167,8 @@ "supertest-as-promised": "^4.0.2", "tmp": "0.1.0", "tree-kill": "^1.2.2", - "ts-loader": "^6.0.4", - "typescript": "3.7.2", + "ts-loader": "^6.1.0", + "typescript": "3.7.5", "vinyl-fs": "^3.0.3", "whatwg-fetch": "^3.0.0", "xml-crypto": "^1.4.0",