Skip to content

Commit 4c76e79

Browse files
committed
chore: address review feedback
- Replace website/.yarn with website/.pnpm-store in .gitignore - Add crawlee to uv exclude-newer-package whitelist - Add update-docs-theme poe task (consistent with sdk/client repos) - Use 'pnpm install && uv run pnpm build' in poe tasks (no --frozen-lockfile)
1 parent 8cbb84f commit 4c76e79

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ website/versioned_docs/*/pyproject.toml
6969
# Website build artifacts, node dependencies
7070
website/build
7171
website/node_modules
72-
website/.yarn
72+
website/.pnpm-store
7373
website/.docusaurus
7474
website/api-typedoc-generated.json
7575
website/apify-shared-docspec-dump.jsonl
7676
website/docspec-dump.jsonl
7777
website/module_shortcuts.json
7878
website/typedoc-types*
79-
# npm lockfile (we use yarn)
79+
# npm lockfile (we use pnpm)
8080
website/package-lock.json
8181

8282
# Default directory for memory storage

pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ exclude-newer = "24 hours"
281281
apify-client = false
282282
apify-shared = false
283283
apify_fingerprint_datapoints = false
284+
crawlee = false
284285

285286
# Run tasks with: uv run poe <task>
286287
[tool.poe.tasks]
@@ -336,10 +337,14 @@ uv run pytest \
336337
tests/e2e/project_template
337338
"""
338339

340+
[tool.poe.tasks.update-docs-theme]
341+
shell = "pnpm update @apify/docs-theme"
342+
cwd = "website"
343+
339344
[tool.poe.tasks.build-docs]
340-
shell = "./build_api_reference.sh && pnpm install --frozen-lockfile && pnpm build"
345+
shell = "./build_api_reference.sh && pnpm install && uv run pnpm build"
341346
cwd = "website"
342347

343348
[tool.poe.tasks.run-docs]
344-
shell = "./build_api_reference.sh && pnpm install --frozen-lockfile && pnpm start"
349+
shell = "./build_api_reference.sh && pnpm install && uv run pnpm start"
345350
cwd = "website"

0 commit comments

Comments
 (0)