chore(website): migrate to pnpm and enable minimum release age#1845
Draft
chore(website): migrate to pnpm and enable minimum release age#1845
Conversation
Migrates the website/ subdirectory from Yarn 4 to pnpm. The Python root (uv) is untouched. Adds @apify/* + @crawlee/* whitelist at the Renovate layer (minimumReleaseAge was already present in renovate.json). - website/package.json: rename to crawlee-python-website + private: true, packageManager -> pnpm@10.24.0, yarn/npx -> pnpm - website/pnpm-workspace.yaml: minimumReleaseAge 1440 with @apify/* + @crawlee/* excluded - website/.npmrc: hoisted linker + workspace linking flags - website/docusaurus.config.js: rename future.experimental_faster -> future.faster (Docusaurus 3.10 renamed the key) - Delete website/yarn.lock and website/.yarnrc.yml - pyproject.toml poe tasks build-docs/run-docs: drop corepack + yarn, use pnpm install --frozen-lockfile + pnpm build/start - New .github/actions/pnpm-install composite action (pattern from apify/apify-cli#1068) - manual_release_stable.yaml version_docs job: pnpm/action-setup + pnpm install --frozen-lockfile instead of corepack + yarn; npx docusaurus -> pnpm exec docusaurus; commit pnpm-lock.yaml - renovate.json: add internalChecksFilter "strict" and @apify/* + @crawlee/* whitelist (minimumReleaseAge "1 day" was already set) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1845 +/- ##
==========================================
- Coverage 92.34% 92.30% -0.04%
==========================================
Files 157 157
Lines 10921 10921
==========================================
- Hits 10085 10081 -4
- Misses 836 840 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
Part of the org-wide supply-chain hardening + pnpm migration. Migrates the
website/subdirectory of crawlee-python from Yarn 4 to pnpm. Onlywebsite/changes — the Python root (uv) is untouched. Adds@apify/*+@crawlee/*whitelist at the Renovate layer (minimumReleaseAge: "1 day"was already set).Changes
website/package.json: renamed tocrawlee-python-website, markedprivate: true;packageManager: pnpm@10.24.0;yarn/npx→pnpmin scriptswebsite/pnpm-workspace.yaml:minimumReleaseAge: 1440with@apify/*+@crawlee/*excludedwebsite/.npmrc:node-linker=hoisted,link-workspace-packages=true,prefer-workspace-packages=true,public-hoist-pattern[]=*website/docusaurus.config.js: renamefuture.experimental_faster→future.faster(Docusaurus 3.10 renamed the key; pnpm resolves 3.10 from the^3.9.2range)website/yarn.lockandwebsite/.yarnrc.yml; generatedwebsite/pnpm-lock.yamlpyproject.tomlpoe tasksbuild-docs/run-docs: dropcorepack enable && yarn && yarn build/start, usepnpm install --frozen-lockfile && pnpm build/start.github/actions/pnpm-installcomposite action (cached pnpm store, pattern from chore: move to pnpm from yarn apify-cli#1068)manual_release_stable.yamlversion_docsjob: usepnpm/action-setup+pnpm install --frozen-lockfileinstead ofcorepack enable && yarn install;npx docusaurus→pnpm exec docusaurus; also commitspnpm-lock.yamlalongside versioned docsrenovate.json: addinternalChecksFilter: "strict"and@apify/*+@crawlee/*whitelist packageRule (minimumReleaseAge: "1 day"was already present)🤖 Generated with Claude Code