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
+46-46Lines changed: 46 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,28 +54,28 @@ the ability to produce static prerendered html. The prerendered html is written
54
54
55
55
56
56
-**Get the repo:** open powershell as admin, ```cd``` to where you keep your repos. Run ```git clone https://github.com/TechnologyEnhancedLearning/TELBlazor.git```
57
-
-**Create local gitignored configuration files from templates:** open the project in visual studio
57
+
-**Create local gitignored configuration files from templates:** open the project in Visual Studio
58
58
- search template
59
-
- create a copy of each template removing the .template post fix
59
+
- create a copy of each template removing the '.template' post fix
60
60
-**Create GitHub Personal Access Token (PAT) for consuming [TEL git hosted nuget packages](https://github.com/orgs/TechnologyEnhancedLearning/packages) :**
61
61
- go to your [GitHub profile tokens section](https://github.com/settings/tokens)
- ⚠️ Commit names are used to generate the package version, repo version and change log so much be correct ⚠️[Commit Naming Rules](https://github.com/TechnologyEnhancedLearning/TELBlazor/blob/master/.commitlintrc.json)
123
+
- ⚠️ commit names are used to generate the package version, repo version and change log so much be correct ⚠️[Commit Naming Rules](https://github.com/TechnologyEnhancedLearning/TELBlazor/blob/master/.commitlintrc.json)
124
124
- e.g.
125
-
> "docs(readme): added detail on commit rules"
125
+
> 'docs(readme): added detail on commit rules'
126
126
127
127
#### Configuring the project
128
128
@@ -137,7 +137,7 @@ It is recommended you check setup by reading this section and making sure packag
- runsettings allows configuration of headless and tracing
171
-
- packagesettings.props sets thresholds
172
-
- running at solution level ./run-tests-and-report-with-env-values.ps1 (see in the file for specific arguments you may want to set)
173
-
- will produce a test coverage site [your repo folder]/TELBlazor/CoverageReport/index.html
170
+
-**runsettings** allows configuration of headless and tracing
171
+
-**packagesettings.props** sets thresholds
172
+
- running at solution level **./run-tests-and-report-with-env-values.ps1** (see in the file for specific arguments you may want to set)
173
+
- will produce a test coverage site **[your repo folder]/TELBlazor/CoverageReport/index.html**
174
174
175
175
176
176
@@ -258,35 +258,35 @@ It is recommended you check setup by reading this section and making sure packag
258
258
259
259
### Troubleshooting
260
260
#### Package build errors
261
-
- delete local `TELBlazor.Components` packages
262
-
- check `TELBlazorPackageVersion` has been incremented
263
-
- delete lock files
264
-
- clean solution
265
-
- check environment values in `props` and `nuget.config`
261
+
- delete local **TELBlazor.Components** packages
262
+
- check **TELBlazorPackageVersion** has been incremented
263
+
- delete **.lock** files
264
+
- clean the solution
265
+
- check environment values in **props** and **nuget.config**
266
266
- restore nuget packages
267
-
- restore solution
268
-
- if still not working delete bin and obj
269
-
- if still not working close visual studio and reopen
270
-
- if there are still issues its easier to problem solve by using a random very high `TELBlazor.Components` package version number and ensuring it fails and says it found the source but not the version
267
+
- restore the solution
268
+
- if still not working delete **bin** and **obj**
269
+
- if still not working, restart Visual Studio
270
+
- if there are still issues its easier to problem solve by using a random very high **TELBlazor.Components** package version number and ensuring it fails and says it found the source but not the version
271
271
#### Git commit names
272
272
- git commit names can be caught locally
273
273
- if they are not
274
-
- fetch, pull, squash to before the change and then git push force
274
+
- **fetch**, **pull** and **squash** before the change and then `git push origin <your_branch_name> --force`
275
275
276
276
277
277
# How to consume TELBlazor.Components
278
-
1.Select a production version of the package [Package list for TELBlazor.Component on git](https://github.com/TechnologyEnhancedLearning/TELBlazor/pkgs/nuget/TELBlazor.Components)
279
-
1.Set up css references and dependency injection using lean host examples WasmServerHost, WasmServerHost.Client and WasmStaticClient
278
+
1.select a production version of the package [Package list for TELBlazor.Component on git](https://github.com/TechnologyEnhancedLearning/TELBlazor/pkgs/nuget/TELBlazor.Components)
279
+
1.set up CSS references and dependency injection using lean host examples WasmServerHost, WasmServerHost.Client and WasmStaticClient
280
280
from the repo and ShowCase project for how to include the package.
281
-
1.You will need a copy of nhsuk.css and a reference <linkhref="css/nhsuk.css"rel="stylesheet" /> see gulp in the previously mentioned projects
282
-
1.See setup notes for instructions on getting a git nuget token for consuming the package.
281
+
1.you will need a copy of nhsuk.css and a reference <linkhref="css/nhsuk.css"rel="stylesheet" /> see gulp in the previously mentioned projects
282
+
1.see setup notes for instructions on getting a git nuget token for consuming the package.
283
283
284
284
# Solution and Pipeline
285
285
286
286
## Features of CICD
287
-
-There is a readme in the CICD
288
-
-A DevShowCase sight is created using a DevPackage and the same in production
289
-
- The dev pipeline also publishes a coverage report
287
+
-there is a readme in the CICD
288
+
-a DevShowCase site is created using a DevPackage and the same in production
289
+
- the dev pipeline also publishes a coverage report
290
290
291
291
292
292
# Solution Detail
@@ -319,7 +319,7 @@ from the repo and ShowCase project for how to include the package.
319
319
## Notes
320
320
321
321
### Stuff you don't need to know (but may be useful for a specific issue on searching the readme)
322
-
-It is not render auto per components because the intention is to be used in MVC views.
322
+
-it is not render auto per components because the intention is to be used in MVC views.
323
323
- Xunit is used with Bunit and Nunit with playwright, either could be
324
324
changed so that they are using the same and this could be done in future
325
325
as the libraries improve but currently each is being used with the
0 commit comments