Skip to content

🎥 Make videos programmatically with React

Update copilot-instructions.md

Jonny Burger3031bdf5db1a
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index 0d6f29b68e..f7f1b56c8c 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -1,8 +1,14 @@
+## Monorepo setup
+
+There are multiple folders in the `packages` folder, which correspond to the packages in the monorepo.
+
+The **package name** for each folder is `@remotion/[folder-name]`, except for the `core` package, which has the package name `remotion`.
+
## Build instructions
- Use `pnpm i` to install dependencies, not npm.
- You need to install `bun` to run the project.
-- To build the project, run `bunx turbo make --filter="[package]"` and only include the package you are working on. The package name is `@remotion/[folder-name]`, except for the `core` package, which has the package name `remotion`.
+- To build the project, run `bunx turbo make --filter="[package-name]"` and only include the package you are working on. Refer to package naming convention above.
## Documentation
@@ -10,3 +16,8 @@ Any new features or settings should be documented in the `pacakges/docs` folder.
- Add new pages to the sidebar: `packages/docs/sidebars.js`.
- Generate og:images for the new pages: `cd package/docs && bun render-cards.mjs`.
+- Usually, there is a TableOfContents.tsx file in the folder of the documentaiton for the package. Add it there as well if there is a table of contents.
+
+## Committing
+
+- Use the commit message format "`[package-name]: [commit-message]`".