diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
new file mode 100644
index 0000000..0c5336d
--- /dev/null
+++ b/.github/CODEOWNERS
@@ -0,0 +1 @@
+* @Werecodent/developers
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index d1fe17b..20645d5 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -4,7 +4,7 @@ Thank you for your interest in contributing.
Please first discuss the change you wish to make via issue/request, email, or any other method with the owners of this repository before making changes. Failure to do so will likely lead to a declined pull request regardless of quality.
-Make sure to refer to and follow the [code of conduct](CODE_OF_CONDUCT.md). For environment setup, refer to the [support](SUPPORT.md) page.
+Make sure to refer to and follow the [code of conduct](./CODE_OF_CONDUCT.md). For environment setup, refer to the [support](./SUPPORT.md) page.
## Quality Requirements
diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md
index 0e729be..f5efb51 100644
--- a/.github/SUPPORT.md
+++ b/.github/SUPPORT.md
@@ -1,37 +1,37 @@
# Support
-If you encounter any issue using the project, please create an issue for the project. Make sure to refer to and follow the [code of conduct](CODE_OF_CONDUCT.md).
+If you encounter any issue using the project, please create an issue for the project. Make sure to refer to and follow the [code of conduct](./CODE_OF_CONDUCT.md).
# Environment Setup
-Ensure you understand the [contributing](CONTRIBUTING.md) requirements, then follow the instructions below relevant to your environment.
+Ensure you understand the [contributing](./CONTRIBUTING.md) requirements, then follow the instructions below relevant to your environment.
## Mac Environment Recommended Setup
1) Install Command Line Developer Tools via the Terminal:
- A) Check if installed: ‘xcode-select -p’
- B) If not, run: ‘code-select —install’
- C) Verify git works: ‘git —version’
+ 1. Check if installed: ‘xcode-select -p’
+ 2. If not, run: ‘code-select —install’
+ 3. Verify git works: ‘git —version’
2) Install [VS Code](https://code.visualstudio.com/docs/setup/mac) for development.
-3) Install [Google Chrome](https://www.google.com/chrome) for debugging.
+3) Install [Google Chrome](https://www.google.com/chrome) for debugging webpages.
4) Clone the repository in the editor, then:
- A) Install all recommended extensions for the project.
- B) Follow all prompts for signing in/downloads.
- C) To see build options, run from terminal: "./build/run.sh --help"
- D) Verify project state by running from terminal: "./build/run.sh test"
+ 1. Install all recommended extensions for the project.
+ 2. Follow all prompts for signing in/downloads.
+ 3. To see build options, run from terminal: "./build/run.sh --help"
+ 4. Verify project state by running from terminal: "./build/run.sh test"
## Linux Environment Recommended Setup
1) Install packages for:
- A) [.NET frameworks](https://dotnet.microsoft.com/download)
- B) [Mono](https://www.mono-project.com/download/stable/#download-lin)
- C) [VS Code](https://code.visualstudio.com/docs/setup/linux)
-2) Install [Google Chrome](https://www.google.com/chrome) for debugging.
+ 1. [.NET frameworks](https://dotnet.microsoft.com/download)
+ 2. [Mono](https://www.mono-project.com/download/stable/#download-lin)
+ 3. [VS Code](https://code.visualstudio.com/docs/setup/linux)
+2) Install [Google Chrome](https://www.google.com/chrome) for debugging webpages.
3) Clone the repository in the editor, then:
- A) Install all recommended extensions for the project.
- B) Run from terminal: "chmod +x ./build/run.sh"
- C) To see build options, run from terminal: "./build/run.sh --help"
- D) Verify project state by running from terminal: "./build/run.sh test"
+ 1. Install all recommended extensions for the project.
+ 2. Run from terminal: "chmod +x ./build/run.sh"
+ 3. To see build options, run from terminal: "./build/run.sh --help"
+ 4. Verify project state by running from terminal: "./build/run.sh test"
## Windows Environment Optional Setup
@@ -46,11 +46,13 @@ VS Code is still recommended (see above setups), but VS Community may be utilize
Set the following git configuration settings, replacing [xxx] with valid personal values:
-1) git config --global user.name "[xxx]"
-2) git config --global user.email "[xxx]@users.noreply.github.com"
-3) git config --global user.signingKey [xxx]
-4) git config --global tag.gpgSign true
-5) git config --global commit.gpgSign true
-6) git config --global push.gpgSign "if-asked"
+```bash
+git config --global user.name "[xxx]"
+git config --global user.email "[xxx]@users.noreply.github.com"
+git config --global user.signingKey [xxx]
+git config --global tag.gpgSign true
+git config --global commit.gpgSign true
+git config --global push.gpgSign "if-asked"
+```
-Read more about GPG keys and why they must be set in the [contributing](CONTRIBUTING.md) requirements.
+Read more about GPG keys and why they must be set in the [contributing](./CONTRIBUTING.md) requirements.
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
new file mode 100644
index 0000000..ed859bc
--- /dev/null
+++ b/.github/workflows/coverage.yml
@@ -0,0 +1,30 @@
+name: Coverage
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ coverage:
+ runs-on: ubuntu-latest
+ timeout-minutes: 15
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v5
+ with:
+ dotnet-version: 11.0.x
+
+ - name: Build & Check Test Coverage
+ shell: bash
+ run: ./build/run.sh coverage
+
+ - name: Upload Coverage
+ uses: codecov/codecov-action@v6
+ with:
+ directory: ./artifacts/coverage
+ token: ${{ Secrets.CODECOV_TOKEN }}
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml
index 158813c..56ab415 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -15,29 +15,15 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- - uses: actions/checkout@v6
+ - name: Checkout
+ uses: actions/checkout@v6
+
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
- dotnet-version: 10.0.x
+ dotnet-version: 11.0.x
+
- name: Build & Test
run: ./build/run.sh test
shell: bash
-
- coverage:
- runs-on: ubuntu-latest
- timeout-minutes: 15
- steps:
- - uses: actions/checkout@v6
- - name: Setup .NET
- uses: actions/setup-dotnet@v5
- with:
- dotnet-version: 10.0.x
- - name: Build & Check Test Coverage
- shell: bash
- run: ./build/run.sh coverage
- - name: Upload Coverage
- uses: codecov/codecov-action@v6
- with:
- directory: ./artifacts/coverage
- token: ${{ Secrets.CODECOV_TOKEN }}
+
\ No newline at end of file
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
new file mode 100644
index 0000000..b15d446
--- /dev/null
+++ b/.github/workflows/pages.yml
@@ -0,0 +1,50 @@
+name: Pages
+
+on:
+ push:
+ branches: [ main ]
+ workflow_dispatch:
+
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+
+concurrency:
+ group: pages
+ cancel-in-progress: false
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v6
+
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v5
+ with:
+ dotnet-version: 11.0.x
+
+ - name: Setup Pages
+ uses: actions/configure-pages@v6
+
+ - name: Build Site
+ run: ./build/run.sh buildSite
+ shell: bash
+
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v5
+ with:
+ path: ./artifacts/site
+
+ deploy:
+ needs: build
+ runs-on: ubuntu-latest
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
+ steps:
+ - name: Deploy to GitHub Pages
+ id: deployment
+ uses: actions/deploy-pages@v5
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 2d13b05..1a9d167 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -6,7 +6,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
- "program": "${workspaceFolder}/artifacts/bin/Terminal/Debug/net10.0/Terminal.dll",
+ "program": "${workspaceFolder}/artifacts/bin/Terminal/Debug/net11.0/Terminal.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
diff --git a/.vscode/settings.json b/.vscode/settings.json
index df65117..e5f73b3 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,14 +1,13 @@
{
"omnisharp.enableEditorConfigSupport": true,
"dotnet.formatting.organizeImportsOnFormat": true,
- "dotnet.testWindow.enableTestExplorerDiff": false,
"dotnet.unitTests.runSettingsPath": "./tests/TestSettings.runsettings",
- "dotnet.defaultSolution": "UltimateProjectStarter.slnx",
+ "dotnet.defaultSolution": "SharpProjectStarter.slnx",
"git.enableSmartCommit": true,
"git.enableCommitSigning": true,
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
- "source.organizeImports": "explicit"
+ "source.organizeImports": "always"
},
"editor.rulers": [
120
@@ -19,13 +18,19 @@
"[xml]": {
"editor.defaultFormatter": "csharpier.csharpier-vscode"
},
+ "json.schemaDownload.trustedDomains": {
+ "https://raw.githubusercontent.com/dotnet/docfx/main/schemas/docfx.schema.json": true
+ },
"cSpell.words": [
"Analyser",
"autobuild",
+ "changefreq",
"cobertura",
"codecov",
"codeql",
+ "cooldown",
"cref",
+ "docfx",
"globaltool",
"Lindhart",
"Meziantou",
@@ -36,16 +41,18 @@
"runsettings",
"signoff",
"targetdir",
+ "Werebunny",
"Werecodent",
"xunit"
],
"cSpell.ignorePaths": [
"**/usr/local/share/dotnet",
"**/var/folders/",
- ".gitignore",
- ".editorconfig",
".vscode/",
- "nuget.config",
- "artifacts/"
+ "artifacts/",
+ "site/template/",
+ ".editorconfig",
+ ".gitignore",
+ "nuget.config"
],
}
\ No newline at end of file
diff --git a/README.md b/README.md
index cb04f0f..7403358 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
-# Ultimate Project Starter
+# Sharp Project Starter
-[](https://github.com/Werecodent/UltimateProjectStarter/actions/workflows/integration.yml)
-[](https://codecov.io/gh/Werecodent/UltimateProjectStarter/branch/main)
+[](https://github.com/Werecodent/SharpProjectStarter/actions/workflows/integration.yml) [](https://codecov.io/gh/Werecodent/SharpProjectStarter/branch/main) [](https://github.com/sponsors/Werecodent)
(This project is under construction at the moment; be cautious of incomplete instructions.)
@@ -11,22 +10,27 @@ Everything you need to get a quick start for a C# project on GitHub! Useful as a
2) A variety of sample projects to fit whatever you want to do.
3) Build workflows with test coverage collection.
4) Clean project structure with all output directed to './artifacts'.
-5) Even the start of a [documentation site](https://Werecodent.github.io/UltimateProjectStarter/) using GitHub pages.
+5) Even the start of a [documentation site](https://Werecodent.github.io/SharpProjectStarter/) using GitHub pages.
## Instructions
Customize the project for your own use by following these steps:
1) Replace all instance of "Werecodent" with your organization's name (or empty).
-2) Replace all instances of "UltimateProjectStarter" with your project's name.
+2) Replace all instances of "SharpProjectStarter" & "Sharp Project Starter" with your project's name.
3) Install "CodeCov" as a GitHub app to the project/organization and set it up, or remove all references.
4) Tweak existing code as needed and begin coding.
## Documentation
-The documentation site is located here: https://Werecodent.github.io/UltimateProjectStarter/
+Visit the [documentation site](https://werecodent.github.io/SharpProjectStarter/) for more information and how to get started.
-The raw files can be viewed from the [docs](docs) folder or built into a local site using Jekyll.
+A local site can be built from the source code using the terminal command "./build/run.sh serveSite".
+
+## Sponsors
+
+
+
## Contributing
@@ -45,7 +49,7 @@ View the [license](LICENSE) file for more details.
* [Coverlet](https://github.com/tonerdo/coverlet) + [ReportGenerator](https://danielpalme.github.io/ReportGenerator) + [CodeCov](https://codecov.io): For test coverage.
* [Bullseye](https://github.com/adamralph/bullseye) + [SimpleExec](https://github.com/adamralph/simple-exec) + [MinVer](https://github.com/adamralph/minver): For project building.
* [AsyncFixer](https://github.com/semihokur/AsyncFixer) + [MissingAwaitWarning](https://github.com/ykoksen/unused-task-warning) + [Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer) + [Sonar](https://github.com/SonarSource/sonar-dotnet): For code analyzers.
+* [DocFX](https://github.com/dotnet/docfx): For building the documentation site.
* [CSharpier](https://github.com/belav/csharpier): For formatting code.
* [GitHub](https://github.com): For hosting code.
* [Microsoft](https://visualstudio.microsoft.com/vs/features/net-development): For C# and editors.
-
diff --git a/UltimateProjectStarter.slnx b/SharpProjectStarter.slnx
similarity index 100%
rename from UltimateProjectStarter.slnx
rename to SharpProjectStarter.slnx
diff --git a/docs/_config.yml b/docs/_config.yml
deleted file mode 100644
index 3946269..0000000
--- a/docs/_config.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-theme: jekyll-theme-architect
-markdown: kramdown
-highlighter: rouge
-
-title: UltimateProjectStarter
-description: Quick template to start C# projects with.
diff --git a/docs/_includes/nav.html b/docs/_includes/nav.html
deleted file mode 100644
index c779fc2..0000000
--- a/docs/_includes/nav.html
+++ /dev/null
@@ -1,10 +0,0 @@
-