Skip to content

🎥 Make videos programmatically with React

Update make-layer-public.ts

Jonny Burger7092fc68d94b
diff --git a/packages/lambda/src/admin/make-layer-public.ts b/packages/lambda/src/admin/make-layer-public.ts
index b907be8570..04b069ff20 100644
--- a/packages/lambda/src/admin/make-layer-public.ts
+++ b/packages/lambda/src/admin/make-layer-public.ts
@@ -38,7 +38,13 @@ const V5_RUNTIME = true;
const makeLayerPublic = async () => {
const runtimes: Runtime[] = [V5_RUNTIME ? 'nodejs20.x' : 'nodejs18.x'];
- const layers = ['fonts', 'chromium', 'emoji'] as const;
+ const layers = [
+ 'fonts',
+ 'chromium',
+ 'emoji-apple',
+ 'emoji-google',
+ 'cjk',
+ ] as const;
for (const region of getRegions()) {
for (const layer of layers) {
const layerName = `remotion-binaries-${layer}-arm64`;
@@ -47,7 +53,7 @@ const makeLayerPublic = async () => {
Content: {
S3Bucket: 'remotionlambda-binaries-' + region,
S3Key:
- layer === 'emoji'
+ layer === 'emoji-apple'
? 'remotion-layer-emoji-v1-arm64.zip'
: V5_RUNTIME
? `remotion-layer-${layer}-v11-arm64.zip`
@@ -59,9 +65,13 @@ const makeLayerPublic = async () => {
? V5_RUNTIME
? 'Chromium 123.0.6312.86, compiled from source. Read Chromium License: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/LICENSE'
: 'Chromium 114, compiled from source. Read Chromium License: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/LICENSE'
- : layer === 'emoji'
+ : layer === 'emoji-apple'
? 'Apple Emojis (https://github.com/samuelngs/apple-emoji-linux). For educational purposes only - Apple is a trademark of Apple Inc., registered in the U.S. and other countries.'
- : 'Contains Noto Sans font. Read Noto Sans License: https://fonts.google.com/noto/specimen/Noto+Sans/about',
+ : layer === 'emoji-google'
+ ? 'Google Emojis (https://github.com/googlefonts/noto-emoji)'
+ : layer === 'cjk'
+ ? 'Noto Sans (Chinese, Japanese, Korean)'
+ : 'Contains Noto Sans font. Read Noto Sans License: https://fonts.google.com/noto/specimen/Noto+Sans/about',
CompatibleRuntimes: runtimes,
Description: VERSION,
}),