@tempots/vite 0.0.1 → 0.0.3
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/index.d.ts +2 -2
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Renderable } from '@tempots/dom';
|
|
|
4
4
|
* Rendering mode for the Tempo Vite plugin.
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export type TempoMode =
|
|
7
|
+
export type TempoMode = 'ssg' | 'ssr' | 'islands' | 'hybrid';
|
|
8
8
|
/**
|
|
9
9
|
* Route configuration for SSG.
|
|
10
10
|
* @public
|
|
@@ -42,7 +42,7 @@ export interface TempoViteOptions {
|
|
|
42
42
|
*
|
|
43
43
|
* @default 'crawl'
|
|
44
44
|
*/
|
|
45
|
-
routes?: string[] | RouteConfig[] | (() => Promise<string[] | RouteConfig[]>) |
|
|
45
|
+
routes?: string[] | RouteConfig[] | (() => Promise<string[] | RouteConfig[]>) | 'crawl';
|
|
46
46
|
/**
|
|
47
47
|
* Seed routes for crawl mode. Crawling starts from these URLs.
|
|
48
48
|
* @default ['/']
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempots/vite",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"description": "Vite plugin for Tempo SSR, SSG, and Islands architecture",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tempo",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "Apache-2.0",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@tempots/dom": "^
|
|
41
|
-
"@tempots/server": "^0.0.
|
|
40
|
+
"@tempots/dom": "^37.0.0",
|
|
41
|
+
"@tempots/server": "^0.0.3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
|