forked from microsoft/node-api-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NuGet and npm packaging (microsoft#39)
- Loading branch information
Showing
47 changed files
with
790 additions
and
327 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
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,12 +1,16 @@ | ||
/out/ | ||
bin/ | ||
obj/ | ||
|
||
*.suo | ||
*.user | ||
|
||
.vs/ | ||
|
||
node_modules/ | ||
examples/**/package-lock.json | ||
|
||
/src/**/*.xml | ||
|
||
*.log | ||
*.binlog |
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,9 @@ | ||
{ | ||
// Don't show the "Required assets are missing..." dialog on startup. We'll manage tasks.json / launch.json manually. | ||
"csharp.suppressBuildAssetsNotification": true | ||
"csharp.suppressBuildAssetsNotification": true, | ||
|
||
// We try to limit the length of code lines to 100 columns. | ||
"editor.rulers": [ | ||
100, | ||
] | ||
} |
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,27 +1,24 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<SelfContained Condition="'$(RuntimeIdentifier)' != ''">true</SelfContained> | ||
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration> | ||
<BaseOutputPath>$(MSBuildThisFileDirectory)out/</BaseOutputPath> | ||
<OutputPath>$(BaseOutputPath)bin/$(Configuration)/$(MSBuildProjectName)/</OutputPath> | ||
<PackageOutputPath>$(BaseOutputPath)pkg/</PackageOutputPath> | ||
<SymbolsOutputPath>$(BaseOutputPath)sym/</SymbolsOutputPath> | ||
<BaseIntermediateOutputPath>$(BaseOutputPath)obj/$(Configuration)/$(MSBuildProjectName)/</BaseIntermediateOutputPath> | ||
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath> | ||
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration> | ||
<BaseOutputPath>$(MSBuildThisFileDirectory)out/</BaseOutputPath> | ||
<OutputPath>$(BaseOutputPath)bin/$(Configuration)/$(MSBuildProjectName)/</OutputPath> | ||
<PackageOutputPath>$(BaseOutputPath)pkg/</PackageOutputPath> | ||
<SymbolsOutputPath>$(BaseOutputPath)sym/</SymbolsOutputPath> | ||
<BaseIntermediateOutputPath>$(BaseOutputPath)obj/$(Configuration)/$(MSBuildProjectName)/</BaseIntermediateOutputPath> | ||
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath> | ||
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath> | ||
<IsPackable>false</IsPackable> | ||
|
||
<ItemGroup> | ||
<CompilerVisibleProperty Include="BaseIntermediateOutputPath" /><!-- Used by NodeApi source generator. --> | ||
<CompilerVisibleProperty Include="TargetPath" /><!-- Used by NodeApi TS source generator. --> | ||
</ItemGroup> | ||
<!-- Display each test case and passed/failed status when using `dotnet test`. --> | ||
<VSTestLogger Condition="'$(VSTestLogger)' == ''">console%3Bverbosity=normal</VSTestLogger> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- | ||
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="All" /> | ||
--> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="none" /> | ||
</ItemGroup> | ||
|
||
<Import Project="./rid.props" /> | ||
</Project> |
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,9 @@ | ||
<Project> | ||
<!-- Clean the local cache when building a package so local projects always get the new content. --> | ||
<Target Name="CleanLocalPackageCache" | ||
AfterTargets="Pack" | ||
Condition=" '$(PackageId)' != '' AND '$(PackageOutputPath)' != '' " | ||
> | ||
<RemoveDir Directories="$(PackageOutputPath)$(PackageId)" /> | ||
</Target> | ||
</Project> |
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
Oops, something went wrong.