DarkPatterns.Build.Pnpm
0.1.4
See the version list below for details.
dotnet add package DarkPatterns.Build.Pnpm --version 0.1.4
NuGet\Install-Package DarkPatterns.Build.Pnpm -Version 0.1.4
<PackageReference Include="DarkPatterns.Build.Pnpm" Version="0.1.4" />
<PackageVersion Include="DarkPatterns.Build.Pnpm" Version="0.1.4" />
<PackageReference Include="DarkPatterns.Build.Pnpm" />
paket add DarkPatterns.Build.Pnpm --version 0.1.4
#r "nuget: DarkPatterns.Build.Pnpm, 0.1.4"
#:package DarkPatterns.Build.Pnpm@0.1.4
#addin nuget:?package=DarkPatterns.Build.Pnpm&version=0.1.4
#tool nuget:?package=DarkPatterns.Build.Pnpm&version=0.1.4
DarkPatterns.Build.Pnpm
Add build tooling to MSBuild to support PNPM projects!
Create a new pnpm project via
pnpm initor other mechanism.Create a new msbuild project in the same folder as the
package.jsonand set theSdkto match this package and the latest version. For example:<Project Sdk="DarkPatterns.Build.Pnpm/0.1.4">Set the corresponding settings, including
PnpmRootPath,PnpmBuildScript, etc.
Configuration
Properties
| Name | Decription | Default |
|---|---|---|
| PnpmBuildScript | The command line to run during the build phase | pnpm run --if-present build |
| PnpmTestScript | The command line to run for dotnet test |
pnpm run --if-present test |
| PnpmLintScript | The command line to run for lint checks | pnpm run --if-present lint |
| PnpmRootPath | The path to the workspace root for the PNPM project. Should end with a / |
$(SolutionRoot) or $(ProjectDir) |
| LintSkipPnpm | If 'true', skips running the PnpmLintScript, even if it is set. |
Not set |
| PackPnpmOnBuild | If 'true', creates the npm .tgz in the $(PackageOutputPath) with only a build. |
Not set |
Items
| Name | Decription | Default |
|---|---|---|
| CompileOutputs | The files that will be created by the build process | None; required to run build script |
| Compile | The inputs for build and lint | src/** |
| CompileConfig[^1] | Inputs that could affect build configuration options. | .*rc and *.json files in the project root |
| RestoreConfig[^1] | The inputs for the node restore configuration. | $(PnpmRootPath)package.json, $(PnpmRootPath)pnpm-lock.yaml, and package.json |
| PnpmPackagedFiles | Additional inputs that will cause the packaged files to change | All CompileConfig items |
[^1]: These will be added to the Watch item, for use with dotnet watch.
Targets
PnpmInstall
Runs before building, linting, or restoring the project. Works with other
instances of the Sdk to ensure that only one pnpm install is running at a time
from within msbuild. Uses --frozen-lockfile in Release mode.
NodeBuild
Runs before Build. Uses CompileOutputs for outputs, which must be provided. Executes the PnpmBuildScript.
Lint
Executes the PnpmLintScript.
PnpmPack
Runs before Publish. Depends on Build. Produces an npm-compatible .tgz in
the $(PackageOutputPath) directory.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.2 | 7,245 | 12/5/2024 |
| 0.2.1 | 933 | 10/20/2024 |
| 0.2.0 | 470 | 10/6/2024 |
| 0.1.15 | 243 | 10/5/2024 |
| 0.1.14 | 332 | 9/2/2024 |
| 0.1.13 | 259 | 9/2/2024 |
| 0.1.12 | 292 | 8/23/2024 |
| 0.1.11 | 314 | 8/15/2024 |
| 0.1.10 | 270 | 8/15/2024 |
| 0.1.9 | 269 | 8/15/2024 |
| 0.1.8 | 283 | 8/15/2024 |
| 0.1.7 | 271 | 8/15/2024 |
| 0.1.6 | 271 | 8/8/2024 |
| 0.1.5 | 256 | 8/7/2024 |
| 0.1.4 | 273 | 8/7/2024 |
| 0.1.3 | 222 | 8/5/2024 |
| 0.1.2 | 229 | 8/5/2024 |
| 0.1.1 | 238 | 8/5/2024 |
| 0.1.0 | 228 | 8/3/2024 |