Skip to content

🎥 Make videos programmatically with React

upodate lambda + netlify

Jonny Burger4c350ed20463
diff --git a/.netlify/netlify-plugin-pnpm/index.js b/.netlify/netlify-plugin-pnpm/index.js
new file mode 100644
index 0000000000..23d6659de9
--- /dev/null
+++ b/.netlify/netlify-plugin-pnpm/index.js
@@ -0,0 +1,10 @@
+module.exports = {
+ onPreBuild: async ({ utils: { build, run } }) => {
+ try {
+ await run.command("npm install -g pnpm");
+ await run.command("pnpm install --frozen-lockfile=false");
+ } catch (error) {
+ return build.failBuild(error);
+ }
+ },
+};
diff --git a/.netlify/netlify-plugin-pnpm/manifest.yml b/.netlify/netlify-plugin-pnpm/manifest.yml
new file mode 100644
index 0000000000..40042b0c2a
--- /dev/null
+++ b/.netlify/netlify-plugin-pnpm/manifest.yml
@@ -0,0 +1,2 @@
+name: netlify-plugin-pnpm
+inputs: []
diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 0000000000..3e2450f020
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,9 @@
+[build]
+command = "npm run build && cd packages/docs && npm run build-docs"
+publish = "packages/docs/build"
+
+[build.environment]
+NPM_FLAGS="--prefix=/dev/null"
+
+[[plugins]]
+package = "/.netlify/netlify-plugin-pnpm"
diff --git a/packages/docs/docs/lambda-changelog.md b/packages/docs/docs/lambda-changelog.md
index 3c689a7e3b..49033322dc 100644
--- a/packages/docs/docs/lambda-changelog.md
+++ b/packages/docs/docs/lambda-changelog.md
@@ -14,6 +14,12 @@ Keep track of changes to the APIs of Remotion Lambda here.
1. Redeploy your function: `npx remotion lambda functions deploy`
1. Migrate according to the changelog below:
+## October 19th, 2021
+
+Version hash: `2.0.3-lambda.461+9cd93efaf`
+
+- Updated with all the changes from main branch.
+
## October 7th, 2021
Version hash: `2.5.0-alpha.da8c43b8`