@remotion/lambda 4.0.0-newpaths.14 → 4.0.0-newpaths.40
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.
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.sitesCreateSubcommand = exports.SITES_CREATE_SUBCOMMAND = void 0;
|
|
7
4
|
const cli_1 = require("@remotion/cli");
|
|
8
|
-
const fs_1 = require("fs");
|
|
9
|
-
const path_1 = __importDefault(require("path"));
|
|
10
5
|
const remotion_1 = require("remotion");
|
|
11
6
|
const deploy_site_1 = require("../../../api/deploy-site");
|
|
12
7
|
const get_or_create_bucket_1 = require("../../../api/get-or-create-bucket");
|
|
@@ -30,15 +25,6 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
|
|
|
30
25
|
return;
|
|
31
26
|
}
|
|
32
27
|
log_1.Log.verbose('Entry point:', file, 'Reason:', reason);
|
|
33
|
-
const absoluteFile = path_1.default.join(process.cwd(), file);
|
|
34
|
-
if (!(0, fs_1.existsSync)(absoluteFile)) {
|
|
35
|
-
log_1.Log.error(`No file exists at ${absoluteFile}. Make sure the path exists and try again.`);
|
|
36
|
-
(0, quit_1.quit)(1);
|
|
37
|
-
}
|
|
38
|
-
if ((0, fs_1.lstatSync)(absoluteFile).isDirectory()) {
|
|
39
|
-
log_1.Log.error(`You passed a path ${absoluteFile} but it is a directory. Pass a file instead.`);
|
|
40
|
-
(0, quit_1.quit)(1);
|
|
41
|
-
}
|
|
42
28
|
const desiredSiteName = (_a = args_1.parsedLambdaCli['site-name']) !== null && _a !== void 0 ? _a : undefined;
|
|
43
29
|
if (desiredSiteName !== undefined) {
|
|
44
30
|
(0, validate_site_name_1.validateSiteName)(desiredSiteName);
|
|
@@ -80,7 +66,7 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
|
|
|
80
66
|
const bundleStart = Date.now();
|
|
81
67
|
const uploadStart = Date.now();
|
|
82
68
|
const { serveUrl, siteName, stats } = await (0, deploy_site_1.deploySite)({
|
|
83
|
-
entryPoint:
|
|
69
|
+
entryPoint: file,
|
|
84
70
|
siteName: desiredSiteName,
|
|
85
71
|
bucketName,
|
|
86
72
|
options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "4.0.0-newpaths.
|
|
3
|
+
"version": "4.0.0-newpaths.40+09405cced",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@aws-sdk/credential-providers": "3.215.0",
|
|
34
34
|
"@aws-sdk/lib-storage": "3.215.0",
|
|
35
35
|
"@aws-sdk/s3-request-presigner": "3.215.0",
|
|
36
|
-
"@remotion/bundler": "4.0.0-newpaths.
|
|
37
|
-
"@remotion/cli": "4.0.0-newpaths.
|
|
38
|
-
"@remotion/renderer": "4.0.0-newpaths.
|
|
36
|
+
"@remotion/bundler": "4.0.0-newpaths.40+09405cced",
|
|
37
|
+
"@remotion/cli": "4.0.0-newpaths.40+09405cced",
|
|
38
|
+
"@remotion/renderer": "4.0.0-newpaths.40+09405cced",
|
|
39
39
|
"aws-policies": "^1.0.1",
|
|
40
40
|
"mime-types": "2.1.34",
|
|
41
|
-
"remotion": "4.0.0-newpaths.
|
|
41
|
+
"remotion": "4.0.0-newpaths.40+09405cced"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jonny/eslint-config": "3.0.266",
|
|
45
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.0-newpaths.
|
|
46
|
-
"@remotion/compositor-linux-x64-musl": "4.0.0-newpaths.
|
|
45
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.0-newpaths.40+09405cced",
|
|
46
|
+
"@remotion/compositor-linux-x64-musl": "4.0.0-newpaths.40+09405cced",
|
|
47
47
|
"@types/mime-types": "2.1.1",
|
|
48
48
|
"@types/minimist": "1.2.2",
|
|
49
49
|
"@types/node": "^14.14.14",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "09405cced148038402b72b568f349e0bc7bbb949"
|
|
63
63
|
}
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
package/remotionlambda-x64.zip
CHANGED
|
Binary file
|