@vercel/frameworks
Advanced tools
Comparing version 0.9.1 to 0.9.2-canary.0
@@ -1,2 +0,2 @@ | ||
import { Header, Rewrite, Route } from '@vercel/routing-utils'; | ||
import { Rewrite, Route } from '@vercel/routing-utils'; | ||
export interface FrameworkDetectionItem { | ||
@@ -34,5 +34,2 @@ /** | ||
}; | ||
declare type RoutesManifestRegex = { | ||
regex: string; | ||
}; | ||
/** | ||
@@ -169,7 +166,2 @@ * Framework detection information. | ||
* Function that returns the name of the directory that the framework outputs | ||
* its File System API build results to, usually called `.output`. | ||
*/ | ||
getFsOutputDir?: (dirPrefix: string) => Promise<string>; | ||
/** | ||
* Function that returns the name of the directory that the framework outputs | ||
* its STATIC build results to. In some cases this is read from a configuration file. | ||
@@ -185,17 +177,2 @@ */ | ||
/** | ||
* An array (or a function that returns an array) of default `Header` rules that | ||
* the framework uses. | ||
*/ | ||
defaultHeaders?: (Header & RoutesManifestRegex)[] | ((dirPrefix: string) => Promise<(Header & RoutesManifestRegex)[]>); | ||
/** | ||
* An array (or a function that returns an array) of default `Redirect` rules that | ||
* the framework uses. | ||
*/ | ||
defaultRedirects?: (Redirect & RoutesManifestRegex)[] | ((dirPrefix: string) => Promise<(Redirect & RoutesManifestRegex)[]>); | ||
/** | ||
* An array (or a function that returns an array) of default `Rewrite` rules that | ||
* the framework uses. | ||
*/ | ||
defaultRewrites?: (Rewrite & RoutesManifestRegex)[] | ((dirPrefix: string) => Promise<(Rewrite & RoutesManifestRegex)[]>); | ||
/** | ||
* A glob string of files to cache for future deployments. | ||
@@ -212,2 +189,1 @@ * @example ".cache/**" | ||
} | ||
export {}; |
{ | ||
"name": "@vercel/frameworks", | ||
"version": "0.9.1", | ||
"version": "0.9.2-canary.0", | ||
"main": "./dist/frameworks.js", | ||
@@ -28,3 +28,3 @@ "types": "./dist/frameworks.d.ts", | ||
}, | ||
"gitHead": "6e8935883b874d68499283e7a3081a1e2824cbee" | ||
"gitHead": "08b04d0bda5e50b0dbce6f2595207e96271fc11e" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
143068
3521