Skip to content

Commit 8f9ea70

Browse files
committed
docs(website): tweak changelog to fit in changeset setup
1 parent eeb4c7c commit 8f9ea70

File tree

4 files changed

+7
-24
lines changed

4 files changed

+7
-24
lines changed

packages/react/CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
---
2-
id: changelog
3-
title: Changelog
4-
description: All notable changes will be documented in this file.
5-
---
6-
7-
### Unreleased
1+
## Unreleased
82

93
### Added
104

packages/solid/CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
---
2-
id: changelog
3-
title: Changelog
4-
description: All notable changes will be documented in this file.
5-
---
6-
7-
### Unreleased
1+
## Unreleased
82

93
### Added
104

packages/vue/CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
---
2-
id: changelog
3-
title: Changelog
4-
description: All notable changes will be documented in this file.
5-
---
6-
7-
### Unreleased
1+
## Unreleased
82

93
### Added
104

website/velite.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ const pages = defineCollection({
88
pattern: ['pages/**/*.mdx', '../../../packages/*/CHANGELOG.md'],
99
schema: s
1010
.object({
11-
id: s.string(),
12-
title: s.string(),
11+
// TODO create a changelog collection instead
12+
id: s.string().default('changelog'),
13+
title: s.string().default('Changelog'),
1314
subtitle: s.string().optional(),
14-
description: s.string(),
15+
description: s.string().default('All notable changes will be documented in this file.'),
1516
metadata: s.metadata(),
1617
content: s.markdown(),
1718
framework: s.string().default('*'),

0 commit comments

Comments
 (0)