-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from MadL1me/release/8.0.0
[Release/8.0.0] - .NET 8
- Loading branch information
Showing
52 changed files
with
175 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
TEST_PROJ_NAME:MyProject | ||
|
||
TEMPL_DOTNET_NAME:asp-awesome-spa | ||
TEMPL_NAME:Asp.AwesomeTemplates.Spa | ||
NUGET_FILE:Asp.AwesomeTemplates.Spa.0.3.2.nupkg | ||
TEST_PROJ_NAME=MyProject | ||
TEMPL_DOTNET_NAME=aspnext | ||
NUGET_FILE=Aspnext.Template.8.0.0.nupkg | ||
NUGET_API_KEY=<YOUR_NUGET_API_KEY> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
Asp.AwesomeTemplates.Spa/Template/_AWESOME_SPA_/.dockerignore
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Asp.AwesomeTemplates.Spa/Template/_AWESOME_SPA_/Dockerfile
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aspnext.Template", "src\template\Aspnext.Template.csproj", "{768CB4F3-FE8B-4865-B3B2-015B2A23262C}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".config", ".config", "{303FD465-E4F3-446F-9F1D-A4CE5E08E2D7}" | ||
ProjectSection(SolutionItems) = preProject | ||
Makefile = Makefile | ||
.env.prod = .env.prod | ||
.env = .env | ||
README.md = README.md | ||
.gitignore = .gitignore | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{768CB4F3-FE8B-4865-B3B2-015B2A23262C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{768CB4F3-FE8B-4865-B3B2-015B2A23262C}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{768CB4F3-FE8B-4865-B3B2-015B2A23262C}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{768CB4F3-FE8B-4865-B3B2-015B2A23262C}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Define environment variables | ||
TEMPL_DIR := src/template | ||
DOTENV := .env.prod | ||
include $(DOTENV) | ||
export $(shell sed 's/=.*//' $(DOTENV)) | ||
|
||
.PHONY: remove create create_release install new run-dotnet run all list info deploy | ||
|
||
clean: | ||
cd experiments && \ | ||
rm -rf * | ||
|
||
install: | ||
dotnet new install ./ | ||
|
||
uninstall: | ||
dotnet new uninstall ./ | ||
|
||
remove: | ||
cd $(TEMPL_DIR)/nupkg && \ | ||
pwd && \ | ||
dotnet new --uninstall $$TEMPL_NAME && \ | ||
rm -rf * | ||
|
||
pack: | ||
cd $(TEMPL_DIR) && \ | ||
dotnet pack | ||
|
||
pack-release: | ||
cd $(TEMPL_DIR) && \ | ||
dotnet pack --configuration Release | ||
|
||
new: | ||
cd $(TEMPL_DIR)/nupkg && \ | ||
dotnet new $$TEMPL_DOTNET_NAME -o $$TEST_PROJ_NAME | ||
|
||
run-dotnet: | ||
cd $(TEMPL_DIR)/nupkg/$(TEST_PROJ_NAME) && \ | ||
dotnet run | ||
|
||
run: | ||
cd $(TEMPL_DIR)/nupkg/$(TEST_PROJ_NAME)/$(TEST_PROJ_NAME) && \ | ||
docker compose up | ||
|
||
all: remove pack install new | ||
|
||
info: | ||
dotnet new $$TEMPL_DOTNET_NAME -h | ||
|
||
deploy: remove pack-release | ||
cd $(TEMPL_DIR)/nupkg && \ | ||
dotnet nuget push $(NUGET_FILE) --api-key $(NUGET_API_KEY) --source https://api.nuget.org/v3/index.json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.0.31903.59 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AspnextTemplate", "src\AspnextTemplate.csproj", "{753473BB-FF9B-49A5-8FBA-976C4C9A1BD4}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{753473BB-FF9B-49A5-8FBA-976C4C9A1BD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{753473BB-FF9B-49A5-8FBA-976C4C9A1BD4}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{753473BB-FF9B-49A5-8FBA-976C4C9A1BD4}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{753473BB-FF9B-49A5-8FBA-976C4C9A1BD4}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
2 changes: 1 addition & 1 deletion
2
Asp.AwesomeTemplates.Spa/Template/README.md → src/template/Template/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# _AWESOME_SPA_ Project | ||
# AspnextTemplate Project | ||
|
||
## Develop | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ates.Spa/Template/react-next/package.json → ...template/Template/react-next/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ates.Spa/Template/react-vite/package.json → ...template/Template/react-vite/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.