fix(testing): fix migration for cypress (#2141)
This commit is contained in:
parent
2d761f6740
commit
29176f8ac3
@ -9,18 +9,19 @@
|
||||
"version": "8.2.0-beta.1",
|
||||
"description": "Update Cypress Config",
|
||||
"factory": "./src/migrations/update-8-2-0/update-8-2-0"
|
||||
},
|
||||
"update-9.0.0": {
|
||||
"version": "9.0.0-beta.1",
|
||||
"description": "Update Cypress to 3.6.1",
|
||||
"factory": "./src/migrations/update-9-0-0/update-9-0-0"
|
||||
}
|
||||
},
|
||||
"packageJsonUpdates": {
|
||||
"9.0.0": {
|
||||
"version": "9.0.0-beta.1",
|
||||
"packages": {
|
||||
"@nrwl/cypress": {
|
||||
"version": "9.0.0",
|
||||
"alwaysAddToPackageJson": false
|
||||
},
|
||||
"cypress": {
|
||||
"version": "9.0.0",
|
||||
"version": "3.6.1",
|
||||
"alwaysAddToPackageJson": false
|
||||
}
|
||||
}
|
||||
|
||||
10
packages/cypress/src/migrations/update-9-0-0/update-9-0-0.ts
Normal file
10
packages/cypress/src/migrations/update-9-0-0/update-9-0-0.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { updatePackagesInPackageJson } from '@nrwl/workspace';
|
||||
|
||||
import { join } from 'path';
|
||||
|
||||
export default () => {
|
||||
return updatePackagesInPackageJson(
|
||||
join(__dirname, '../../../migrations.json'),
|
||||
'9.0.0'
|
||||
);
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user