@jet-w/astro-blog 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-Z3O3JK56.js → chunk-CEZBWSMU.js} +34 -5
- package/dist/index.js +1 -1
- package/dist/utils/i18n.d.ts +34 -2
- package/dist/utils/i18n.js +6 -2
- package/package.json +1 -1
- package/src/components/blog/Hero.astro +8 -4
- package/src/components/blog/PostCard.astro +8 -4
- package/src/components/home/FeaturedPostsSection.astro +2 -1
- package/src/components/home/QuickNavSection.astro +2 -1
- package/src/components/home/RecentPostsSection.astro +2 -1
- package/src/components/layout/Footer.astro +2 -1
- package/src/components/layout/Header.astro +8 -4
- package/src/components/layout/Sidebar.astro +2 -1
- package/src/layouts/BaseLayout.astro +8 -4
- package/src/pages/archives/[year]/[month].astro +2 -1
- package/src/pages/archives/index.astro +2 -1
- package/src/pages/categories/[category].astro +2 -1
- package/src/pages/categories/index.astro +2 -1
- package/src/pages/posts/[...slug].astro +2 -1
- package/src/pages/posts/index.astro +2 -1
- package/src/pages/posts/page/[page].astro +2 -1
- package/src/pages/slides/index.astro +2 -1
- package/src/pages/tags/[tag].astro +2 -1
- package/src/pages/tags/index.astro +2 -1
- package/src/utils/i18n.ts +83 -4
- package/templates/default/.claude/ralph-loop.local.md +34 -43
- package/templates/default/astro.config.mjs +2 -2
- package/templates/default/package-lock.json +0 -9667
- package/templates/default/package.dev.json +0 -31
|
@@ -1,48 +1,39 @@
|
|
|
1
1
|
---
|
|
2
|
-
active:
|
|
3
|
-
iteration:
|
|
2
|
+
active: true
|
|
3
|
+
iteration: 1
|
|
4
4
|
max_iterations: 20
|
|
5
5
|
completion_promise: "DONE"
|
|
6
|
-
started_at: "2026-01-
|
|
7
|
-
completed_at: "2026-01-29T01:48:00Z"
|
|
6
|
+
started_at: "2026-01-29T09:04:01Z"
|
|
8
7
|
---
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### URL Behavior (Correct)
|
|
42
|
-
|
|
43
|
-
| Language | URL Pattern |
|
|
44
|
-
|----------|-------------|
|
|
45
|
-
| English (default) | `/posts/...`, `/slides`, `/about` |
|
|
46
|
-
| Chinese | `/zh-CN/posts/...`, `/zh-CN/slides`, `/zh-CN/about` |
|
|
47
|
-
|
|
48
|
-
This is the expected behavior with `prefixDefaultLocale: false`.
|
|
9
|
+
There is an error happened after running npm run build for default template in github action
|
|
10
|
+
8:27:27 AM [vite] (ssr) Error when evaluating SSR module /home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/astro.config.mjs: Failed to resolve entry for package @jet-w/astro-blog. The package may have incorrect main/module/exports specified in its package.json.
|
|
11
|
+
Plugin: vite:import-analysis
|
|
12
|
+
File: /home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/astro.config.mjs:11:46
|
|
13
|
+
9 |
|
|
14
|
+
10 | // Import plugins and integration from @jet-w/astro-blog
|
|
15
|
+
11 | import { astroBlog, defineI18nConfig } from '@jet-w/astro-blog';
|
|
16
|
+
| ^
|
|
17
|
+
12 | import { remarkProtectCode, rehypeRestoreCode } from '@jet-w/astro-blog/plugins/remark-protect-code.mjs';
|
|
18
|
+
13 | import { remarkContainers } from '@jet-w/astro-blog/plugins/remark-containers.mjs';
|
|
19
|
+
at packageEntryFailure (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:16198:15)
|
|
20
|
+
at resolvePackageEntry (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:16195:3)
|
|
21
|
+
at tryNodeResolve (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:16060:18)
|
|
22
|
+
at ResolveIdContext.resolveId (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:15831:19)
|
|
23
|
+
at EnvironmentPluginContainer.resolveId (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:42242:17)
|
|
24
|
+
at async TransformPluginContext.resolve (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:42449:15)
|
|
25
|
+
at async normalizeUrl (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:40492:26)
|
|
26
|
+
at async file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:40623:37
|
|
27
|
+
at async Promise.all (index 8)
|
|
28
|
+
at async TransformPluginContext.transform (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:40550:7)
|
|
29
|
+
[astro] Unable to load your Astro config
|
|
30
|
+
Failed to resolve entry for package @jet-w/astro-blog. The package may have incorrect main/module/exports specified in its package.json.
|
|
31
|
+
Location:
|
|
32
|
+
/home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/astro.config.mjs:11:46
|
|
33
|
+
Stack trace:
|
|
34
|
+
at packageEntryFailure (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:16198:15)
|
|
35
|
+
at tryNodeResolve (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:16060:18)
|
|
36
|
+
at EnvironmentPluginContainer.resolveId (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:42242:17)
|
|
37
|
+
at async normalizeUrl (file:///home/runner/work/jet-w.astro-blog/jet-w.astro-blog/templates/default/node_modules/vite/dist/node/chunks/dep-D4NMHUTW.js:40492:26)
|
|
38
|
+
at async Promise.all (index 8)
|
|
39
|
+
Error: Process completed with exit code 1.
|