Skip to content

Commit 9381c18

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents c311c8e + 86db508 commit 9381c18

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"rimraf": "6.0.1",
9090
"semantic-release": "24.2.4",
9191
"ts-node": "10.9.2",
92-
"tsx": "4.19.4",
92+
"tsx": "^4.19.4",
9393
"typescript": "5.8.3",
9494
"uuid": "11.1.0",
9595
"vitest": "3.1.4",

src/lib/adr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const injectLinksTo = async (sourcePath: string, links: string[] = [], suppressP
129129
export const generateToc = async (options?: { prefix?: string }) => {
130130
const adrDir = await getDir();
131131
const files = await fs.readdir(adrDir);
132-
const toc = files.filter((file) => file.match(/^\d{4}-.*\.md$/));
132+
const toc = files.filter((file) => file.match(/^\d{4}-.*\.md$/)).sort();
133133

134134
const titles = toc.map(async (file) => {
135135
const title = getTitleFrom(await fs.readFile(path.join(adrDir, file), 'utf8'));

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5384,7 +5384,7 @@ tslib@^2.1.0:
53845384
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
53855385
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==
53865386

5387-
tsx@4.19.4:
5387+
tsx@^4.19.4:
53885388
version "4.19.4"
53895389
resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.19.4.tgz#647b4141f4fdd9d773a9b564876773d2846901f4"
53905390
integrity sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==

0 commit comments

Comments
 (0)