@remotion/cloudrun 4.0.227 → 4.0.228

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,7 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/cloudrun@4.0.226 make /Users/jonathanburger/remotion/packages/cloudrun
3
+ > @remotion/cloudrun@4.0.227 make /Users/jonathanburger/remotion/packages/cloudrun
4
4
  > tsc -d && bun build.ts
5
5
 
6
- distribution bundled.
7
- Making reproducible build with gtar
6
+ [14.55ms] Made reproducible build with gtar
@@ -37,18 +37,20 @@ const bundleInstaller = async () => {
37
37
  const tarArgs = `-cf ../gcpInstaller/gcpInstaller.tar -C . ${path_1.default.relative(outdir, bundlemjs)} ${path_1.default.relative(outdir, tfoutfile)} ${path_1.default.relative(outdir, sapermissionsoutfile)}`;
38
38
  // A reproducible build will lead to no pending change in Git
39
39
  if ((0, exports.hasGTar)()) {
40
- console.log('Making reproducible build with gtar');
40
+ console.time('Made reproducible build with gtar');
41
41
  (0, child_process_1.execSync)(`gtar --mtime='2023-01-01 00:00Z' --sort=name --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime ${tarArgs}`, {
42
42
  stdio: 'inherit',
43
43
  cwd: outdir,
44
44
  });
45
+ console.timeEnd('Made reproducible build with gtar');
45
46
  }
46
47
  else {
47
- console.log('Making non-reproducible build with tar.');
48
+ console.time('Made non-reproducible build with tar.');
48
49
  (0, child_process_1.execSync)(`tar ${tarArgs}`, {
49
50
  stdio: 'inherit',
50
51
  cwd: outdir,
51
52
  });
53
+ console.timeEnd('Made non-reproducible build with tar.');
52
54
  }
53
55
  (0, fs_1.rmSync)(outdir, { recursive: true });
54
56
  };
@@ -38,6 +38,5 @@ const bundleRenderLogic = async () => {
38
38
  fs_1.default.cpSync(path_1.default.join(compositor_linux_x64_gnu_1.dir, file), path_1.default.join(outdir, file));
39
39
  }
40
40
  fs_1.default.cpSync(path_1.default.join(__dirname, '..', '..', '..', 'renderer', 'node_modules', 'source-map', 'lib', 'mappings.wasm'), `${outdir}/mappings.wasm`);
41
- console.log('distribution bundled.');
42
41
  };
43
42
  exports.bundleRenderLogic = bundleRenderLogic;
@@ -2,4 +2,4 @@ import type { LogLevel } from '@remotion/renderer';
2
2
  import type { Site } from '../../../api/get-sites';
3
3
  export declare const SITES_COMMAND = "sites";
4
4
  export declare const displaySiteInfo: (site: Site) => string;
5
- export declare const sitesCommand: (args: string[], remotionRoot: string, logLevel: LogLevel) => Promise<void> | undefined;
5
+ export declare const sitesCommand: (args: string[], remotionRoot: string, logLevel: LogLevel) => Promise<boolean | void> | undefined;
@@ -1,3 +1,3 @@
1
1
  import type { LogLevel } from '@remotion/renderer';
2
2
  export declare const SITES_LS_SUBCOMMAND = "ls";
3
- export declare const sitesLsSubcommand: (logLevel: LogLevel) => Promise<void>;
3
+ export declare const sitesLsSubcommand: (logLevel: LogLevel) => Promise<boolean | void>;
package/dist/cli/log.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  export declare const Log: {
2
2
  verbose: (options: import("@remotion/renderer").LogOptions & {
3
3
  tag?: string;
4
- }, ...args: Parameters<typeof console.log>) => void;
5
- info: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => void;
6
- warn: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => void;
4
+ }, ...args: Parameters<typeof console.log>) => boolean | void;
5
+ info: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
6
+ warn: (options: import("@remotion/renderer").LogOptions, ...args: Parameters<typeof console.log>) => boolean | void;
7
7
  error: (options: import("@remotion/renderer").LogOptions & {
8
8
  tag?: string;
9
- }, ...args: Parameters<typeof console.log>) => void;
9
+ }, ...args: Parameters<typeof console.log>) => boolean | void;
10
10
  };
@@ -114,6 +114,7 @@ const renderMediaSingleThread = async (body, res) => {
114
114
  },
115
115
  onArtifact,
116
116
  metadata: (_m = body.metadata) !== null && _m !== void 0 ? _m : null,
117
+ hardwareAcceleration: 'disable',
117
118
  });
118
119
  const storage = new storage_1.Storage();
119
120
  const publicUpload = body.privacy === 'public' || !body.privacy;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.227",
6
+ "version": "4.0.228",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -16,16 +16,16 @@
16
16
  "@google-cloud/logging": "^11.1.0",
17
17
  "google-auth-library": "^8.7.0",
18
18
  "zod": "3.22.3",
19
- "@remotion/bundler": "4.0.227",
20
- "@remotion/renderer": "4.0.227",
21
- "remotion": "4.0.227",
22
- "@remotion/cli": "4.0.227"
19
+ "@remotion/bundler": "4.0.228",
20
+ "@remotion/cli": "4.0.228",
21
+ "@remotion/renderer": "4.0.228",
22
+ "remotion": "4.0.228"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/minimist": "1.2.2",
26
26
  "eslint": "9.14.0",
27
- "@remotion/compositor-linux-x64-gnu": "4.0.227",
28
- "@remotion/eslint-config-internal": "4.0.227"
27
+ "@remotion/compositor-linux-x64-gnu": "4.0.228",
28
+ "@remotion/eslint-config-internal": "4.0.228"
29
29
  },
30
30
  "exports": {
31
31
  "./package.json": "./package.json",