-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from farm-fe/feat/contribution
chore: contribution
- Loading branch information
Showing
5 changed files
with
886 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"ignoreWords": ["farmfe", "farmup", "execa", "shulandmimi"] | ||
"ignoreWords": ["farmfe", "farmup", "execa", "shulandmimi", "biomejs"], | ||
"ignorePaths": ["./pnpm-lock.yaml", "LICENSE", "CHANGELOG.md"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Contributing | ||
|
||
## Local Development | ||
|
||
```shell | ||
# 1. install dependents | ||
pnpm install | ||
|
||
# 2. build source | ||
pnpm run build | ||
|
||
# 3. local development | ||
# start watch mode for build source | ||
pnpm run farmup | ||
|
||
# 4. link to global, use in other somewhere | ||
pnpm link --global | ||
|
||
# 5. test your change | ||
farmup file.ts | ||
``` | ||
|
||
## Ready PR | ||
|
||
<!-- TODO: add lint in CI --> | ||
|
||
1. lint or other check | ||
|
||
```shell | ||
pnpm run ready | ||
``` | ||
|
||
2. run changeset | ||
3. select changed package e.g farmup | ||
4. select an appropriate version number, e.g `patch` | ||
|
||
```shell | ||
npx changeset | ||
``` | ||
|
||
## Create PR | ||
|
||
create PR in github and add reviewer for your PR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.