You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+53-1Lines changed: 53 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,16 @@ Click this button and it will help you create a new repo, create a new Netlify p
7
7
8
8
[](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/angular-quickstart)
@@ -33,7 +43,49 @@ There are a few ways to deploy this template:
33
43
- Head to the [Netlify UI](https://app.netlify.com/) to deploy via GitHub or [drag and drop](https://app.netlify.com/drop) the project folder
34
44
- Use the Netlify CLI's create from template command `netlify sites:create-template angular-quickstart` which will create a repo, Netlify project, and deploy it
35
45
36
-
## Angular 💙 Netlify Resources
46
+
## Testing
47
+
48
+
### Included Default Testing
49
+
50
+
We’ve included some tooling that helps us maintain these templates. This template currently uses:
51
+
52
+
-[Renovate](https://www.mend.io/free-developer-tools/renovate/) - to regularly update our dependencies
53
+
-[Cypress](https://www.cypress.io/) - to run tests against how the template runs in the browser
54
+
-[Cypress Netlify Build Plugin](https://github.com/cypress-io/netlify-plugin-cypress) - to run our tests during our build process
55
+
56
+
If your team is not interested in this tooling, you can remove them with ease!
57
+
58
+
### Removing Renovate
59
+
60
+
In order to keep our project up-to-date with dependencies we use a tool called [Renovate](https://github.com/marketplace/renovate). If you’re not interested in this tooling, delete the `renovate.json` file and commit that onto your main branch.
61
+
62
+
### Removing Cypress
63
+
64
+
For our testing, we use [Cypress](https://www.cypress.io/) for end-to-end testing. This makes sure that we can validate that our templates are rendering and displaying as we’d expect. By default, we have Cypress not generate deploy links if our tests don’t pass. If you’d like to keep Cypress and still generate the deploy links, go into your `netlify.toml` and delete the plugin configuration lines:
65
+
66
+
```diff
67
+
[[plugins]]
68
+
package = "netlify-plugin-cypress"
69
+
- [plugins.inputs.postBuild]
70
+
- enable = true
71
+
-
72
+
- [plugins.inputs]
73
+
- enable = false
74
+
```
75
+
76
+
If you’d like to remove the `netlify-plugin-cypress` build plugin entirely, you’d need to delete the entire block above instead. And then make sure sure to remove the package from the dependencies using:
77
+
78
+
```bash
79
+
npm uninstall -D netlify-plugin-cypress
80
+
```
81
+
82
+
And lastly if you’d like to remove Cypress entirely, delete the entire `cypress` folder and the `cypress.config.ts` file. Then remove the dependency using:
83
+
84
+
```bash
85
+
npm uninstall cypress
86
+
```
87
+
88
+
## Angular + Netlify Resources
37
89
38
90
Here are some resources to help you on your Angular + Netlify coding fun!
0 commit comments