Skip to content

Commit 57e22fd

Browse files
committed
feat(first commit): first commit
1 parent 3c266bb commit 57e22fd

File tree

100 files changed

+6602
-534
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+6602
-534
lines changed
Binary file not shown.

.del-releaserc.txt

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
//if we were setting the semver chore against its own release branch we would do for a bigger project then having it publish the package would make sense
2+
//but we are happy with them all together and less branches
3+
//qqqq we are using nuget push currently to phil-nhs but i semantic-release can do it for us
4+
//qqqq this does a few powerful things we could reduce the code in the ymls
5+
//qqqq this worked{
6+
// "branches": [ "master" ],
7+
// "plugins": [
8+
// "@semantic-release/commit-analyzer",
9+
// "@semantic-release/release-notes-generator",
10+
// [
11+
// "@semantic-release/changelog",
12+
// { "changelogFile": "CHANGELOG.md" }
13+
// ],
14+
// [
15+
// "@semantic-release/git",
16+
// { "assets": [ "CHANGELOG.md" ] }
17+
// ],
18+
// [
19+
// "@semantic-release/github",
20+
// { "assets": "bin/Release/*.nupkg" }
21+
// ]
22+
// ]
23+
//}
24+
25+
///
26+
{
27+
"name": "feat/*",
28+
"prerelease": "dev",
29+
"channel": "dev"
30+
},
31+
{
32+
"name": "feature/*",
33+
"prerelease": "dev",
34+
"channel": "dev"
35+
},
36+
{
37+
"name": "fix/*",
38+
"prerelease": "dev",
39+
"channel": "dev"
40+
},
41+
{
42+
"name": "bugfix/*",
43+
"prerelease": "dev",
44+
"channel": "dev"
45+
},
46+
{
47+
"name": "hotfix/*",
48+
"prerelease": "dev",
49+
"channel": "dev"
50+
},
51+
52+
53+
54+
"master",
55+
{
56+
"name": "feat/*",
57+
"prerelease": true,
58+
"channel": "dev"
59+
},
60+
{
61+
"name": "fix-*",
62+
"prerelease": true,
63+
"channel": "dev"
64+
},
65+
{
66+
"name": "bugfix-*",
67+
"prerelease": true,
68+
"channel": "dev"
69+
},
70+
{
71+
"name": "hotfix-*",
72+
"prerelease": true,
73+
"channel": "dev"
74+
},
75+
{
76+
"name": "build-*",
77+
"prerelease": true,
78+
"channel": "dev"
79+
},
80+
{
81+
"name": "chore-*",
82+
"prerelease": true,
83+
"channel": "dev"
84+
},
85+
{
86+
"name": "ci-*",
87+
"prerelease": true,
88+
"channel": "dev"
89+
},
90+
{
91+
"name": "docs-*",
92+
"prerelease": true,
93+
"channel": "dev"
94+
},
95+
{
96+
"name": "perf-*",
97+
"prerelease": true,
98+
"channel": "dev"
99+
},
100+
{
101+
"name": "refactor-*",
102+
"prerelease": true,
103+
"channel": "dev"
104+
},
105+
{
106+
"name": "revert-*",
107+
"prerelease": true,
108+
"channel": "dev"
109+
},
110+
{
111+
"name": "style-*",
112+
"prerelease": true,
113+
"channel": "dev"
114+
},
115+
{
116+
"name": "test-*",
117+
"prerelease": true,
118+
"channel": "dev"
119+
} {
120+
"name": "feat/**",
121+
"prerelease": "namingWithSlashAndFailingMaybe"
122+
}
123+
124+
125+
126+
{
127+
"branches": [
128+
"master",
129+
{
130+
"name": "feat-*",
131+
"prerelease": true,
132+
"channel": "dev"
133+
},
134+
{
135+
"name": "fix-*",
136+
"prerelease": true,
137+
"channel": "dev"
138+
},
139+
{
140+
"name": "bugfix-*",
141+
"prerelease": true,
142+
"channel": "dev"
143+
},
144+
{
145+
"name": "hotfix-*",
146+
"prerelease": true,
147+
"channel": "dev"
148+
},
149+
{
150+
"name": "build-*",
151+
"prerelease": true,
152+
"channel": "dev"
153+
},
154+
{
155+
"name": "chore-*",
156+
"prerelease": true,
157+
"channel": "dev"
158+
},
159+
{
160+
"name": "ci-*",
161+
"prerelease": true,
162+
"channel": "dev"
163+
},
164+
{
165+
"name": "docs-*",
166+
"prerelease": true,
167+
"channel": "dev"
168+
},
169+
{
170+
"name": "perf-*",
171+
"prerelease": true,
172+
"channel": "dev"
173+
},
174+
{
175+
"name": "refactor-*",
176+
"prerelease": true,
177+
"channel": "dev"
178+
},
179+
{
180+
"name": "revert-*",
181+
"prerelease": true,
182+
"channel": "dev"
183+
},
184+
{
185+
"name": "style-*",
186+
"prerelease": true,
187+
"channel": "dev"
188+
},
189+
{
190+
"name": "test-*",
191+
"prerelease": true,
192+
"channel": "dev"
193+
}
194+
],
195+
"plugins": [
196+
"@semantic-release/commit-analyzer",
197+
"@semantic-release/release-notes-generator",
198+
[
199+
"@semantic-release/changelog",
200+
{ "changelogFile": "CHANGELOG.md" }
201+
],
202+
[
203+
"@semantic-release/git",
204+
{ "assets": [ "CHANGELOG.md" ] }
205+
],
206+
"@semantic-release/github"
207+
],
208+
"repositoryUrl": "https://github.com/TechnologyEnhancedLearning/GitPageBlazorWASM"
209+
}
210+
211+
s

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# put these in .gitattributes file
2+
*.js binary
3+
*.json binary
4+
*.css binary
5+
*.html binary

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# PR Template
2+
3+
## TODO: About
4+
- SO FAR no js controllers are not going to be covered in testing in the package it will be done by how used in LH
5+
But in future we could simulate them with just an api with stock response or find a programatic way, or build a hosted environment.
6+
The gh-page are pure wasm so not supported for nojs
7+
8+
## TODO: This is just replicating LH for now ... ideas
9+
- Link to replicated component
10+
- Link design confluence if coming from design
11+
- Tick box for JS
12+
- If testers find an issue create an automated test of what they did, even potentially with playright record test functionality
13+
14+
15+
### JIRA link
16+
[TD-####](https://hee-tis.atlassian.net/browse/TD-####)
17+
18+
### Description
19+
_Describe what has changed and how that will affect the app. If relevant, add links to any sources/documentation you used. Highlight anything unusual and give people context around particular decisions._
20+
21+
### Screenshots
22+
_Paste screenshots for all views created or changed: mobile, tablet and desktop, wave analyser showing no errors._
23+
24+
-----
25+
### Developer checks
26+
(Leave tasks unticked if they haven't been appropriate for your ticket.)
27+
28+
I have:
29+
- [ ] Run the IDE auto formatter on all files I’ve worked on and made sure there are no IDE errors relating to them
30+
- [ ] Written or updated tests for the changes (accessibility ui tests for views, tests for controller, data services, services, view models created or modified) and made sure all tests are passing
31+
- [ ] Manually tested my work with and without JavaScript (adding notes where functionality requires JavaScript)
32+
- [ ] Tested any Views or partials created or changed with [Wave Chrome plugin](https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh/related). Addressed any valid accessibility issues and documented any invalid errors
33+
- [ ] Updated my Jira ticket with testing notes, including information about other parts of the system that were touched as part of the MR and need to be tested to ensure nothing is broken
34+
- [ ] Scanned over my pull request in GitHub and addressed any warnings from the GitHub Build and Test checks in the GitHub PR ‘Files Changed’ tab
35+
Either:
36+
- [ ] Documented my work in [Confluence](https://hee-tis.atlassian.net/wiki/spaces/TP/pages/3461087233/Development), updating any business rules applied or modified. Updated GitHub readme/documentation for the repository if appropriate. List of documentation links added/changed:
37+
- [doc_1_here](link_1_here)
38+
Or:
39+
- [ ] Confirmed that none of the work that I have undertaken requires any updates to documentation

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
# Configuration for GitPageBlazorWASMProgressive
4+
- package-ecosystem: "nuget"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
open-pull-requests-limit: 100
9+
target-branch: "Automatic_version_update_dependabot"
10+
11+
12+
# Root-level configuration for automerge and versioning
13+
automerge:
14+
enable: true
15+
allow:
16+
- dependency-type: "all"
17+
- update-type: "minor"
18+
- update-type: "patch"
19+
- update-type: "pin"
20+
- update-type: "digest"
21+
22+
versioning-strategy: auto
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"id": 4682062,
3+
"name": "PR-Checks",
4+
"target": "branch",
5+
"source_type": "Repository",
6+
"source": "TechnologyEnhancedLearning/GitPageBlazorWASM",
7+
"enforcement": "disabled",
8+
"conditions": {
9+
"ref_name": {
10+
"exclude": [],
11+
"include": [
12+
"~ALL"
13+
]
14+
}
15+
},
16+
"rules": [
17+
{
18+
"type": "deletion"
19+
},
20+
{
21+
"type": "non_fast_forward"
22+
},
23+
{
24+
"type": "pull_request",
25+
"parameters": {
26+
"required_approving_review_count": 1,
27+
"dismiss_stale_reviews_on_push": false,
28+
"require_code_owner_review": true,
29+
"require_last_push_approval": true,
30+
"required_review_thread_resolution": true,
31+
"automatic_copilot_code_review_enabled": true,
32+
"allowed_merge_methods": [
33+
"merge",
34+
"squash",
35+
"rebase"
36+
]
37+
}
38+
},
39+
{
40+
"type": "code_scanning",
41+
"parameters": {
42+
"code_scanning_tools": [
43+
{
44+
"tool": "CodeQL",
45+
"security_alerts_threshold": "high_or_higher",
46+
"alerts_threshold": "errors"
47+
}
48+
]
49+
}
50+
}
51+
],
52+
"bypass_actors": []
53+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#qqqq todo: starting point implement once in production repo
2+
# comment:
3+
# require_changes: true
4+
# coverage:
5+
# status:
6+
# project:
7+
# default:
8+
# target: 90% # the required coverage value
9+
# threshold: 3% # the leniency in hitting the target
10+
# patch:
11+
# default:
12+
# target: 100%
13+
# threshold: 15%
14+

0 commit comments

Comments
 (0)