Skip to content

Commit 2fc733f

Browse files
yanthomasdevArmandPhilippotsarah11918delucis
authored
Update Lunaria (Fixes Netlify deploy issue) (#12066)
Co-authored-by: Armand Philippot <[email protected]> Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: Chris Swithinbank <[email protected]>
1 parent 39cd407 commit 2fc733f

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@astrojs/sitemap": "^3.3.0",
6464
"@astrojs/starlight": "^0.34.4",
6565
"@expressive-code/plugin-collapsible-sections": "^0.41.2",
66-
"@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@4c8b9b0",
66+
"@lunariajs/core": "https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@f07e1a3",
6767
"canvas-confetti": "^1.6.0",
6868
"jsdoc-api": "^9.3.4",
6969
"rehype-slug": "^6.0.0",

pnpm-lock.yaml

Lines changed: 24 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/lunaria/components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export const ContentDetailsLinks = (
283283
links.history(
284284
fileStatus.source.path,
285285
'git' in localization
286-
? new Date(localization.git.latestTrackedChange.date).toISOString()
286+
? new Date(localization.git.latestTrackedCommit.date).toISOString()
287287
: undefined
288288
),
289289
'source change history'

scripts/tuesday-bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function setDiscordMessage() {
1313

1414
const toTranslate = status.filter(
1515
(s) =>
16-
new Date(s.source.git.latestTrackedChange.date) >
16+
new Date(s.source.git.latestTrackedCommit.date) >
1717
new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)
1818
);
1919

0 commit comments

Comments
 (0)