@remotion/cloudrun 4.0.102 → 4.0.104

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,14 +1,14 @@
1
1
 
2
- > @remotion/cloudrun@4.0.101 build /Users/jonathanburger/remotion/packages/cloudrun
2
+ > @remotion/cloudrun@4.0.103 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.101 buildContainer /Users/jonathanburger/remotion/packages/cloudrun
6
+ > @remotion/cloudrun@4.0.103 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.101 tarInstaller /Users/jonathanburger/remotion/packages/cloudrun
11
+ > @remotion/cloudrun@4.0.103 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
@@ -7,7 +7,7 @@ Depending on the type of your legal entity, you are granted permission to use Re
7
7
 
8
8
  ## Free license
9
9
 
10
- Copyright © 2023 [Remotion](https://www.remotion.dev)
10
+ Copyright © 2024 [Remotion](https://www.remotion.dev)
11
11
 
12
12
  ### Eligibility
13
13
 
@@ -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 compositorFile = `${outdir}/compositor`;
36
- fs_1.default.copyFileSync(path_1.default.join(compositor_linux_x64_gnu_1.dir, 'compositor'), compositorFile);
37
- fs_1.default.cpSync(path_1.default.join(compositor_linux_x64_gnu_1.dir, 'ffmpeg'), `${outdir}/ffmpeg`, { recursive: true });
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<{
@@ -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.102",
3
+ "version": "4.0.104",
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/bundler": "4.0.102",
16
- "@remotion/renderer": "4.0.102",
17
- "remotion": "4.0.102",
18
- "@remotion/cli": "4.0.102"
15
+ "@remotion/bundler": "4.0.104",
16
+ "@remotion/renderer": "4.0.104",
17
+ "@remotion/cli": "4.0.104",
18
+ "remotion": "4.0.104"
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.102"
29
+ "@remotion/compositor-linux-x64-gnu": "4.0.104"
30
30
  },
31
31
  "exports": {
32
32
  "./package.json": "./package.json",