chore(website): migrate to pnpm and enable minimum release age#1845
Open
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.32% -0.02%
==========================================
Files 157 157
Lines 10921 10921
==========================================
- Hits 10085 10083 -2
- Misses 836 838 +2
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:
|
Replaces the local .github/actions/pnpm-install composite copy with the shared one from apify/workflows@main. Identical behavior, less duplication.
Pijukatel
approved these changes
Apr 15, 2026
Move working-directory to job-level defaults so the composite action's 'pnpm install' runs in website/. Override explicitly for the Python uv step.
Pijukatel
requested changes
Apr 15, 2026
Pijukatel
reviewed
Apr 15, 2026
apify-client, apify-shared, and apify_fingerprint_datapoints are internal; their releases should install immediately (no 24h wait). Mirrors the @apify/* + @crawlee/* whitelist in pnpm-workspace.yaml on the JS side.
Pijukatel
approved these changes
Apr 15, 2026
Member
Author
|
Added in commit b4f9b59 — plus the same block in apify-client-python and apify-sdk-python. On the JS side, |
Silences npm warnings about unknown options like node-linker; pnpm reads the same keys from pnpm-workspace.yaml in camelCase form.
Block accidental npm/yarn install — npm 10.5+ and pnpm 10.x both honor devEngines.packageManager and refuse to run when it doesn't match.
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