mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Workaround to fix #235 (add placeholder inside node_modules)
This commit is contained in:
7
templates/Angular2Spa/node_modules/_placeholder.txt
generated
vendored
Normal file
7
templates/Angular2Spa/node_modules/_placeholder.txt
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
|
||||
('dotnet publish' does not publish any directories that didn't exist or were
|
||||
empty before the publish script started, which means it's not enough just to
|
||||
run 'npm install' during publishing: you need to ensure node_modules already
|
||||
existed at least).
|
||||
|
||||
Hopefully, this can be removed after the move to the new MSBuild.
|
||||
@@ -184,9 +184,12 @@ ClientBin/
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
|
||||
/node_modules/**
|
||||
!/node_modules/_placeholder.txt
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
|
||||
7
templates/KnockoutSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
7
templates/KnockoutSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
|
||||
('dotnet publish' does not publish any directories that didn't exist or were
|
||||
empty before the publish script started, which means it's not enough just to
|
||||
run 'npm install' during publishing: you need to ensure node_modules already
|
||||
existed at least).
|
||||
|
||||
Hopefully, this can be removed after the move to the new MSBuild.
|
||||
@@ -184,9 +184,12 @@ ClientBin/
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
|
||||
/node_modules/**
|
||||
!/node_modules/_placeholder.txt
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
|
||||
7
templates/ReactReduxSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
7
templates/ReactReduxSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
|
||||
('dotnet publish' does not publish any directories that didn't exist or were
|
||||
empty before the publish script started, which means it's not enough just to
|
||||
run 'npm install' during publishing: you need to ensure node_modules already
|
||||
existed at least).
|
||||
|
||||
Hopefully, this can be removed after the move to the new MSBuild.
|
||||
@@ -184,9 +184,12 @@ ClientBin/
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
|
||||
/node_modules/**
|
||||
!/node_modules/_placeholder.txt
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
|
||||
7
templates/ReactSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
7
templates/ReactSpa/node_modules/_placeholder.txt
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
|
||||
('dotnet publish' does not publish any directories that didn't exist or were
|
||||
empty before the publish script started, which means it's not enough just to
|
||||
run 'npm install' during publishing: you need to ensure node_modules already
|
||||
existed at least).
|
||||
|
||||
Hopefully, this can be removed after the move to the new MSBuild.
|
||||
@@ -184,9 +184,12 @@ ClientBin/
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
|
||||
/node_modules/**
|
||||
!/node_modules/_placeholder.txt
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
|
||||
7
templates/WebApplicationBasic/node_modules/_placeholder.txt
generated
vendored
Normal file
7
templates/WebApplicationBasic/node_modules/_placeholder.txt
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
This file exists as a workaround for https://github.com/dotnet/cli/issues/1396
|
||||
('dotnet publish' does not publish any directories that didn't exist or were
|
||||
empty before the publish script started, which means it's not enough just to
|
||||
run 'npm install' during publishing: you need to ensure node_modules already
|
||||
existed at least).
|
||||
|
||||
Hopefully, this can be removed after the move to the new MSBuild.
|
||||
@@ -184,9 +184,12 @@ ClientBin/
|
||||
*.dbproj.schemaview
|
||||
*.pfx
|
||||
*.publishsettings
|
||||
node_modules/
|
||||
orleans.codegen.cs
|
||||
|
||||
# Workaround for https://github.com/aspnet/JavaScriptServices/issues/235
|
||||
/node_modules/**
|
||||
!/node_modules/_placeholder.txt
|
||||
|
||||
# RIA/Silverlight projects
|
||||
Generated_Code/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user