Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Commit 0cddf08

Browse files
Merge pull request #33 from chocolatey/release/credits-generator
(#30) Upgrade choco-astro to 0.4.0
2 parents 92b6c7c + be255ab commit 0cddf08

File tree

6 files changed

+1256
-1197
lines changed

6 files changed

+1256
-1197
lines changed

.yarn/releases/yarn-4.2.2.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarn/releases/yarn-4.9.2.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ checksumBehavior: update
22

33
nodeLinker: node-modules
44

5-
yarnPath: .yarn/releases/yarn-4.2.2.cjs
5+
npmAuthToken: "${NODE_AUTH_TOKEN-fallback}"
66

7-
npmAuthToken: ${NODE_AUTH_TOKEN-fallback}
7+
yarnPath: .yarn/releases/yarn-4.9.2.cjs

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "choco-astro",
3-
"version": "0.3.2",
4-
"packageManager": "yarn@4.2.2",
3+
"version": "0.4.0",
4+
"packageManager": "yarn@4.9.2",
55
"type": "module",
66
"description": "A global set of dependencies to be used on Chocolatey Software Astro projects.",
77
"repository": {
@@ -20,12 +20,12 @@
2020
"dependencies": {
2121
"@astrojs/check": "0.9.4",
2222
"@astrojs/mdx": "4.3.0",
23-
"@astrojs/node": "9.2.2",
23+
"@astrojs/node": "9.3.0",
2424
"@astrojs/rss": "4.0.12",
2525
"@astrojs/sitemap": "3.4.1",
2626
"@types/markdown-it": "^14",
2727
"@types/sanitize-html": "^2",
28-
"astro": "5.9.2",
28+
"astro": "5.11.0",
2929
"feed": "^5.1.0",
3030
"gray-matter": "^4.0.3",
3131
"markdown-it": "^14.1.0",

src/components/Callout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type CalloutTitle = Callout['title'];
1313
type CalloutType = Callout['type'];
1414
1515
interface Props {
16-
content: Callout
16+
content?: Callout
1717
title: CalloutTitle
1818
type: CalloutType
1919
}
@@ -28,7 +28,7 @@ if (title) {
2828
title = '';
2929
}
3030
31-
type = type ? type : content.type;
31+
type = type ? type : (content && content.type ? content.type : 'none');
3232
let icon = '';
3333
3434
switch (type) {

0 commit comments

Comments
 (0)