Skip to content

Commit 41c33a5

Browse files
committed
[develop-md]: develop.md
1 parent 8641c17 commit 41c33a5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

DEVELOP.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## Enforce minimum npm package age
2+
Please run this before doing TypeScript work or running tests in our repo:
3+
```bash
4+
pnpm config set --global minimumReleaseAge 1440
5+
```
6+
This will close most of the surface area for npm supply chain attacks.
7+
8+
## Install Git hooks
9+
Please run:
10+
```bash
11+
git-hooks/install-hooks.sh
12+
```
13+
**Note that this removes everything in `.git/hooks`, and doesn't work if you're in a submodule**.
14+
15+
This will install our git hooks, for instance running formatting on commit.

0 commit comments

Comments
 (0)