alepha 0.9.4 → 0.10.0

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/vite.d.ts CHANGED
@@ -47,6 +47,12 @@ interface BuildClientOptions {
47
47
  * @default false
48
48
  */
49
49
  prerender?: boolean;
50
+ /**
51
+ * Build a sitemap.xml file based on the $pages routes.
52
+ */
53
+ sitemap?: {
54
+ hostname: string;
55
+ };
50
56
  config?: UserConfig;
51
57
  }
52
58
  //#endregion
@@ -90,10 +96,12 @@ interface VercelConfig {
90
96
  projectName?: string;
91
97
  orgId?: string;
92
98
  projectId?: string;
93
- crons?: Array<{
94
- path: string;
95
- schedule: string;
96
- }>;
99
+ config?: Record<string, any> & {
100
+ crons?: Array<{
101
+ path: string;
102
+ schedule: string;
103
+ }>;
104
+ };
97
105
  }
98
106
  declare function viteAlephaBuildVercel(opts?: ViteAlephaBuildVercelOptions): Promise<{
99
107
  name: string;
@@ -157,6 +165,26 @@ declare function viteAlepha(options?: ViteAlephaOptions): (Plugin | Promise<Plug
157
165
  declare global {
158
166
  var __alepha: Alepha;
159
167
  }
168
+ /**
169
+ * Plugin vite for Alepha framework.
170
+ *
171
+ * This module provides Vite plugins and configurations to integrate Alepha applications with Vite's build and development processes.
172
+ *
173
+ * @example
174
+ * ```ts
175
+ * import { defineConfig } from "vite";
176
+ * import { viteAlepha } from "alepha/vite";
177
+ *
178
+ * export default defineConfig({
179
+ * plugins: [viteAlepha()],
180
+ * // other Vite configurations...
181
+ * });
182
+ * ```
183
+ *
184
+ * @module alepha.vite
185
+ */
186
+ //# sourceMappingURL=index.d.ts.map
187
+
160
188
  //#endregion
161
189
  export { VercelConfig, ViteAlephaBuildOptions, ViteAlephaBuildVercelOptions, ViteAlephaDevOptions, ViteAlephaOptions, ViteCompressOptions, compressFile, viteAlepha, viteAlephaBuild, viteAlephaBuildVercel, viteAlephaDev, viteCompress };
162
190
  //# sourceMappingURL=index.d.ts.map