You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: migrate to pnpm and enable minimum release age
Migrates apify-client-js from npm workspaces to pnpm workspaces and
adds a 1-day minimum release age supply-chain guard at the package
manager layer (pnpm-workspace.yaml) and at the Renovate layer.
Internal `@apify/*` and `@crawlee/*` packages are whitelisted at
both layers.
The website/ directory becomes a proper workspace (previously had
its own lockfile). Single root lockfile now.
Notable changes:
- package.json: set packageManager to pnpm@10.24.0; "npm run X"
-> "pnpm X" in scripts
- pnpm-workspace.yaml: packages [website], release-age settings
- .npmrc: node-linker=hoisted, link-workspace-packages=true,
prefer-workspace-packages=true, public-hoist-pattern[]=*
(kept the pre-existing legacy-peer-deps=true)
- website/package.json: add "name": "apify-client-website" so pnpm
recognises it as a workspace; "npm run" -> "pnpm" in scripts
- website/docusaurus.config.js: rename future.experimental_faster
-> future.faster (renamed in Docusaurus 3.10, which is what pnpm
resolves from the ^3.8.1 range; npm previously resolved 3.9.x
via --force)
- New .github/actions/pnpm-install composite action (cached pnpm
store, keyed by year-month + lockfile hash — pattern from
apify/apify-cli#1068)
- All 5 CI workflows (check, docs, publish_to_npm, release,
pre_release) use the composite; npm/npx/`npm version` -> pnpm
equivalents. docs workflow's `npm update @apify/docs-theme`
becomes `pnpm --filter apify-client-website update @apify/docs-theme`.
publish uses `pnpm publish --tag X --no-git-checks`.
- renovate.json: add minimumReleaseAge "1 day",
internalChecksFilter "strict", @apify/* + @crawlee/* whitelist;
drop old npm constraint
- Both package-lock.json files deleted; single pnpm-lock.yaml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments