-
Notifications
You must be signed in to change notification settings - Fork 258
Modernize build dependencies and standardize version management #16838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Infrastructure updates: - Upgrade Node.js from v18 to v22 (.nvmrc) - Update GitHub Actions workflows to use Node 22 - Upgrade major dependencies: - AWS SDK: ^3.427.0 → ^3.738.0 - Octokit: v18/v4 → v21/v8 - postcss-purgecss: ^4.0.3 → ^7.0.0 - Update TypeScript configurations - Update build tooling (webpack, etc.) Markdownlint compatibility fixes: - Fix markdownlint v0.40.0 API compatibility (markdownlint/sync) - Implement hierarchical config system for flexible linting - Permissive base config for blog/marketing/tutorials content - Strict config for documentation (will be tuned separately) - Disable rules added in v0.25.0-v0.40.0 to maintain compatibility Build and lint now working with updated dependencies. Fixes #16259 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
Documentation ReviewI've reviewed this PR which modernizes build dependencies (Node.js 22, Go 1.25, Hugo 0.151.0, TypeScript 5.7) and updates the dependency management structure. Overall Assessment✅ The changes are well-structured and consistent across all files. The version updates are applied systematically throughout the repository. Files Reviewed
Specific Findings✅ README.md (Lines 50-57)The version requirements are correctly updated and clearly documented:
The documentation accurately reflects the version policy mentioned in the PR description. ✅ scripts/ensure.sh (Lines 29-30)Version checks are properly updated to match the new requirements: check_version "Node.js" "node" "node -v | sed 's/v\([0-9\.]\*\).*$/\1/'" "22"
check_version "Hugo" "hugo" "hugo version | sed 's/hugo v\([0-9\.]\*\).*$/\1/'" "0.151.0"✅ File EndingsAll modified files properly end with a newline character (verified .nvmrc, HTML files, and scripts). ✅ Markdownlint Configuration (.markdownlint-base.json)The new base configuration file is well-structured and provides a centralized location for markdownlint rules. The content/docs/.markdownlint.json correctly extends the base configuration. ✅ GitHub Actions WorkflowsAll 12 workflow files are consistently updated with:
✅ DevContainer ConfigurationThe .devcontainer/devcontainer.json correctly specifies exact versions rather than "latest":
This is a good practice for reproducible development environments. ✅ TypeScript ConfigurationTypeScript configuration files (tsconfig.json, infrastructure/tsconfig.json) are updated appropriately for TypeScript 5.7 compatibility. ✅ Infrastructure Package ManagementThe removal of package-lock.json in the infrastructure directory is intentional and correct, as this project uses Yarn as specified in AGENTS.md. No Issues FoundAll changes follow the repository's style guide and coding standards. The PR successfully achieves its stated goal of modernizing dependencies and standardizing version management. If you need any fixes or additional reviews, mention @claude and I'll be happy to help! |
|
Your site preview for commit 88491fc is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16838-88491fc8.s3-website.us-west-2.amazonaws.com. |
Fixes peer dependency warnings from @algolia/autocomplete packages. The search-insights package enables analytics tracking for Algolia autocomplete features. Resolves warnings introduced in dependency upgrade commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
Add explicit accountName property to satisfy Azure naming requirements. Storage account names must match ^[a-z0-9]+$ (lowercase alphanumeric only, no hyphens). Without explicit accountName, Pulumi auto-generates a name that may include hyphens from the stack name, causing validation errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
|
Your site preview for commit 63cad7b is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16838-63cad7bc.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit 6e9f949 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16838-6e9f949d.s3-website.us-west-2.amazonaws.com. |
Implementation Summary
Runtime Versions Updated
Dependencies Modernized
Key Implementation Decisions
transpileOnly: trueto ts-loader for TypeScript 3.9 compatibilitypurgeCSSPlugin) for v7.xrequire("markdownlint/sync").lint) for v0.40Approach: Conservative modernization - updated what needed updating (runtime versions + root/infra packages), preserved what was working (theme/Stencil).
Fixes #16259
Fixes #16274