Skip to content

Commit 94d4322

Browse files
authored
Merge pull request #69 from token-js/sg/contributing
docs: add contributing guide
2 parents 1fb48f3 + 5bc2508 commit 94d4322

File tree

3 files changed

+35
-25
lines changed

3 files changed

+35
-25
lines changed

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing to Token.js
2+
3+
Thanks for your interest in improving Token.js!
4+
5+
We appreciate support in the following areas:
6+
- Reporting issues. If you notice any bugs or have suggestions for new features, please [open an issue](https://github.com/token-js/token.js/issues/new).
7+
- Fixing and responding to existing issues. You can start off with those tagged ["good first issue"](https://github.com/token-js/token.js/labels/good%20first%20issue), which are meant as introductory issues for external contributors.
8+
9+
## Development Quickstart
10+
11+
### Clone the repo
12+
13+
```bash
14+
git clone https://github.com/token-js/token-js.git
15+
```
16+
17+
### Open the project and install the dependencies
18+
19+
```bash
20+
cd llm && pnpm install
21+
```
22+
23+
### Test your changes
24+
25+
```bash
26+
pnpm test
27+
```
28+
29+
### Run the linter
30+
31+
```bash
32+
pnpm lint
33+
```

README.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -191,31 +191,7 @@ This table provides an overview of the features that Token.js supports from each
191191

192192
## Contributing
193193

194-
PRs are accepted!
195-
196-
### Clone the repo
197-
198-
```bash
199-
git clone https://github.com/token-js/token-js.git
200-
```
201-
202-
### Open the project and install the dependencies
203-
204-
```bash
205-
cd llm && pnpm install
206-
```
207-
208-
### Test your changes
209-
210-
```bash
211-
pnpm test
212-
```
213-
214-
### Run the linter
215-
216-
```bash
217-
pnpm lint
218-
```
194+
See our [Contributing guide](./CONTRIBUTING.md) to learn how to contribute to Token.js.
219195

220196
## Contact Us
221197

docs/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
* [OpenAI](providers/openai.md)
1313
* [Perplexity](providers/perplexity.md)
1414
* [Contact Us](contact-us.md)
15+
* [Contributing](https://github.com/token-js/token.js/blob/main/CONTRIBUTING.md)

0 commit comments

Comments
 (0)