Skip to content

Commit

Permalink
fix: build index from names in comment and support excluding
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcath committed Mar 23, 2023
1 parent 413cce3 commit 5244512
Show file tree
Hide file tree
Showing 42 changed files with 339 additions and 2 deletions.
12 changes: 12 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,15 @@ yarn add @arcath/utils
## More

A full list of functions and classes can be found at https://utils.arcath.net

## Developing

Each function/class should have its own file with a spec file along side.
Similar functions can be in the same file e.g. `increment` and `decrement`.

The index is generated using a comment at the bottom of the file to define the
exports. For example

```js
// {increment, decrement}
```
222 changes: 222 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"kcd-scripts": "^13.0.0",
"prettier": "^2.8.6",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typedoc": "^0.23.28",
"typescript": "^5.0.2"
},
Expand Down
Loading

0 comments on commit 5244512

Please sign in to comment.