Skip to content

Commit 702c4ea

Browse files
authored
fix: preserve release note formatting (#79)
1 parent 7b71c09 commit 702c4ea

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

.prettierrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 100,
3+
"semi": false,
4+
"singleQuote": true
5+
}

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
- 5225ab5: Added pluggable friction stores, a Postgres.js-backed `Store.postgres({ connectionString })` factory, and the `Frog.create` logging API.
88

99
```ts
10-
import { Frog, Store } from "frog";
10+
import { Frog, Store } from 'frog'
1111

12-
const store = Store.postgres({ connectionString: process.env.DATABASE_URL! });
13-
const frog = Frog.create({ store });
12+
const store = Store.postgres({ connectionString: process.env.DATABASE_URL! })
13+
const frog = Frog.create({ store })
1414
await frog.log({
15-
body: "The workaround used.",
16-
severity: "minor",
17-
title: "Tool required a workaround",
18-
});
19-
const logs = await frog.logs();
20-
await store.close();
15+
body: 'The workaround used.',
16+
severity: 'minor',
17+
title: 'Tool required a workaround',
18+
})
19+
const logs = await frog.logs()
20+
await store.close()
2121
```
2222

2323
## 1.0.15

0 commit comments

Comments
 (0)