Skip to content

Commit 2b5d2de

Browse files
authored
deps: update site deps (#76)
1 parent 15e64db commit 2b5d2de

9 files changed

Lines changed: 3102 additions & 1834 deletions

File tree

‎temp_backup/images/freight.jpg‎

-124 KB
Binary file not shown.

‎temp_backup/images/freight.png‎

-115 KB
Binary file not shown.

‎temp_backup/readme.md‎

Lines changed: 0 additions & 247 deletions
This file was deleted.

‎website/docs/advanced.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Advanced Configuration
1+
npm # Advanced Configuration
22

33
Take full control of your Git hooks with advanced configuration options and deep dives into Freight's execution model.
44

‎website/docs/best-practices.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
Follow these guidelines to ensure a smooth and consistent experience for your entire team using Freight.
44

55
### Version Control
6-
It is crucial to commit both the `railcar.json` configuration file AND the `conductor` binary to your repository.
6+
It is crucial to commit the `railcar.json` configuration file.
77

88
* **railcar.json**: Defines what hooks run and what they do.
9-
* **conductor**: Ensures everyone is using the exact same orchestrator version without needing to install external dependencies like Node.js or Python.
109

1110
:::info
1211
By committing the binary, you guarantee that Git hooks will work immediately upon cloning the repository, regardless of the developer's local environment.

‎website/docs/installation.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ freight init --allow pre-commit,commit-msg
6565

6666
This is particularly useful for **incremental adoption**. If you already have a complex set of hooks and only want to move `pre-commit` to Freight for now, you can do so without affecting your other hooks.
6767

68-
:::tip Pro-Tip
69-
For total team portability, **commit the `conductor` binary** directly to your repository. This ensures that every team member (and your CI/CD pipeline) can execute hooks immediately without needing to install the `freight` CLI tool themselves.
70-
:::
7168

7269
### 3. Verify
7370
Add a simple command to your `railcar.json` and trigger a hook:

0 commit comments

Comments
 (0)