docs: explain shared task modules - #67
Merged
Merged
Conversation
✅ Deploy Preview for psake ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new advanced-guide page explaining how to author and consume shared psake task modules (via Task -FromModule), and updates existing docs to cross-link to this guidance and reflect current PowerShellBuild/psake version expectations.
Changes:
- Added an end-to-end tutorial for building, versioning, consuming, and integration-testing a shared task provider module.
- Updated PowerShellBuild docs to reflect current version requirements and clarified
-FromModuleloading behavior (dot-sourcing providerpsakeFile.ps1). - Added navigation and cross-links so readers can discover the new guide from related topics.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sidebars.ts | Adds the new advanced tutorial page to the “Advanced Techniques” sidebar section. |
| docs/tutorial-advanced/creating-shared-task-modules.md | New end-to-end guide for shared task modules, including versioning, overrides, and production constraints. |
| docs/tutorial-advanced/access-functions-in-another-file.md | Adds a pointer from Include usage to the new shared-module guide. |
| docs/powershellbuild/introduction.md | Updates version guidance and clarifies how -FromModule loads tasks (dot-sourcing provider psakeFile.ps1). |
| docs/powershellbuild/getting-started.md | Updates prerequisite versions and clarifies -FromModule behavior; adds link to the new shared-module guide. |
| docs/best-practices/organizing-large-scripts.md | Adds a “See Also” link to the new shared-module guide. |
| CONTEXT.md | Introduces standardized terminology for shared task modules and related concepts. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
-FromModulediscovers and dot-sources task definitions rather than importing the moduleVerification
bun run buildCloses #18