jeawin-astro 4.0.6 → 4.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeawin-astro",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "author": "chaegumi <chaegumi@qq.com>",
5
5
  "description": "Astro components for Jeawin CMS",
6
6
  "license": "MIT",
@@ -62,13 +62,13 @@
62
62
  "astro": ">=5.0.0"
63
63
  },
64
64
  "dependencies": {
65
- "@astrojs/alpinejs": "^0.4.9",
66
- "@astrojs/check": "^0.9.6",
67
- "@astrojs/cloudflare": "^12.6.12",
68
- "@astrojs/rss": "^4.0.15",
69
- "@astrojs/sitemap": "3.2.1",
70
- "@astrojs/ts-plugin": "^1.10.6",
71
- "@astrojs/vue": "^5.1.4",
65
+ "@astrojs/alpinejs": "^0.5.0",
66
+ "@astrojs/check": "^0.9.7",
67
+ "@astrojs/cloudflare": "^13.0.2",
68
+ "@astrojs/rss": "^4.0.17",
69
+ "@astrojs/sitemap": "3.7.1",
70
+ "@astrojs/ts-plugin": "^1.10.7",
71
+ "@astrojs/vue": "^6.0.0",
72
72
  "@iconify-json/fa6-brands": "^1.2.6",
73
73
  "@iconify-json/fa6-solid": "^1.2.4",
74
74
  "@iconify/tools": "^4.2.0",
@@ -106,7 +106,7 @@
106
106
  "zod": "^3.25.76"
107
107
  },
108
108
  "devDependencies": {
109
- "@astrojs/node": "^9.5.4",
109
+ "@astrojs/node": "^10.0.0",
110
110
  "@babel/core": "^7.29.0",
111
111
  "@babel/preset-env": "^7.29.0",
112
112
  "@rollup/plugin-babel": "^6.1.0",
@@ -119,7 +119,7 @@
119
119
  "@rollup/plugin-typescript": "^12.3.0",
120
120
  "@types/lodash": "^4.17.24",
121
121
  "@types/sprintf-js": "^1.1.4",
122
- "astro": "^5.18.0",
122
+ "astro": "^6.0.2",
123
123
  "autoprefixer": "^10.4.27",
124
124
  "chai": "^5.3.3",
125
125
  "mocha": "^10.8.2",
package/src/index.ts CHANGED
@@ -17,7 +17,6 @@
17
17
  // import choose_language from 'jeawin-astro/components/choose_language.astro'
18
18
  // import comment_form from 'jeawin-astro/components/comment_form.astro'
19
19
  // import common_card from 'jeawin-astro/components/common_card.astro'
20
- // import consent from 'jeawin-astro/components/consent.astro'
21
20
  // import default_image from 'jeawin-astro/components/default_image.astro'
22
21
  // import detail_images from 'jeawin-astro/components/detail_images.astro'
23
22
  // import detail_images_splide from 'jeawin-astro/components/detail_images_splide.astro'
@@ -84,15 +84,21 @@ export default defineIntegration({
84
84
  entrypoint: resolve('./routes/sitemap.xml.ts'),
85
85
  prerender: true
86
86
  });
87
+ // injectRoute({
88
+ // pattern: `${viteBase ? `${viteBase}/` : '/'}sitemap.xsl`,
89
+ // entrypoint: resolve('./routes/sitemap.xsl.ts'),
90
+ // prerender: true
91
+ // });
92
+
87
93
  injectRoute({
88
- pattern: `${viteBase ? `${viteBase}/` : '/'}sitemap.xsl`,
89
- entrypoint: resolve('./routes/sitemap.xsl.ts'),
94
+ pattern: `${viteBase ? `${viteBase}/` : '/'}global.variable.js`,
95
+ entrypoint: resolve('./routes/global.variable.js.ts'),
90
96
  prerender: true
91
97
  });
92
98
 
93
99
  injectRoute({
94
- pattern: `${viteBase ? `${viteBase}/` : '/'}global.variable.js`,
95
- entrypoint: resolve('./routes/global.variable.js.ts'),
100
+ pattern: `${viteBase ? `${viteBase}/` : '/'}consent.js`,
101
+ entrypoint: resolve('./routes/consent.js.ts'),
96
102
  prerender: true
97
103
  });
98
104