Skip to content

Commit 53b7517

Browse files
author
Chris Breuer
committed
chore: wip
1 parent 37aa94d commit 53b7517

File tree

6 files changed

+53
-71
lines changed

6 files changed

+53
-71
lines changed

docs/config.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,30 @@ import path from 'node:path'
1212

1313
const config: ReverseProxyOptions = {
1414
/**
15-
* The from URL to proxy from.
16-
* Default: localhost:5173
15+
16+
_ The from URL to proxy from.
17+
_ Default: localhost:5173
18+
1719
*/
1820
from: 'localhost:5173',
1921

2022
/**
21-
* The to URL to proxy to.
22-
* Default: stacks.localhost
23+
24+
_ The to URL to proxy to.
25+
_ Default: stacks.localhost
26+
2327
*/
2428
to: 'stacks.localhost',
2529

2630
/**
27-
* The HTTPS settings.
28-
* Default: true
29-
* If set to false, the proxy will use HTTP.
30-
* If set to true, the proxy will use HTTPS.
31-
* If set to an object, the proxy will use HTTPS with the provided settings.
32-
*/
31+
32+
_ The HTTPS settings.
33+
_ Default: true
34+
_ If set to false, the proxy will use HTTP.
35+
_ If set to true, the proxy will use HTTPS.
36+
_ If set to an object, the proxy will use HTTPS with the provided settings.
37+
38+
_/
3339
https: {
3440
domain: 'stacks.localhost',
3541
hostCertCN: 'stacks.localhost',
@@ -48,10 +54,12 @@ const config: ReverseProxyOptions = {
4854
},
4955
5056
/**
51-
* The verbose setting.
52-
* Default: false
53-
* If set to true, the proxy will log more information.
54-
*/
57+
58+
_ The verbose setting.
59+
_ Default: false
60+
_ If set to true, the proxy will log more information.
61+
62+
_/
5563
verbose: false,
5664
}
5765

docs/cron-expressions.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ A cron expression consists of five fields that specify when a job should run:
1414
│ │ │ │ ┌───────────── day of week (0 - 6) (Sunday to Saturday)
1515
│ │ │ │ │
1616
│ │ │ │ │
17+
1718
* * * * *
19+
1820
```
1921

2022
### Special Characters
2123

22-
- `*`: Matches any value (wildcard)
23-
- `,`: Separates multiple values (e.g., `1,3,5`)
24-
- `-`: Specifies a range (e.g., `1-5`)
25-
- `/`: Specifies a step value (e.g., `*/2` means every 2 units)
24+
* `*`: Matches any value (wildcard)
25+
* `,`: Separates multiple values (e.g., `1,3,5`)
26+
* `-`: Specifies a range (e.g., `1-5`)
27+
* `/`: Specifies a step value (e.g., `*/2` means every 2 units)
2628

2729
## Common Cron Expressions
2830

@@ -51,7 +53,7 @@ Example with timezone:
5153
```typescript
5254
await queue.scheduleCron({
5355
cronExpression: '30 9 * * *', // Every day at 9:30am
54-
timezone: 'America/New_York', // Eastern Time
56+
timezone: 'America/New*York', // Eastern Time
5557
data: {
5658
// job data
5759
}
@@ -60,15 +62,15 @@ await queue.scheduleCron({
6062

6163
### Common Timezones
6264

63-
- `UTC`: Coordinated Universal Time
64-
- `America/New_York`: Eastern Time (US & Canada)
65-
- `America/Chicago`: Central Time (US & Canada)
66-
- `America/Denver`: Mountain Time (US & Canada)
67-
- `America/Los_Angeles`: Pacific Time (US & Canada)
68-
- `Europe/London`: UK time
69-
- `Europe/Paris`: Central European Time
70-
- `Asia/Tokyo`: Japan Standard Time
71-
- `Australia/Sydney`: Australian Eastern Time
65+
* `UTC`: Coordinated Universal Time
66+
* `America/New*York`: Eastern Time (US & Canada)
67+
* `America/Chicago`: Central Time (US & Canada)
68+
* `America/Denver`: Mountain Time (US & Canada)
69+
* `America/Los*Angeles`: Pacific Time (US & Canada)
70+
* `Europe/London`: UK time
71+
* `Europe/Paris`: Central European Time
72+
* `Asia/Tokyo`: Japan Standard Time
73+
* `Australia/Sydney`: Australian Eastern Time
7274

7375
## Advanced Examples
7476

@@ -128,5 +130,5 @@ await queue.unscheduleCron('daily-job')
128130

129131
## Additional Resources
130132

131-
- [Crontab Guru](https://crontab.guru/): Interactive cron expression editor
132-
- [List of TZ database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones): Complete list of valid timezone identifiers
133+
* [Crontab Guru](https://crontab.guru/): Interactive cron expression editor
134+
* [List of TZ database time zones](https://en.wikipedia.org/wiki/List*of*tz*database*time*zones): Complete list of valid timezone identifiers

docs/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@ features:
2828
- title: "Binary"
2929
icon: "🚀"
3030
details: "Automatically builds a binary for your project out of your CLI."
31-
---
32-
33-
<Home />
31+
---

docs/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ This is an opinionated TypeScript Starter kit to help kick-start development of
1313
It's rather simple to get your package development started:
1414

1515
```bash
16-
# you may use this GitHub template or the following command:
16+
# you may use this GitHub template or the following command
1717
bunx degit stacksjs/bun-queue my-pkg
1818
cd my-pkg
1919

20-
# if you don't have pnpm installed, run `npm i -g pnpm`
20+
# if you don't have pnpm installed, run `npm i -g pnpm`
2121
bun i # install all deps
2222
bun run build # builds the library for production-ready use
2323

0 commit comments

Comments
 (0)