Skip to content

Commit

Permalink
chore: improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 19, 2024
1 parent 03d57bb commit 8b5c5b3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
bun install -d @stacksjs/dtsx
```

_@npm.js, please allow us to use the `dtsx` package name 🙏_,
_@npmjs.com, please allow us to use the `dtsx` package name 🙏_

<!-- _Alternatively, you can install:_
Expand Down Expand Up @@ -56,10 +56,11 @@ await generate(options?: Options)

_Available options:_

The library can configured using a `dts.config.ts` _(or `dts.config.js`)_ file and it will be automatically loaded when running the `./dtsx` _(or `bunx dtsx`)_ command.
Library usage can also be configured using a `dts.config.ts` _(or `dts.config.js`)_ file which is automatically loaded when running the `./dtsx` _(or `bunx dtsx`)_ command. It is also loaded when the `generate` function is called, unless custom options are provided.

```ts
// dts.config.ts (or dts.config.js)

export default {
cwd: './',
root: './src',
Expand All @@ -70,12 +71,12 @@ export default {
}
```

_Then run:_
_You may also run:_

```bash
./dtsx generate

# or, you may use
# if the package is installed, you can also run:
# bunx dtsx generate
```

Expand Down

0 comments on commit 8b5c5b3

Please sign in to comment.