Skip to content

🎥 Make videos programmatically with React

fix tsconfig

Alex Fernandez8fab12eb8be1
diff --git a/packages/example-lambda/src/render-function/index.ts b/packages/example-lambda/src/render-function/index.ts
index a62ef87ed1..67adee979d 100644
--- a/packages/example-lambda/src/render-function/index.ts
+++ b/packages/example-lambda/src/render-function/index.ts
@@ -1,7 +1,9 @@
/* eslint-disable @typescript-eslint/require-await */
import { APIGatewayProxyEventV2, APIGatewayProxyResultV2 } from "aws-lambda";
import { renderMediaOnLambda } from "@remotion/lambda/client";
+
export async function main(
+ //@ts-ignore
event: APIGatewayProxyEventV2
): Promise<APIGatewayProxyResultV2> {
try {
diff --git a/packages/example-lambda/tsconfig.json b/packages/example-lambda/tsconfig.json
index 0dc831aa31..5a25817b19 100644
--- a/packages/example-lambda/tsconfig.json
+++ b/packages/example-lambda/tsconfig.json
@@ -1,32 +1,9 @@
{
+ "extends": "../tsconfig.settings.json",
"compilerOptions": {
- "target": "ES2018",
- "module": "commonjs",
- "lib": ["es2018", "ESNext.AsyncIterable"],
- "allowJs": true,
- "checkJs": true,
- "removeComments": true,
- "resolveJsonModule": true,
- "declaration": true,
- "strict": true,
- "noImplicitAny": true,
- "strictNullChecks": true,
- "strictPropertyInitialization": true,
- "noImplicitThis": true,
- "alwaysStrict": true,
- "noUnusedLocals": false,
- "noUnusedParameters": false,
- "noImplicitReturns": true,
- "noFallthroughCasesInSwitch": true,
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "inlineSourceMap": true,
- "inlineSources": true,
- "skipLibCheck": true,
- "forceConsistentCasingInFileNames": true,
- "experimentalDecorators": true,
- "typeRoots": ["./node_modules/@types"],
- "isolatedModules": true,
+
+
+
"outDir": "./dist"
},
"exclude": ["node_modules", "**/node_modules/*", "cdk.out", "dist"]
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d75ee60099..b35f84e868 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -4161,7 +4161,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-bigint/7.8.3_@[email protected]:
resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==}
@@ -4196,7 +4196,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-class-static-block/7.14.5_@[email protected]:
resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==}
@@ -4349,7 +4349,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-jsx/7.12.13_@[email protected]:
resolution: {integrity: sha512-d4HM23Q1K7oq/SLNmG6mRt85l2csmQ0cHRaxRXjKW0YFdEXqlZ5kzFQKH5Uc3rDJECgu+yCRgPkG04Mm98R/1g==}
@@ -4431,7 +4431,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@[email protected]:
resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==}
@@ -4457,7 +4457,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-numeric-separator/7.10.4_@[email protected]:
resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==}
@@ -4483,7 +4483,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-object-rest-spread/7.8.3_@[email protected]:
resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==}
@@ -4518,7 +4518,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-optional-catch-binding/7.8.3_@[email protected]:
resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==}
@@ -4544,7 +4544,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-optional-chaining/7.8.3_@[email protected]:
resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==}
@@ -4570,7 +4570,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-private-property-in-object/7.14.5_@[email protected]:
resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==}
@@ -4628,7 +4628,7 @@ packages:
'@babel/core': ^7.0.0-0
dependencies:
'@babel/core': 7.20.12
- '@babel/helper-plugin-utils': 7.19.0
+ '@babel/helper-plugin-utils': 7.20.2
/@babel/plugin-syntax-typescript/7.14.5_@[email protected]:
resolution: {integrity: sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q==}
@@ -15614,7 +15614,7 @@ packages:
merge-stream: 2.0.0
npm-run-path: 4.0.1
onetime: 5.1.2
- signal-exit: 3.0.5
+ signal-exit: 3.0.7
strip-final-newline: 2.0.0
/exit/0.1.2: