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
-**create:** Fail with actionable error when template download is not a zip ([#1272](https://github.com/apify/apify-cli/pull/1272)) ([ea3223e](https://github.com/apify/apify-cli/commit/ea3223ecbc3ab6c8c62e92f30a059054b5fabf98)) by [@l2ysho](https://github.com/l2ysho), closes [#1271](https://github.com/apify/apify-cli/issues/1271)
-**auth:** Use os keyring for secure credential storage ([#1148](https://github.com/apify/apify-cli/pull/1148)) ([bbfea42](https://github.com/apify/apify-cli/commit/bbfea4286345aa5f15429d20d9d52013e7adc637)) by [@l2ysho](https://github.com/l2ysho), closes [#1115](https://github.com/apify/apify-cli/issues/1115)
-**push:** Add final status block and structured JSON output ([#1199](https://github.com/apify/apify-cli/pull/1199)) ([71560dd](https://github.com/apify/apify-cli/commit/71560dd8aa8de6bbb5e0c2db7a6b9e9d48abd4b8)) by [@l2ysho](https://github.com/l2ysho), closes [#1136](https://github.com/apify/apify-cli/issues/1136)
19
+
-**cli:** Add wait commands and enhance agentic output for builds and runs ([#1168](https://github.com/apify/apify-cli/pull/1168)) ([d3c3e5b](https://github.com/apify/apify-cli/commit/d3c3e5b16a29029acdbb3252622a56a587cf8829)) by [@l2ysho](https://github.com/l2ysho), closes [#1140](https://github.com/apify/apify-cli/issues/1140)
20
+
-**call:** Emit explicit final run status and JSON output (#1139) ([#1198](https://github.com/apify/apify-cli/pull/1198)) ([ce8c287](https://github.com/apify/apify-cli/commit/ce8c287c862d03b42e8fe3be77fca65aa03f438d)) by [@l2ysho](https://github.com/l2ysho), closes [#1139](https://github.com/apify/apify-cli/issues/1139)
21
+
-**auth:** Use OS keyring in bundle distributions ([#1197](https://github.com/apify/apify-cli/pull/1197)) ([7f4e4ae](https://github.com/apify/apify-cli/commit/7f4e4aec787053f06ed454303a2456915a33eace)) by [@l2ysho](https://github.com/l2ysho), closes [#1170](https://github.com/apify/apify-cli/issues/1170)
22
+
23
+
### 🐛 Bug Fixes
24
+
25
+
-**run:** Propagate the Actor's non-zero exit code ([#1195](https://github.com/apify/apify-cli/pull/1195)) ([ca1c009](https://github.com/apify/apify-cli/commit/ca1c00987995a7495eb4f8c4bb74c6c010ec7ee9)) by [@l2ysho](https://github.com/l2ysho), closes [#1180](https://github.com/apify/apify-cli/issues/1180), [#1190](https://github.com/apify/apify-cli/issues/1190)
26
+
-**changelog:** Don't write unreleased preview on pre-release ([#1231](https://github.com/apify/apify-cli/pull/1231)) ([bb5b454](https://github.com/apify/apify-cli/commit/bb5b454eb550cde0a59b6996e3f2a112bca03f1d)) by [@patrikbraborec](https://github.com/patrikbraborec), closes [#1230](https://github.com/apify/apify-cli/issues/1230)
Copy file name to clipboardExpand all lines: CLAUDE.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,25 @@ If you modified a command's flags, args, description, or added/removed a command
21
21
- New commands must be registered in `src/commands/_register.ts` (or the parent `_index.ts` for subcommands).
22
22
- Do not add docstrings, comments, or type annotations to code you did not change. Keep diffs tight.
23
23
24
+
## Install size
25
+
26
+
The CLI is installed globally by many users and in Actors, so keep the npm install footprint lean. Always look for opportunities to shrink it:
27
+
28
+
- Prefer Node.js built-ins over dependencies, and prefer dependencies already in the tree over new ones.
29
+
- Before adding a dependency, check what it drags in: `npm install <pkg>` in an empty temp dir, then `du -sh node_modules`. Mention the install-size impact in the PR description.
30
+
- When touching code that uses a dependency, check whether the dependency is still pulling its weight — a single small helper from a large package is a candidate for replacement or removal.
31
+
- To measure the CLI's own footprint, run `node scripts/report-install-size.mjs` — it packs the current tree and compares tarball, unpacked, and full-install sizes against the latest published version. The release workflows run it and embed the report in the GitHub release notes.
32
+
24
33
## Testing
25
34
26
35
- Tests use **Vitest**. See [CONTRIBUTING.md](./CONTRIBUTING.md#writing-tests) for `useAuthSetup` and `useTempPath` hook usage.
27
36
- API tests must include `[api]` in the test name and live in `test/api/`.
28
37
- Always `import process from 'node:process'` in command/lib code — never use `globalThis.process`. This is required for test cwd mocks to work.
29
38
39
+
## Pull requests
40
+
41
+
Keep PR descriptions concise: what changed and why, key numbers, follow-ups. Short bullet points over narration; don't restate the diff or describe the process.
42
+
30
43
## Things to avoid
31
44
32
45
- Do not use `--no-verify` to skip git hooks. Fix the underlying issue.
0 commit comments