Skip to content

Commit 9953cf5

Browse files
committed
Fix: Use .mjs extension for ES module script
- Rename generate-markdown.js to generate-markdown.mjs for ES module support - Remove 'type: module' from package.json to keep existing config files working - Update postbuild script to call .mjs file - Tested: Build works correctly, 40 HTML files converted to markdown
1 parent cde8590 commit 9953cf5

4 files changed

Lines changed: 70 additions & 71 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
22
"name": "hello.dev",
33
"version": "2.0.0",
4-
"type": "module",
54
"description": "Hellō is an OpenID Connect Provider that simplifies user registration and login, allowing you to provide all the choices your user's may want in hours instead of days or weeks.",
65
"scripts": {
76
"dev": "next dev",
87
"feed": "./scripts/feed.sh",
98
"build": "next build",
10-
"postbuild": "next-sitemap && node scripts/generate-markdown.js",
9+
"postbuild": "next-sitemap && node scripts/generate-markdown.mjs",
1110
"start": "next start",
1211
"test": "linkinator ./S3 --config linkinator.config.json",
1312
"pr": "./scripts/pr.sh",

public/ai-sitemap.xml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,157 +6,157 @@
66

77
<url>
88
<loc>https://www.hello.dev/markdown/docs/docs.md</loc>
9-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
9+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
1010
<priority>1.0</priority>
1111
</url>
1212

1313
<url>
1414
<loc>https://www.hello.dev/markdown/docs/docs/apis/admin.md</loc>
15-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
15+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
1616
<priority>0.8</priority>
1717
</url>
1818

1919
<url>
2020
<loc>https://www.hello.dev/markdown/docs/docs/apis/invite.md</loc>
21-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
21+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
2222
<priority>0.8</priority>
2323
</url>
2424

2525
<url>
2626
<loc>https://www.hello.dev/markdown/docs/docs/apis/quickstart.md</loc>
27-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
27+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
2828
<priority>0.8</priority>
2929
</url>
3030

3131
<url>
3232
<loc>https://www.hello.dev/markdown/docs/docs/apis/wallet.md</loc>
33-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
33+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
3434
<priority>0.8</priority>
3535
</url>
3636

3737
<url>
3838
<loc>https://www.hello.dev/markdown/docs/docs/apis/web-client.md</loc>
39-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
39+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
4040
<priority>0.8</priority>
4141
</url>
4242

4343
<url>
4444
<loc>https://www.hello.dev/markdown/docs/docs/buttons.md</loc>
45-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
45+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
4646
<priority>0.8</priority>
4747
</url>
4848

4949
<url>
5050
<loc>https://www.hello.dev/markdown/docs/docs/getting-started.md</loc>
51-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
51+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
5252
<priority>0.9</priority>
5353
</url>
5454

5555
<url>
5656
<loc>https://www.hello.dev/markdown/docs/docs/mcp.md</loc>
57-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
57+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
5858
<priority>0.7</priority>
5959
</url>
6060

6161
<url>
6262
<loc>https://www.hello.dev/markdown/docs/docs/quickstarts.md</loc>
63-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
63+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
6464
<priority>0.9</priority>
6565
</url>
6666

6767
<url>
6868
<loc>https://www.hello.dev/markdown/docs/docs/quickstarts/express.md</loc>
69-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
69+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
7070
<priority>0.8</priority>
7171
</url>
7272

7373
<url>
7474
<loc>https://www.hello.dev/markdown/docs/docs/quickstarts/fastify.md</loc>
75-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
75+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
7676
<priority>0.8</priority>
7777
</url>
7878

7979
<url>
8080
<loc>https://www.hello.dev/markdown/docs/docs/quickstarts/nextjs.md</loc>
81-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
81+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
8282
<priority>0.8</priority>
8383
</url>
8484

8585
<url>
8686
<loc>https://www.hello.dev/markdown/docs/docs/quickstarts/wordpress.md</loc>
87-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
87+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
8888
<priority>0.8</priority>
8989
</url>
9090

9191
<url>
9292
<loc>https://www.hello.dev/markdown/docs/docs/scopes.md</loc>
93-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
93+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
9494
<priority>0.8</priority>
9595
</url>
9696

9797
<url>
9898
<loc>https://www.hello.dev/markdown/docs/docs/sdks/config.md</loc>
99-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
99+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
100100
<priority>0.7</priority>
101101
</url>
102102

103103
<url>
104104
<loc>https://www.hello.dev/markdown/docs/docs/sdks/environment.md</loc>
105-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
105+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
106106
<priority>0.7</priority>
107107
</url>
108108

109109
<url>
110110
<loc>https://www.hello.dev/markdown/docs/docs/sdks/express.md</loc>
111-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
111+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
112112
<priority>0.7</priority>
113113
</url>
114114

115115
<url>
116116
<loc>https://www.hello.dev/markdown/docs/docs/sdks/faqs.md</loc>
117-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
117+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
118118
<priority>0.7</priority>
119119
</url>
120120

121121
<url>
122122
<loc>https://www.hello.dev/markdown/docs/docs/sdks/fastify.md</loc>
123-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
123+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
124124
<priority>0.7</priority>
125125
</url>
126126

127127
<url>
128128
<loc>https://www.hello.dev/markdown/docs/docs/sdks/helper.md</loc>
129-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
129+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
130130
<priority>0.7</priority>
131131
</url>
132132

133133
<url>
134134
<loc>https://www.hello.dev/markdown/docs/docs/sdks/nextjs.md</loc>
135-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
135+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
136136
<priority>0.7</priority>
137137
</url>
138138

139139
<url>
140140
<loc>https://www.hello.dev/markdown/docs/docs/sdks/quickstart.md</loc>
141-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
141+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
142142
<priority>0.7</priority>
143143
</url>
144144

145145
<url>
146146
<loc>https://www.hello.dev/markdown/docs/docs/sdks/react.md</loc>
147-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
147+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
148148
<priority>0.7</priority>
149149
</url>
150150

151151
<url>
152152
<loc>https://www.hello.dev/markdown/docs/docs/sdks/svelte.md</loc>
153-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
153+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
154154
<priority>0.7</priority>
155155
</url>
156156

157157
<url>
158158
<loc>https://www.hello.dev/markdown/docs/docs/sdks/vue.md</loc>
159-
<lastmod>2025-07-20T09:39:25.169Z</lastmod>
159+
<lastmod>2025-07-20T09:43:49.435Z</lastmod>
160160
<priority>0.7</priority>
161161
</url>
162162

0 commit comments

Comments
 (0)