Skip to content

Commit 9e14301

Browse files
committed
Initial setup
1 parent 2f17f47 commit 9e14301

File tree

6 files changed

+11
-38
lines changed

6 files changed

+11
-38
lines changed

NexusMods.App.Template.sln renamed to NexusMods.EventSourcing.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{6ED01F9D
2424
tests\SharedUsings.cs = tests\SharedUsings.cs
2525
EndProjectSection
2626
EndProject
27-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Template", "src\NexusMods.Template\NexusMods.Template.csproj", "{A92DED3D-BC67-4E04-9A06-9A1B302B3070}"
27+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.EventSourcing", "src\NexusMods.EventSourcing\NexusMods.EventSourcing.csproj", "{A92DED3D-BC67-4E04-9A06-9A1B302B3070}"
2828
EndProject
29-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.Template.Tests", "tests\NexusMods.Template.Tests\NexusMods.Template.Tests.csproj", "{30CBEB4A-E0C0-4B11-A0CF-F97BFACEEF89}"
29+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NexusMods.EventSourcing.Tests", "tests\NexusMods.EventSourcing.Tests\NexusMods.EventSourcing.Tests.csproj", "{30CBEB4A-E0C0-4B11-A0CF-F97BFACEEF89}"
3030
EndProject
3131
Global
3232
GlobalSection(SolutionConfigurationPlatforms) = preSolution

README.md

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,7 @@
1-
# NexusMods.App.Template
1+
# NexusMods.EventSourcing
22

33
This is a template repository for `NexusMods.App.*` repositories.
44

5-
## How to use
6-
7-
The following is a checklist of things you need to do after creating a new repository with this template.
8-
9-
1) Update the project settings:
10-
1) `Settings` -> uncheck `Wikis` (under Features)
11-
2) `Settings` -> check `Automatically delete head branches`
12-
3) `Settings` -> `Collaborators and teams` -> `Add Teams`
13-
- Add `NexusMods.App Admin` with role `Admin`
14-
- Add `NexusMods.App Developers` with role `Maintain`
15-
- Remove yourself as a collaborator
16-
4) `Settings` -> `Rules` -> `Rulesets` and add a new one:
17-
- Call it `Branch PR Rules`
18-
- Add `Repository admin` to the `Bypass list`
19-
- Add `Include default branch` as a target
20-
- Only check the following branch protections:
21-
- `Restrict deletions`
22-
- `Require signed commits`
23-
- `Require a pull request` before merging with **1** required approvals
24-
- `Require status checks to pass before merging`
25-
- `Block force pushes`
26-
5) `Settings` -> `Pages` and change `Source` to **GitHub Actions**
27-
2) Rename the Solution and existing Projects
28-
3) Update the docs:
29-
1) Open [`mkdocs.yml`](./mkdocs.yml) and update the first four fields:
30-
- `site_name` and `site_url`
31-
- `repo_name` and `repo_url`
32-
2) Update the docs in [`docs`](./docs). At least change the [`index.md`](./docs/index.md) file.
33-
34-
Finally, update this README.
35-
365
## License
376

387
See [LICENSE.md](./LICENSE.md)

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
site_name: Nexus Mods App Template
2-
site_url: https://nexus-mods.github.io/NexusMods.App.Template
2+
site_url: https://nexus-mods.github.io/NexusMods.EventSourcing
33

4-
repo_name: Nexus-Mods/NexusMods.App.Template
5-
repo_url: https://github.com/Nexus-Mods/NexusMods.App.Template
4+
repo_name: Nexus-Mods/NexusMods.App.EventSourcing
5+
repo_url: https://github.com/Nexus-Mods/NexusMods.EventSourcing
66

77
extra:
88
social:
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<RootNamespace>NexusMods.EventSourcing</RootNamespace>
4+
</PropertyGroup>
25
<Import Project="$([MSBuild]::GetPathOfFileAbove('NuGet.Build.props', '$(MSBuildThisFileDirectory)../'))" />
36
</Project>

tests/NexusMods.Template.Tests/NexusMods.Template.Tests.csproj renamed to tests/NexusMods.EventSourcing.Tests/NexusMods.EventSourcing.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<PropertyGroup>
33
<!-- https://github.com/pengweiqhca/Xunit.DependencyInjection#how-to-disable-xunitdependencyinjection -->
44
<EnableXunitDependencyInjectionDefaultTestFrameworkAttribute>false</EnableXunitDependencyInjectionDefaultTestFrameworkAttribute>
5+
<RootNamespace>NexusMods.EventSourcing.Tests</RootNamespace>
56
</PropertyGroup>
67
</Project>

tests/NexusMods.Template.Tests/Test1.cs renamed to tests/NexusMods.EventSourcing.Tests/Test1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace NexusMods.Template.Tests;
1+
namespace NexusMods.EventSourcing.Tests;
22

33
public class Test1
44
{

0 commit comments

Comments
 (0)