@remotion/cloudrun 4.0.100 → 4.0.103
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/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
> @remotion/cloudrun@4.0.
|
|
2
|
+
> @remotion/cloudrun@4.0.102 build /Users/jonathanburger/remotion/packages/cloudrun
|
|
3
3
|
> tsc -d && cp src/shared/sa-permissions.json dist/shared/sa-permissions.json && pnpm run buildContainer && pnpm run tarInstaller
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @remotion/cloudrun@4.0.
|
|
6
|
+
> @remotion/cloudrun@4.0.102 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
|
|
7
7
|
> ts-node src/admin/bundle-renderLogic.ts
|
|
8
8
|
|
|
9
9
|
distribution bundled.
|
|
10
10
|
|
|
11
|
-
> @remotion/cloudrun@4.0.
|
|
11
|
+
> @remotion/cloudrun@4.0.102 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
|
|
12
12
|
> ts-node src/admin/bundle-installer.ts
|
|
13
13
|
|
|
14
14
|
Making reproducible build with gtar
|
package/LICENSE.md
CHANGED
|
@@ -24,17 +24,18 @@ const bundleRenderLogic = async () => {
|
|
|
24
24
|
outfile,
|
|
25
25
|
entryPoints: [template],
|
|
26
26
|
treeShaking: true,
|
|
27
|
-
external: [
|
|
28
|
-
'./compositor',
|
|
29
|
-
'./compositor.exe',
|
|
30
|
-
'./ffmpeg/remotion/bin/ffmpeg',
|
|
31
|
-
'./ffmpeg/remotion/bin/ffprobe',
|
|
32
|
-
'./mappings.wasm',
|
|
33
|
-
],
|
|
27
|
+
external: ['./remotion', './remotion.exe', './mappings.wasm'],
|
|
34
28
|
});
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
const filesInCwd = fs_1.default.readdirSync(compositor_linux_x64_gnu_1.dir);
|
|
30
|
+
const filesToCopy = filesInCwd.filter((f) => f.startsWith('remotion') ||
|
|
31
|
+
f.endsWith('.so') ||
|
|
32
|
+
f.endsWith('.dll') ||
|
|
33
|
+
f.endsWith('.dylib') ||
|
|
34
|
+
f.startsWith('ffmpeg') ||
|
|
35
|
+
f.startsWith('ffprobe'));
|
|
36
|
+
for (const file of filesToCopy) {
|
|
37
|
+
fs_1.default.cpSync(path_1.default.join(compositor_linux_x64_gnu_1.dir, file), path_1.default.join(outdir, file));
|
|
38
|
+
}
|
|
38
39
|
fs_1.default.cpSync(path_1.default.join(__dirname, '..', '..', '..', 'renderer', 'node_modules', 'source-map', 'lib', 'mappings.wasm'), `${outdir}/mappings.wasm`);
|
|
39
40
|
console.log('distribution bundled.');
|
|
40
41
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WebpackOverrideFn } from '@remotion/bundler';
|
|
1
|
+
import type { GitSource, WebpackOverrideFn } from '@remotion/bundler';
|
|
2
2
|
import type { UploadDirProgress } from './upload-dir';
|
|
3
3
|
export type DeploySiteInput = {
|
|
4
4
|
entryPoint: string;
|
|
@@ -13,6 +13,7 @@ export type DeploySiteInput = {
|
|
|
13
13
|
publicDir?: string | null;
|
|
14
14
|
rootDir?: string;
|
|
15
15
|
bypassBucketNameValidation?: boolean;
|
|
16
|
+
gitSource?: GitSource | null;
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
19
|
export type DeploySiteOutput = Promise<{
|
package/dist/api/deploy-site.js
CHANGED
|
@@ -36,6 +36,7 @@ const deploySiteRaw = async ({ entryPoint, bucketName, siteName, options, }) =>
|
|
|
36
36
|
ignoreRegisterRootWarning: options === null || options === void 0 ? void 0 : options.ignoreRegisterRootWarning,
|
|
37
37
|
onProgress: (_c = options === null || options === void 0 ? void 0 : options.onBundleProgress) !== null && _c !== void 0 ? _c : (() => undefined),
|
|
38
38
|
entryPoint,
|
|
39
|
+
gitSource: options === null || options === void 0 ? void 0 : options.gitSource,
|
|
39
40
|
}),
|
|
40
41
|
]);
|
|
41
42
|
const { toDelete, toUpload, existingCount } = await (0, get_storage_operations_1.getStorageDiffOperations)({
|
|
@@ -107,6 +107,7 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel) => {
|
|
|
107
107
|
},
|
|
108
108
|
enableCaching: config_1.ConfigInternals.getWebpackCaching(),
|
|
109
109
|
webpackOverride: (_b = config_1.ConfigInternals.getWebpackOverrideFn()) !== null && _b !== void 0 ? _b : ((f) => f),
|
|
110
|
+
gitSource: null,
|
|
110
111
|
},
|
|
111
112
|
});
|
|
112
113
|
updateProgress();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cloudrun",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.103",
|
|
4
4
|
"description": "GCP Cloud Run alternative to lambda rendering",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"@google-cloud/logging": "^10.5.0",
|
|
13
13
|
"google-auth-library": "^8.7.0",
|
|
14
14
|
"zod": "^3.22.3",
|
|
15
|
-
"remotion": "4.0.
|
|
16
|
-
"
|
|
17
|
-
"@remotion/
|
|
18
|
-
"@remotion/
|
|
15
|
+
"@remotion/renderer": "4.0.103",
|
|
16
|
+
"remotion": "4.0.103",
|
|
17
|
+
"@remotion/bundler": "4.0.103",
|
|
18
|
+
"@remotion/cli": "4.0.103"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@jonny/eslint-config": "3.0.276",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
27
27
|
"ts-node": "^10.8.0",
|
|
28
28
|
"vitest": "0.31.1",
|
|
29
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
29
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.103"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
"./package.json": "./package.json",
|