@remotion/vercel 4.0.426
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/README.md +18 -0
- package/dist/add-bundle-to-sandbox.d.ts +5 -0
- package/dist/create-sandbox.d.ts +9 -0
- package/dist/esm/index.mjs +2096 -0
- package/dist/index.d.ts +6 -0
- package/dist/internals/add-bundle.d.ts +1 -0
- package/dist/internals/disposable.d.ts +2 -0
- package/dist/internals/install-browser.d.ts +5 -0
- package/dist/internals/install-js-dependencies.d.ts +4 -0
- package/dist/internals/install-system-dependencies.d.ts +5 -0
- package/dist/internals/patch-compositor.d.ts +14 -0
- package/dist/render-media-on-vercel.d.ts +46 -0
- package/dist/render-still-on-vercel.d.ts +24 -0
- package/dist/render-video-on-vercel.d.ts +51 -0
- package/dist/restore-snapshot.d.ts +2 -0
- package/dist/save-snapshot.d.ts +7 -0
- package/dist/scripts/ensure-browser.d.ts +1 -0
- package/dist/scripts/render-still.d.ts +1 -0
- package/dist/scripts/render-video.d.ts +1 -0
- package/dist/scripts/upload-blob.d.ts +1 -0
- package/dist/types.d.ts +58 -0
- package/dist/upload-to-vercel-blob.d.ts +13 -0
- package/package.json +57 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @remotion/vercel
|
|
2
|
+
|
|
3
|
+
Render Remotion videos on Vercel Sandbox
|
|
4
|
+
|
|
5
|
+
[](https://npmcharts.com/compare/@remotion/vercel?minimal=true)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @remotion/vercel --save-exact
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
|
|
14
|
+
Remove the `^` character from the version number to use the exact version.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
See the [documentation](https://www.remotion.dev/docs/vercel/api) for more information.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Sandbox } from '@vercel/sandbox';
|
|
2
|
+
import type { CreateSandboxOnProgress, VercelSandbox } from './types';
|
|
3
|
+
type CreateSandboxResources = NonNullable<NonNullable<Parameters<typeof Sandbox.create>[0]>['resources']>;
|
|
4
|
+
export declare const SANDBOX_CREATING_TIMEOUT: number;
|
|
5
|
+
export declare function createSandbox({ onProgress, resources }?: {
|
|
6
|
+
onProgress?: CreateSandboxOnProgress;
|
|
7
|
+
resources?: CreateSandboxResources;
|
|
8
|
+
}): Promise<VercelSandbox>;
|
|
9
|
+
export {};
|