@cypress/schematic
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,8 @@ | ||
# [@cypress/schematic-v1.0.3](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v1.0.2...@cypress/schematic-v1.0.3) (2021-05-13) | ||
### Bug Fixes | ||
* angular schematic readme update. add check to make sure e2e folder exists to avoid deletion error. ([#16506](https://github.com/cypress-io/cypress/issues/16506)) ([ae33b5c](https://github.com/cypress-io/cypress/commit/ae33b5c449e7009a6b1e8f9ef71a47fea435a87f)) | ||
# [@cypress/schematic-v1.0.2](https://github.com/cypress-io/cypress/compare/@cypress/schematic-v1.0.1...@cypress/schematic-v1.0.2) (2021-05-12) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cypress/schematic", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Official Cypress schematic for the Angular CLI", | ||
@@ -38,3 +38,2 @@ "private": false, | ||
"mocha": "3.5.3", | ||
"semantic-release": "^17.4.2", | ||
"typescript": "~4.2.4" | ||
@@ -41,0 +40,0 @@ }, |
@@ -141,4 +141,12 @@ # Cypress Angular Schematic | ||
## Questions or Issues? | ||
Visit our [plugins discussion](https://github.com/cypress-io/cypress/discussions/categories/plugins) to ask questions or report issues. | ||
## License | ||
This project is licensed under an MIT license. | ||
This project is licensed under an MIT license. | ||
## Community Recognition | ||
Inspired by [@briebug/cypress-schematic](https://github.com/briebug/cypress-schematic). |
@@ -93,3 +93,5 @@ "use strict"; | ||
const projectRoot = projects[projectName].root; | ||
deleteDirectory(tree, `${projectRoot}/e2e`); | ||
if (tree.exists(`e2e`)) { | ||
deleteDirectory(tree, `${projectRoot}/e2e`); | ||
} | ||
}); | ||
@@ -96,0 +98,0 @@ return tree.overwrite('./angular.json', JSON.stringify(angularJsonValue, null, 2)); |
70077
8
820
152