Open
Conversation
✅ Deploy Preview for psake ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This commit completes Phase 2.1 of the documentation expansion plan by adding comprehensive best practices documentation for psake build scripts. New Documentation Added: - Best Practices category (_category_.json) - Organizing Large Scripts (organizing-large-scripts.md) - File structure patterns (by category and build type) - Modular task files with complete examples - Using Include effectively with path validation - Shared utilities (file operations, logging, versioning) - Complete large project example - Environment Management (environment-management.md) - Environment configuration patterns (inline, external files, JSON/YAML) - Environment-specific properties for dev/staging/prod - Conditional task execution using preconditions - Complete environment management example - CI/CD integration (GitHub Actions, Azure Pipelines) - Secret Management (secret-management.md) - Environment variable patterns - Secure strings (PowerShell DPAPI) - Azure Key Vault integration - AWS Secrets Manager integration - HashiCorp Vault integration - Security best practices (never commit secrets, avoid logging) - Secure certificate handling - Testing Build Scripts (testing-build-scripts.md) - Pester test setup and structure - Testing task dependencies - Mocking external commands (dotnet, az, AWS CLI) - Integration tests - Error handling tests - Test-friendly build script patterns - CI/CD integration - Build Versioning Strategies (versioning-strategy.md) - Semantic versioning (SemVer) with pre-release labels - Git-based versioning from tags - GitVersion tool integration - CI build number versioning (GitHub Actions, Azure Pipelines) - Assembly version updates (.NET, Node.js) - Complete versioning example Updated: - sidebars.ts: Added Best Practices section between Build Types and CI Examples with all 5 new documentation pages properly linked All documentation follows established patterns: - Proper frontmatter with title and description - Quick Start section with basic examples - Complete working examples with full psakefile.ps1 code - Multiple patterns and approaches - Cross-references to related documentation - "See Also" sections for navigation - Comprehensive, production-ready code samples
fb0a5db to
ca2491d
Compare
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.
This commit completes Phase 2.1 of the documentation expansion plan by adding comprehensive best practices documentation for psake build scripts.
New Documentation Added:
Best Practices category (category.json)
Organizing Large Scripts (organizing-large-scripts.md)
Environment Management (environment-management.md)
Secret Management (secret-management.md)
Testing Build Scripts (testing-build-scripts.md)
Build Versioning Strategies (versioning-strategy.md)
Updated:
All documentation follows established patterns: