Commit Graph
40 Commits
Author SHA1 Message Date
Zoltan Kochan f4d196afd1 docs: warn against installing pnpm with Corepack (#14159)
The repository's scripts invoke pnpm through the pn and pnx aliases,
which the official installation methods create but Corepack does not,
so a Corepack-managed pnpm fails with errors like pn: Permission denied.

Related to https://github.com/pnpm/pnpm/issues/12448
2026-08-25 15:03:50 +02:00
John-David Dalton 11f703c7f3 chore(rust): use cargo fixit for the fix target and pin cargo-fixit (#13983)
Switch the fix target from `cargo clippy --fix` to `cargo fixit --clippy`
and pin `cargo-fixit@0.1.13` as a dev prerequisite. `cargo fixit` is faster
than `cargo clippy --fix` on repeated runs because it skips the full re-check
compile between fix rounds, so iterating on a lint cleanup doesn't rebuild
the workspace each pass. No fallback to `cargo clippy --fix`.

- justfile: add a `fix` recipe running
  `cargo fixit --clippy --workspace --all-targets --allow-dirty --allow-staged`
- justfile: install `cargo-fixit@0.1.13` from source (`cargo install ... --locked`)
  in `just init`; cargo-fixit has no prebuilt binstall binaries
- package.json: `fix:rust` now delegates to `just fix` (single source of truth,
  drops the `cargo clippy --fix` invocation)
- CONTRIBUTING: document cargo-fixit in the `just init` tool list and the
  `just fix` workflow
2026-08-18 10:50:00 +02:00
Zoltan Kochan 5b063b9e32 docs(contributing): address duplicate and unvetted AI-assisted PRs (#13499)
Strengthen the duplicate-PR guidance to point at the issue's
automatically linked PRs, add an AI-assisted contributions section
(agents are welcome, but contributors own the output — check linked
PRs, understand the change, run the tests, keep the diff focused,
disclose agent authorship with the standard footer), and document that
human review starts only after CodeRabbit approves and CI is green.
CodeRabbit is the single required AI approval — Qodo ignores
Dependabot/Renovate PRs, so a two-reviewer gate could never be
satisfied for dependency updates; the PR template is aligned
accordingly.
2026-07-30 13:48:58 +02:00
Zoltan KochanandClaude Fable 5 78c2245fd4 ci: run typos in the Rust pre-push hook (#12915)
Spelling was the only Rust CI gate with no local counterpart in the
pre-push hook, so typos surfaced for the first time in CI. Add a typos
block mirroring the "Rust CI / Spell Check" job (same dirs), with the
same skip-if-not-installed behavior as the dylint and taplo checks —
`just init` already installs typos-cli.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 20:13:09 +02:00
Zoltan Kochan 8e17c3d366 refactor: rename the pacquet/ directory to pnpm/ (#12913)
Pure directory move plus path fixups: the Rust port ships as pnpm v12,
so the source tree now lives at pnpm/ (alongside pnpm11/, the frozen
TypeScript line). No identifiers change in this pass — crate names
(pacquet-*), the pacquet bin, PACQUET_VERSION, the @pacquet/* npm
package names v11's runPacquet spawns, the .pacquet virtual-store dir,
the benchmark harness's clone dir, and the pacquet-*.yml workflow
filenames (npm trusted publishing is bound to them) all stay for a
follow-up.

Also removes the root /pnpm/ .gitignore entry (build detritus in the
pre-pnpm11 package location): pnpm/ is real source now and must not be
ignored. Developers with a stale generated pnpm/ dir should delete it
before checking out this change.
2026-07-10 18:06:56 +02:00
Zoltan KochanandClaude Opus 4.8 8ecbbd356c docs(contributing): document Rust toolchain and git-hook tooling (#12875)
* docs(contributing): document Rust toolchain and git-hook tooling

Rust is now the primary language in this repository, but the root
CONTRIBUTING.md only covered the TypeScript setup. Add a "Rust toolchain
and git hooks" section under "Setting Up the Environment" that covers
rustup and the pinned toolchain, just, the just init tools, and the
dylint tools.

Two things that are easy to get wrong and cost real debugging time:

- cargo-dylint and dylint-link must be installed from source, not with
  cargo binstall. The prebuilt binaries reference the dylint_driver
  crate at the path where they were built, so building the per-toolchain
  driver fails locally with an error pointing at a nonexistent
  .../dylint/driver directory.
- ~/.cargo/bin must be on PATH (ahead of any system Rust in /usr/bin),
  because the pre-push hook locates its tools through PATH and silently
  skips a Rust check when the tool is missing rather than failing, so a
  push that looks clean locally can still fail format, doc, or dylint in
  CI.

Point pacquet/CONTRIBUTING.md at the new root section instead of
repeating the tool list, and correct its cargo binstall advice for the
dylint tools.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs: correct dylint install hint in justfile and pre-push hook

The `just dylint` recipe comment and the pre-push hook's skip message
both told contributors to install cargo-dylint via `cargo binstall`,
which produces a prebuilt binary that fails to build the per-toolchain
driver locally. Point both at `cargo install` from source, matching the
CONTRIBUTING.md guidance.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 14:07:44 +02:00
Alessio AttilioandZoltan Kochan c2414e8236 docs: add PR template and clarify changeset purpose (#11290)
Co-authored-by: Zoltan Kochan <z@kochan.io>
2026-06-18 11:47:53 +02:00
Zoltan Kochan 7f2ac5ddc0 chore: allow selecting git-wt PR agent (#12371) 2026-06-13 01:44:47 +02:00
Zoltan Kochan 3f37d17b23 chore: add tracked .git-wt/pr-hook so wt <pr> launches a Claude review (#11383)
@zkochan/git-wt 0.0.3 looks for an executable .git-wt/pr-hook in the
worktree before falling back to ~/.config/git-wt/pr-hook. Shipping the
hook in-repo gives every contributor with Claude Code installed an
auto-launched PR review via `wt <pr-number>`. The hook silently no-ops
when `claude` isn't on PATH so contributors who don't use it aren't
affected.
2026-04-29 00:36:03 +02:00
Zoltan Kochan 890efaf472 chore: use @zkochan/git-wt package for worktree creation (#11359)
* chore: use @zkochan/git-wt package for worktree creation

Replace the in-repo `worktree:new` script and `shell/wt.*` helpers with
the published `@zkochan/git-wt` package. Contributors now install it
globally (`pnpm add -g @zkochan/git-wt`) and enable the `wt` shell
function via `git-wt init <shell>`, which also makes `git wt <branch>`
available as a native git subcommand.

* chore: remove shell/cleanup-worktrees.sh

Its functionality is now available as `git-wt cleanup` in the
@zkochan/git-wt package, which contributors are already being directed
to install in CONTRIBUTING.md.

* docs: give copy-paste install commands for the wt shell function

Previously CONTRIBUTING.md said "add this line to your config" and showed
the snippet, making contributors open the rc file themselves. Replace with
a one-liner per shell that appends to the rc file and activates `wt` in the
current session in one go.
2026-04-24 09:09:18 +02:00
Kael b1da07eb04 chore: replace link with add in CONTRIBUTING.md (#11096) 2026-03-26 14:54:42 +01:00
Rohan Santhosh Kumarandrohan436 f7960244ea docs(contributing): fix commit message guideline wording (#11036)
Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
2026-03-20 11:23:09 +01:00
Zoltan Kochan 39afb24ce6 chore: add worktree helper script and shell functions (#10938)
Adds a `pnpm worktree:new <branch>` script that creates a git worktree
as a sibling directory of the repo root, with branch slashes replaced by
dashes (e.g. `feat/foo` → `../feat-foo`). Shell helpers in `shell/wt.fish`
and `shell/wt.sh` wrap the script to also `cd` into the new worktree.
Documents setup and usage in CONTRIBUTING.md.
2026-03-11 22:59:42 +01:00
Maikel van Dort c50357f1b8 docs: add codeblock highlight (#10510) 2026-01-26 15:04:22 +01:00
Zoltan Kochan 02c8ec50cb docs: add AI agent guides (#10469) 2026-01-16 16:31:31 +01:00
Brandon Cheng 34738e00e5 revert: use Git LFS for pnpm development (#9254)
* Revert "docs: update CONTRIBUTING.md for Git LFS (#8647)"

This reverts commit ccf5fbc1b2.

* Revert "chore: use Git LFS for pnpm development (#8509)"

This reverts commit 5fea44486e.
2025-03-09 22:29:36 +01:00
Brandon Cheng ccf5fbc1b2 docs: update CONTRIBUTING.md for Git LFS (#8647) 2024-10-15 00:00:18 +02:00
Kawahara Shotaro 4d5bcba0e7 docs(CONTRIBUTING): remove deleted script (#8098) 2024-05-19 12:15:14 +02:00
Kawahara Shotaro 6e8a5bc6eb docs(CONTRIBUTING): fix broken link (#8096) 2024-05-18 21:05:27 +02:00
Zoltan Kochan e60005635d docs(CONTRIBUTING): update test scripts 2023-07-28 14:24:11 +03:00
Zoltan Kochan a70c77ac43 test: use jest global setup/teardown to manage the registry mock (#6813)
close #6787
2023-07-15 23:00:41 +03:00
chlorine 41562584ab docs: simplify the process of setting up the environment (#6359) 2023-04-05 12:47:51 +03:00
Zoltan Kochan 4ca53b0b50 refactor: group projects in different subdirectories (#5659) 2022-11-20 01:35:22 +02:00
Glen Whitney 678933a9b4 docs(CONTRIBUTING): correct setup instructions for first-time clone (#5289)
Adds an initial compile step to provide pnpm.js needed by the `pd` script.

  Resolves #5288.
2022-08-31 22:50:39 +03:00
Zoltan Kochan 7f192f195c docs(contributing): fix global linking instruction 2022-07-02 23:24:45 +03:00
Zoltan Kochan 9b41cab3ff chore: setup dev version of pnpm 2022-05-07 21:03:14 +03:00
Zoltan Kochan 9f5ef0214f docs(CONTRIBUTING): add prerequisites 2022-04-30 19:08:40 +03:00
Victor Vlasenko 54a3f05666 refactor: add pnpm execution from the source code (#3927) 2021-10-29 12:01:41 +03:00
Zoltan Kochan a2a28e8546 chore: rename master branch to main 2020-11-24 11:54:41 +02:00
Zoltan Kochan 15a7e85dd4 chore: add changeset commands 2020-09-27 02:43:58 +03:00
Zoltan Kochan 9eb0c83595 docs(CONTRIBUTING): describe changeset generation step 2020-08-28 22:30:53 +03:00
Zoltan Kochan 972e25ed7f docs(CONTRIBUTING): document the commands for dev
close #2459
2020-04-13 00:58:13 +03:00
Chris c0f742efc1 docs: update CONTRIBUTING.md
Command `npm test` does not work. switched to `pnpm test`
2019-06-24 00:27:45 +03:00
Zoltan Kochan 31d2b456f5 docs(contributing): fix installation instruction 2018-08-31 11:59:48 +03:00
Zoltan Kochan 1a9dbf87f2 chore: improve DX by using pnpm recursive commands 2018-06-06 10:02:19 +03:00
nikoladev 89436bd62a docs: fix link in CONTRIBUTING.md 2017-09-16 14:19:44 +03:00
Zoltan Kochan 1813b7bf53 docs: remove collaborative etiquette
Code of conduct was added as a separate file so no need in collaborative etiquette.
2017-06-25 01:13:45 +03:00
zkochan 92cf129b19 chore: change repo URL 2017-01-23 22:36:01 +02:00
Zoltan Kochan 7fe51b8c1c docs(CONTRIBUTING): add collaborative etiquette section
close #342
2016-09-08 00:35:01 +03:00
Zoltan Kochan 37442f85e6 docs(CONTRIBUTING): add CONTRIBUTING.md 2016-08-20 18:58:27 +03:00