File tree Expand file tree Collapse file tree
.github/actions/pnpm-install Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " pnpm install"
2+ description : " Run pnpm install with cache enabled"
3+ runs :
4+ using : " composite"
5+ steps :
6+ - name : Set up swap space
7+ if : runner.os == 'Linux'
8+ uses : pierotofy/set-swap-space@v1.0
9+ with :
10+ swap-size-gb : 10
11+
12+ - uses : pnpm/action-setup@v4.1.0
13+ name : Install pnpm
14+ with :
15+ run_install : false
16+
17+ - name : Expose pnpm config(s) through "$GITHUB_OUTPUT"
18+ id : pnpm-config
19+ shell : bash
20+ run : |
21+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
22+
23+ - name : Cache rotation keys
24+ id : cache-rotation
25+ shell : bash
26+ run : |
27+ echo "YEAR_MONTH=$(/bin/date -u "+%Y%m")" >> $GITHUB_OUTPUT
28+
29+ - uses : actions/cache@v4
30+ name : Setup pnpm cache
31+ with :
32+ path : ${{ steps.pnpm-config.outputs.STORE_PATH }}
33+ key : ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-${{ hashFiles('**/pnpm-lock.yaml') }}
34+ restore-keys : |
35+ ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-
36+
37+ - name : Install dependencies
38+ shell : bash
39+ run : |
40+ pnpm install --frozen-lockfile --prefer-offline --loglevel error
41+ env :
42+ HUSKY : " 0"
Original file line number Diff line number Diff line change @@ -331,9 +331,9 @@ uv run pytest \
331331"""
332332
333333[tool .poe .tasks .build-docs ]
334- shell = " ./build_api_reference.sh && corepack enable && yarn && yarn build"
334+ shell = " ./build_api_reference.sh && pnpm install --frozen-lockfile && pnpm build"
335335cwd = " website"
336336
337337[tool .poe .tasks .run-docs ]
338- shell = " ./build_api_reference.sh && corepack enable && yarn && yarn start"
338+ shell = " ./build_api_reference.sh && pnpm install --frozen-lockfile && pnpm start"
339339cwd = " website"
Original file line number Diff line number Diff line change 55 "separateMajorMinor" : false ,
66 "dependencyDashboard" : false ,
77 "semanticCommits" : " enabled" ,
8+ "minimumReleaseAge" : " 1 day" ,
9+ "internalChecksFilter" : " strict" ,
810 "lockFileMaintenance" : {
911 "enabled" : true ,
1012 "automerge" : true ,
1921 "groupSlug" : " dev-dependencies" ,
2022 "automerge" : true ,
2123 "automergeType" : " branch"
24+ },
25+ {
26+ "matchPackageNames" : [" @apify/*" , " @crawlee/*" ],
27+ "minimumReleaseAge" : " 0 days"
2228 }
2329 ],
24- "minimumReleaseAge" : " 1 day" ,
2530 "schedule" : [" before 7am every weekday" ],
2631 "ignoreDeps" : [" crawlee" , " docusaurus-plugin-typedoc-api" ]
2732}
Original file line number Diff line number Diff line change 1+ node-linker = hoisted
2+ link-workspace-packages = true
3+ prefer-workspace-packages = true
4+ public-hoist-pattern[] = *
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ module.exports = {
4646 ] ,
4747 githubHost : 'github.com' ,
4848 future : {
49- experimental_faster : true ,
49+ faster : true ,
5050 v4 : {
5151 removeLegacyPostBuildHeadAttribute : true ,
5252 useCssCascadeLayers : false , // this breaks styles on homepage and link colors everywhere
Original file line number Diff line number Diff line change 11{
2- "name" : " crawlee" ,
2+ "name" : " crawlee-python-website" ,
3+ "private" : true ,
34 "scripts" : {
45 "examples" : " docusaurus-examples" ,
5- "postinstall" : " npx patch-package" ,
6+ "postinstall" : " pnpm exec patch-package" ,
67 "start" : " rimraf .docusaurus && docusaurus start" ,
78 "start:fast" : " rimraf .docusaurus && CRAWLEE_DOCS_FAST=1 docusaurus start" ,
89 "build" : " rimraf .docusaurus && node --max_old_space_size=16000 node_modules/@docusaurus/core/bin/docusaurus.mjs build" ,
1516 "deploy" : " rimraf .docusaurus && node --max_old_space_size=16000 node_modules/@docusaurus/core/bin/docusaurus.mjs deploy" ,
1617 "docusaurus" : " docusaurus" ,
1718 "clean" : " rimraf .docusaurus build" ,
18- "lint" : " yarn lint:code" ,
19- "lint:fix" : " yarn lint:code:fix" ,
19+ "lint" : " pnpm lint:code" ,
20+ "lint:fix" : " pnpm lint:code:fix" ,
2021 "lint:code" : " eslint ." ,
2122 "lint:code:fix" : " eslint . --fix"
2223 },
6869 "rimraf" : " ^6.0.0" ,
6970 "typescript" : " ^6.0.0"
7071 },
71- "packageManager" : " yarn@4.13 .0"
72+ "packageManager" : " pnpm@10.24 .0"
7273}
You can’t perform that action at this time.
0 commit comments