{"id":24629478,"url":"https://github.com/sharpjs/subatomix.build.packaging.powershellmodule","last_synced_at":"2025-07-26T10:38:52.748Z","repository":{"id":68403101,"uuid":"273798730","full_name":"sharpjs/Subatomix.Build.Packaging.PowerShellModule","owner":"sharpjs","description":"Package a .NET SDK-style project as a PowerShell module","archived":false,"fork":false,"pushed_at":"2022-11-12T15:23:34.000Z","size":183,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-10T16:29:28.998Z","etag":null,"topics":["msbuild","packaging","powershell","powershell-module"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sharpjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-20T23:11:43.000Z","updated_at":"2022-09-14T18:22:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"51382553-608c-411b-9c63-6d895239933f","html_url":"https://github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/sharpjs/Subatomix.Build.Packaging.PowerShellModule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2FSubatomix.Build.Packaging.PowerShellModule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2FSubatomix.Build.Packaging.PowerShellModule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2FSubatomix.Build.Packaging.PowerShellModule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2FSubatomix.Build.Packaging.PowerShellModule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sharpjs","download_url":"https://codeload.github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sharpjs%2FSubatomix.Build.Packaging.PowerShellModule/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150480,"owners_count":24043473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["msbuild","packaging","powershell","powershell-module"],"created_at":"2025-01-25T06:13:02.788Z","updated_at":"2025-07-26T10:38:52.741Z","avatar_url":"https://github.com/sharpjs.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subatomix.Build.Packaging.PowerShellModule\n\nPowerShell module packaging support for .NET\n[SDK-style](https://docs.microsoft.com/en-us/dotnet/core/tools/csproj)\nprojects.\n\n## Status\n\n[![Build](https://github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule/workflows/Build/badge.svg)](https://github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule/actions)\n[![NuGet](https://img.shields.io/nuget/v/Subatomix.Build.Packaging.PowerShellModule.svg)](https://www.nuget.org/packages/Subatomix.Build.Packaging.PowerShellModule)\n[![NuGet](https://img.shields.io/nuget/dt/Subatomix.Build.Packaging.PowerShellModule.svg)](https://www.nuget.org/packages/Subatomix.Build.Packaging.PowerShellModule)\n\nIn use by a handful of modules.\n\n## Features\n\n- Support for script, binary, or mixed modules\n- Module manifest templates with `{VersionPrefix}`, `{VersionSuffix}`, and `{Copyright}` placeholders\n- Run and debug with F5 in Visual Studio\n- Support for automated build, test, and publish\n\n## Usage\n\nJust add a reference to this package.  Now `dotnet pack` and Visual Studio Pack\nwill produce a PowerShell module.  Here is a minimal example `.csproj` file:\n\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n\n  \u003cPropertyGroup\u003e\n    \u003cTargetFramework\u003enetcoreapp3.1\u003c/TargetFramework\u003e\n    \u003cCopyLocalLockFileAssemblies\u003etrue\u003c/CopyLocalLockFileAssemblies\u003e\n  \u003c/PropertyGroup\u003e\n\n  \u003cItemGroup\u003e\n    \u003cPackageReference Include=\"System.Management.Automation\"\n                      Version=\"7.0.0\" PrivateAssets=\"All\" /\u003e\n    \u003cPackageReference Include=\"Subatomix.Build.Packaging.PowerShellModule\"\n                      Version=\"1.1.1\" PrivateAssets=\"All\" /\u003e\n  \u003c/ItemGroup\u003e\n\n  \u003cItemGroup\u003e\n    \u003cContent Include=\"$(PowerShellItemIncludes)\"\n             Exclude=\"$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)\" /\u003e\n  \u003c/ItemGroup\u003e\n\n\u003c/Project\u003e\n```\n\nFor a simple example, see this repository's\n[test project](https://github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule/tree/master/test).\nIt can serve as a template for new PowerShell module projects.\nFor a more complete, real-world example with automated tests, see my\n[PSql](https://github.com/sharpjs/PSql) module.\n\nReady to automate build-and-publish to PowerShell Gallery?  See this repository's\n[GitHub Actions workflow](https://github.com/sharpjs/Subatomix.Build.Packaging.PowerShellModule/blob/master/.github/workflows/build.yaml)\nfor an example.\n\n\u003c!--\n  Copyright 2022 Subatomix Research Inc.\n\n  Permission to use, copy, modify, and distribute this software for any\n  purpose with or without fee is hereby granted, provided that the above\n  copyright notice and this permission notice appear in all copies.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpjs%2Fsubatomix.build.packaging.powershellmodule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsharpjs%2Fsubatomix.build.packaging.powershellmodule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsharpjs%2Fsubatomix.build.packaging.powershellmodule/lists"}