Skip to content

Commit

Permalink
Updating Lombiq.Npm.Targets to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Piedone committed Jun 18, 2023
1 parent 1a0def5 commit 1a65cd7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Lombiq.NodeJs.Extensions/Lombiq.NodeJs.Extensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Npm.Targets" Version="1.3.2-alpha.0.osoe-548">
<PackageReference Include="Lombiq.Npm.Targets" Version="1.4.0">
<!-- See https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#controlling-dependency-assets
and https://github.com/NuGet/docs.microsoft.com-nuget/issues/2716. -->
<!-- We want to make NPM-Targets' build files (.props and .targets) available to consumer projects, so we need to
Expand Down Expand Up @@ -85,10 +85,7 @@
AddNodeJsExtensionsAsNpmPackage
</InstallNodeJsExtensionsNpmPackageGloballyDependsOn>
</PropertyGroup>
<Target Name="InstallNodeJsExtensionsNpmPackageGlobally"
BeforeTargets="BeforeBuild"
DependsOnTargets="$(InstallNodeJsExtensionsNpmPackageGloballyDependsOn)"
Condition="'$(UseGlobalNodeJsExtensionsNpmPackage)' == 'true'">
<Target Name="InstallNodeJsExtensionsNpmPackageGlobally" BeforeTargets="BeforeBuild" DependsOnTargets="$(InstallNodeJsExtensionsNpmPackageGloballyDependsOn)" Condition="'$(UseGlobalNodeJsExtensionsNpmPackage)' == 'true'">
<Exec Command="pnpm link &quot;$(NodeJsExtensionsNpmPackageSourcePath)&quot;" />
</Target>

Expand Down

0 comments on commit 1a65cd7

Please sign in to comment.