Skip to content

Commit dfcaae6

Browse files
Include AureliaSpa in generator-aspnetcore-spa
1 parent 4b50700 commit dfcaae6

File tree

5 files changed

+260
-1
lines changed

5 files changed

+260
-1
lines changed
Lines changed: 246 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,246 @@
1+
/Properties/launchSettings.json
2+
3+
## Ignore Visual Studio temporary files, build results, and
4+
## files generated by popular Visual Studio add-ons.
5+
6+
# User-specific files
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
build/
23+
bld/
24+
bin/
25+
Bin/
26+
obj/
27+
Obj/
28+
29+
# Visual Studio 2015 cache/options directory
30+
.vs/
31+
/wwwroot/dist/**
32+
/ClientApp/dist/**
33+
34+
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
35+
!/wwwroot/dist/_placeholder.txt
36+
!/ClientApp/dist/_placeholder.txt
37+
38+
39+
# MSTest test Results
40+
[Tt]est[Rr]esult*/
41+
[Bb]uild[Ll]og.*
42+
43+
# NUNIT
44+
*.VisualState.xml
45+
TestResult.xml
46+
47+
# Build Results of an ATL Project
48+
[Dd]ebugPS/
49+
[Rr]eleasePS/
50+
dlldata.c
51+
52+
# DNX
53+
project.lock.json
54+
artifacts/
55+
56+
*_i.c
57+
*_p.c
58+
*_i.h
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Chutzpah Test files
82+
_Chutzpah*
83+
84+
# Visual C++ cache files
85+
ipch/
86+
*.aps
87+
*.ncb
88+
*.opendb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
93+
# Visual Studio profiler
94+
*.psess
95+
*.vsp
96+
*.vspx
97+
*.sap
98+
99+
# TFS 2012 Local Workspace
100+
$tf/
101+
102+
# Guidance Automation Toolkit
103+
*.gpState
104+
105+
# ReSharper is a .NET coding add-in
106+
_ReSharper*/
107+
*.[Rr]e[Ss]harper
108+
*.DotSettings.user
109+
110+
# JustCode is a .NET coding add-in
111+
.JustCode
112+
113+
# TeamCity is a build add-in
114+
_TeamCity*
115+
116+
# DotCover is a Code Coverage Tool
117+
*.dotCover
118+
119+
# NCrunch
120+
_NCrunch_*
121+
.*crunch*.local.xml
122+
nCrunchTemp_*
123+
124+
# MightyMoose
125+
*.mm.*
126+
AutoTest.Net/
127+
128+
# Web workbench (sass)
129+
.sass-cache/
130+
131+
# Installshield output folder
132+
[Ee]xpress/
133+
134+
# DocProject is a documentation generator add-in
135+
DocProject/buildhelp/
136+
DocProject/Help/*.HxT
137+
DocProject/Help/*.HxC
138+
DocProject/Help/*.hhc
139+
DocProject/Help/*.hhk
140+
DocProject/Help/*.hhp
141+
DocProject/Help/Html2
142+
DocProject/Help/html
143+
144+
# Click-Once directory
145+
publish/
146+
147+
# Publish Web Output
148+
*.[Pp]ublish.xml
149+
*.azurePubxml
150+
# TODO: Comment the next line if you want to checkin your web deploy settings
151+
# but database connection strings (with potential passwords) will be unencrypted
152+
*.pubxml
153+
*.publishproj
154+
155+
# NuGet Packages
156+
*.nupkg
157+
# The packages folder can be ignored because of Package Restore
158+
**/packages/*
159+
# except build/, which is used as an MSBuild target.
160+
!**/packages/build/
161+
# Uncomment if necessary however generally it will be regenerated when needed
162+
#!**/packages/repositories.config
163+
164+
# Microsoft Azure Build Output
165+
csx/
166+
*.build.csdef
167+
168+
# Microsoft Azure Emulator
169+
ecf/
170+
rcf/
171+
172+
# Microsoft Azure ApplicationInsights config file
173+
ApplicationInsights.config
174+
175+
# Windows Store app package directory
176+
AppPackages/
177+
BundleArtifacts/
178+
179+
# Visual Studio cache files
180+
# files ending in .cache can be ignored
181+
*.[Cc]ache
182+
# but keep track of directories ending in .cache
183+
!*.[Cc]ache/
184+
185+
# Others
186+
ClientBin/
187+
~$*
188+
*~
189+
*.dbmdl
190+
*.dbproj.schemaview
191+
*.pfx
192+
*.publishsettings
193+
orleans.codegen.cs
194+
195+
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
196+
/node_modules/**
197+
!/node_modules/_placeholder.txt
198+
199+
# RIA/Silverlight projects
200+
Generated_Code/
201+
202+
# Backup & report files from converting an old project file
203+
# to a newer Visual Studio version. Backup files are not needed,
204+
# because we have git ;-)
205+
_UpgradeReport_Files/
206+
Backup*/
207+
UpgradeLog*.XML
208+
UpgradeLog*.htm
209+
210+
# SQL Server files
211+
*.mdf
212+
*.ldf
213+
214+
# Business Intelligence projects
215+
*.rdl.data
216+
*.bim.layout
217+
*.bim_*.settings
218+
219+
# Microsoft Fakes
220+
FakesAssemblies/
221+
222+
# GhostDoc plugin setting file
223+
*.GhostDoc.xml
224+
225+
# Node.js Tools for Visual Studio
226+
.ntvs_analysis.dat
227+
228+
# Visual Studio 6 build log
229+
*.plg
230+
231+
# Visual Studio 6 workspace options file
232+
*.opt
233+
234+
# Visual Studio LightSwitch build output
235+
**/*.HTMLClient/GeneratedArtifacts
236+
**/*.DesktopClient/GeneratedArtifacts
237+
**/*.DesktopClient/ModelManifest.xml
238+
**/*.Server/GeneratedArtifacts
239+
**/*.Server/ModelManifest.xml
240+
_Pvt_Extensions
241+
242+
# Paket dependency manager
243+
.paket/paket.exe
244+
245+
# FAKE - F# Make
246+
.fake/
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
------------------------------------------------------------------
2+
Don't delete this file. Do include it in your source control repo.
3+
------------------------------------------------------------------
4+
5+
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
6+
('dotnet publish' does not publish any directories that didn't exist or were
7+
empty before the publish script started, which means it's not enough just to
8+
run 'npm install' during publishing: you need to ensure node_modules already
9+
existed at least).
10+
11+
Hopefully, this can be removed after the move to the new MSBuild.

templates/package-builder/src/build/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const yeomanGeneratorSource = './src/yeoman';
1313

1414
const templates: { [key: string]: { dir: string, dotNetNewId: string, displayName: string, forceInclusion?: RegExp } } = {
1515
'angular-2': { dir: '../../templates/Angular2Spa/', dotNetNewId: 'Angular', displayName: 'Angular 2', forceInclusion: /^(wwwroot|ClientApp)\/dist\// },
16+
'aurelia': { dir: '../../templates/AureliaSpa/', dotNetNewId: 'Aurelia', displayName: 'Aurelia' },
1617
'knockout': { dir: '../../templates/KnockoutSpa/', dotNetNewId: 'Knockout', displayName: 'Knockout.js' },
1718
'react-redux': { dir: '../../templates/ReactReduxSpa/', dotNetNewId: 'ReactRedux', displayName: 'React.js and Redux' },
1819
'react': { dir: '../../templates/ReactSpa/', dotNetNewId: 'React', displayName: 'React.js' }

templates/package-builder/src/yeoman/app/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const optionOrPrompt: YeomanPrompt = require('yeoman-option-or-prompt');
1010

1111
const templates = [
1212
{ value: 'angular-2', name: 'Angular 2' },
13+
{ value: 'aurelia', name: 'Aurelia' },
1314
{ value: 'knockout', name: 'Knockout' },
1415
{ value: 'react', name: 'React' },
1516
{ value: 'react-redux', name: 'React with Redux' }

templates/package-builder/src/yeoman/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-aspnetcore-spa",
3-
"version": "0.3.10",
3+
"version": "0.4.0",
44
"description": "Single-Page App templates for ASP.NET Core",
55
"author": "Microsoft",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)