Skip to content

Commit

Permalink
feat(core): updating cypress version nrwl/cypress (nrwl#2370)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Cabanes <[email protected]>
  • Loading branch information
FrozenPandaz and bcabanes authored Jan 24, 2020
1 parent ff45b7e commit 6c10aa4
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"cosmiconfig": "^4.0.0",
"css-loader": "3.4.2",
"css-modules-typescript-loader": "4.0.0",
"cypress": "3.4.1",
"cypress": "^3.8.2",
"cz-conventional-changelog": "^3.0.2",
"cz-customizable": "^6.2.0",
"document-register-element": "^1.13.1",
Expand Down
14 changes: 14 additions & 0 deletions packages/cypress/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"version": "8.10.0-beta.1",
"description": "Update Cypress to 3.6.1",
"factory": "./src/migrations/update-8-10-0/update-8-10-0"
},
"update-8.12.0": {
"version": "8.12.0-beta.1",
"description": "Update Cypress to ^3.8.2",
"factory": "./src/migrations/update-8-12-0/update-8-12-0"
}
},
"packageJsonUpdates": {
Expand All @@ -25,6 +30,15 @@
"alwaysAddToPackageJson": false
}
}
},
"8.12.0": {
"version": "8.12.0-beta.1",
"packages": {
"cypress": {
"version": "^3.8.2",
"alwaysAddToPackageJson": false
}
}
}
}
}
10 changes: 10 additions & 0 deletions packages/cypress/src/migrations/update-8-12-0/update-8-12-0.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { updatePackagesInPackageJson } from '@nrwl/workspace';

import { join } from 'path';

export default () => {
return updatePackagesInPackageJson(
join(__dirname, '../../../migrations.json'),
'8.12.0'
);
};
2 changes: 1 addition & 1 deletion packages/cypress/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const nxVersion = '*';
export const cypressVersion = '3.6.1';
export const cypressVersion = '^3.8.2';
26 changes: 22 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4393,6 +4393,11 @@
"@types/express-serve-static-core" "*"
"@types/mime" "*"

"@types/[email protected]":
version "2.3.2"
resolved "https://registry.yarnpkg.com/@types/sizzle/-/sizzle-2.3.2.tgz#a811b8c18e2babab7d542b3365887ae2e4d9de47"
integrity sha512-7EJYyKTL7tFR8+gDbB6Wwz/arpGa0Mywk1TJbNzKzHtzbwVmY4HR9WqS5VV7dsBUKQmPNr192jHr/VpBluj/hg==

"@types/source-list-map@*":
version "0.1.2"
resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9"
Expand Down Expand Up @@ -8556,13 +8561,14 @@ cyclist@^1.0.1:
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=

cypress@3.4.1:
version "3.4.1"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-3.4.1.tgz#ca2e4e9864679da686c6a6189603efd409664c30"
integrity sha512-1HBS7t9XXzkt6QHbwfirWYty8vzxNMawGj1yI+Fu6C3/VZJ8UtUngMW6layqwYZzLTZV8tiDpdCNBypn78V4Dg==
cypress@^3.8.2:
version "3.8.2"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-3.8.2.tgz#58fa96e1e7dae712403b0f4e8af1efe35442ff7a"
integrity sha512-aTs0u3+dfEuLe0Ct0FVO5jD1ULqxbuqWUZwzBm0rxdLgLxIAOI/A9f/WkgY5Cfy1TEXe8pKC6Wal0ZpnkdGRSw==
dependencies:
"@cypress/listr-verbose-renderer" "0.4.1"
"@cypress/xvfb" "1.2.4"
"@types/sizzle" "2.3.2"
arch "2.1.1"
bluebird "3.5.0"
cachedir "1.3.0"
Expand All @@ -8571,6 +8577,7 @@ [email protected]:
commander "2.15.1"
common-tags "1.8.0"
debug "3.2.6"
eventemitter2 "4.1.2"
execa "0.10.0"
executable "4.1.1"
extract-zip "1.6.7"
Expand All @@ -8589,6 +8596,7 @@ [email protected]:
request-progress "3.0.0"
supports-color "5.5.0"
tmp "0.1.0"
untildify "3.0.3"
url "0.11.0"
yauzl "2.10.0"

Expand Down Expand Up @@ -9782,6 +9790,11 @@ event-emitter@^0.3.5:
d "1"
es5-ext "~0.10.14"

[email protected]:
version "4.1.2"
resolved "https://registry.yarnpkg.com/eventemitter2/-/eventemitter2-4.1.2.tgz#0e1a8477af821a6ef3995b311bf74c23a5247f15"
integrity sha1-DhqEd6+CGm7zmVsxG/dMI6UkfxU=

eventemitter3@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
Expand Down Expand Up @@ -20439,6 +20452,11 @@ unset-value@^1.0.0:
has-value "^0.3.1"
isobject "^3.0.0"

[email protected]:
version "3.0.3"
resolved "https://registry.yarnpkg.com/untildify/-/untildify-3.0.3.tgz#1e7b42b140bcfd922b22e70ca1265bfe3634c7c9"
integrity sha512-iSk/J8efr8uPT/Z4eSUywnqyrQU7DSdMfdqK4iWEaUVVmcP5JcnpRqmVMwcwcnmI1ATFNgC5V90u09tBynNFKA==

unzip-response@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97"
Expand Down

0 comments on commit 6c10aa4

Please sign in to comment.