mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
For project.json-based projects, fix Kudu deployment by adding a .deployment file at the root
This commit is contained in:
2
templates/Angular2Spa/.deployment
Normal file
2
templates/Angular2Spa/.deployment
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[config]
|
||||||
|
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
|
||||||
2
templates/AureliaSpa/.deployment
Normal file
2
templates/AureliaSpa/.deployment
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[config]
|
||||||
|
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
|
||||||
2
templates/KnockoutSpa/.deployment
Normal file
2
templates/KnockoutSpa/.deployment
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[config]
|
||||||
|
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
|
||||||
2
templates/ReactReduxSpa/.deployment
Normal file
2
templates/ReactReduxSpa/.deployment
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[config]
|
||||||
|
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
|
||||||
2
templates/ReactSpa/.deployment
Normal file
2
templates/ReactSpa/.deployment
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[config]
|
||||||
|
SCM_SCRIPT_GENERATOR_ARGS=--aspNetCore project.json
|
||||||
@@ -50,7 +50,7 @@ const templates = [
|
|||||||
const sdkChoices = [{
|
const sdkChoices = [{
|
||||||
value: '1.0.0-preview2-1-003177', // Current released version
|
value: '1.0.0-preview2-1-003177', // Current released version
|
||||||
name: 'project.json' + chalk.gray(' (compatible with .NET Core tooling preview 2 and Visual Studio 2015)'),
|
name: 'project.json' + chalk.gray(' (compatible with .NET Core tooling preview 2 and Visual Studio 2015)'),
|
||||||
includeFiles: [/^project.json$/, /\.xproj$/, /_placeholder.txt$/]
|
includeFiles: [/^project.json$/, /\.xproj$/, /_placeholder.txt$/, /\.deployment$/]
|
||||||
}, {
|
}, {
|
||||||
value: '1.0.0-preview3-004056', // Version that ships with VS2017RC
|
value: '1.0.0-preview3-004056', // Version that ships with VS2017RC
|
||||||
name: '.csproj' + chalk.gray(' (compatible with .NET Core tooling preview 3 and Visual Studio 2017)'),
|
name: '.csproj' + chalk.gray(' (compatible with .NET Core tooling preview 3 and Visual Studio 2017)'),
|
||||||
|
|||||||
Reference in New Issue
Block a user