alepha 0.9.3 → 0.9.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/vite.d.ts CHANGED
@@ -34,7 +34,6 @@ interface ViteCompressOptions {
34
34
  }
35
35
  declare function viteCompress(options?: ViteCompressOptions): Plugin;
36
36
  declare function compressFile(options: ViteCompressOptions | undefined, filePath: string): Promise<void>;
37
- //# sourceMappingURL=viteCompress.d.ts.map
38
37
  //#endregion
39
38
  //#region src/helpers/buildClient.d.ts
40
39
  interface BuildClientOptions {
@@ -91,13 +90,18 @@ interface VercelConfig {
91
90
  projectName?: string;
92
91
  orgId?: string;
93
92
  projectId?: string;
93
+ config?: Record<string, any> & {
94
+ crons?: Array<{
95
+ path: string;
96
+ schedule: string;
97
+ }>;
98
+ };
94
99
  }
95
100
  declare function viteAlephaBuildVercel(opts?: ViteAlephaBuildVercelOptions): Promise<{
96
101
  name: string;
97
102
  apply: string;
98
103
  writeBundle(): void;
99
104
  }>;
100
- //# sourceMappingURL=viteAlephaBuildVercel.d.ts.map
101
105
  //#endregion
102
106
  //#region src/viteAlephaBuild.d.ts
103
107
  interface ViteAlephaBuildOptions {
@@ -126,7 +130,6 @@ interface ViteAlephaBuildOptions {
126
130
  docker?: boolean | ViteAlephaBuildDockerOptions;
127
131
  }
128
132
  declare function viteAlephaBuild(options?: ViteAlephaBuildOptions): Promise<Plugin>;
129
- //# sourceMappingURL=viteAlephaBuild.d.ts.map
130
133
  //#endregion
131
134
  //#region src/viteAlephaDev.d.ts
132
135
  interface ViteAlephaDevOptions {
@@ -141,17 +144,16 @@ interface ViteAlephaDevOptions {
141
144
  * @default false
142
145
  */
143
146
  debug?: boolean;
147
+ onReload?: () => void;
144
148
  }
145
149
  /**
146
150
  * Plug Alepha into Vite development server.
147
151
  */
148
152
  declare function viteAlephaDev(options?: ViteAlephaDevOptions): Promise<Plugin>;
149
- //# sourceMappingURL=viteAlephaDev.d.ts.map
150
153
  //#endregion
151
154
  //#region src/viteAlepha.d.ts
152
155
  type ViteAlephaOptions = ViteAlephaDevOptions & ViteAlephaBuildOptions;
153
156
  declare function viteAlepha(options?: ViteAlephaOptions): (Plugin | Promise<Plugin>)[];
154
- //# sourceMappingURL=viteAlepha.d.ts.map
155
157
  //#endregion
156
158
  //#region src/index.d.ts
157
159
  declare global {