Skip to content

Commit e800470

Browse files
committed
chore: add Node.js 22 announcement
1 parent dc10414 commit e800470

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docusaurus.config.ts

+8
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ const config: Config = {
6161
localeConfigs: {},
6262
},
6363
themeConfig: {
64+
announcementBar: {
65+
id: 'node22_upgrade',
66+
content:
67+
'Soon, <strong><code>@electron</code></strong> packages on npm will require Node.js 22 LTS. <a href="https://www.electronjs.org/blog/ecosystem-node-22/">Read more on our blog.</a>',
68+
isCloseable: true,
69+
textColor: '#1b1c26',
70+
backgroundColor: '#9feaf9',
71+
},
6472
colorMode: {
6573
//Default to light or dark depending on system theme.
6674
respectPrefersColorScheme: true,

0 commit comments

Comments
 (0)