Skip to content

🎥 Make videos programmatically with React

can remove patch-package

Jonny Burger3d433a89e0e9
diff --git a/packages/bundler/package.json b/packages/bundler/package.json
index 327f70a24a..340618c2f3 100644
--- a/packages/bundler/package.json
+++ b/packages/bundler/package.json
@@ -45,7 +45,6 @@
"@types/node": "^16.7.5",
"@types/semver": "^7.3.4",
"eslint": "^7.25.0",
- "patch-package": "^6.2.2",
"prettier": "^2.0.5",
"prettier-plugin-organize-imports": "^1.1.1",
"typescript": "^4.4.2"
diff --git a/packages/docs/blog/2021-02-26-remotion-1-4.md b/packages/docs/blog/2021-02-26-remotion-1-4.md
index fbc539751e..a0be3aad26 100644
--- a/packages/docs/blog/2021-02-26-remotion-1-4.md
+++ b/packages/docs/blog/2021-02-26-remotion-1-4.md
@@ -45,7 +45,7 @@ While this will work while previewing the video, during rendering, the random nu
To help you avoid this mistake, there is now a new ESLint rule that will warn when you use `Math.random()`. Instead using it, you can use the new [`random()`](/docs/random) API. It will take a `seed` parameter and output a number between 0 and 1. The point of it is: As long as you pass the same seed, you get the same output! That way you don't get unintended effects while multithreaded rendering is performed.
-```tsx {7-8}
+```tsx twoslash {7-8}
import { random } from "remotion";
export const MyComp = () => {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index dd8e0113fb..125cdcea4d 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -119,7 +119,6 @@ importers:
express: ^4.17.1
file-loader: ^6.0.0
latest-version: ^5.1.0
- patch-package: ^6.2.2
prettier: ^2.0.5
prettier-plugin-organize-imports: ^1.1.1
react-refresh: ^0.9.0-rc.2
@@ -150,7 +149,6 @@ importers:
'@types/node': 16.10.2
'@types/semver': 7.3.8
eslint: 7.32.0
- patch-package: 6.4.7
prettier: 2.4.1
prettier-plugin-organize-imports: [email protected][email protected]
typescript: 4.4.3
@@ -7719,10 +7717,6 @@ packages:
/@xtuc/long/4.2.2:
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
- /@yarnpkg/lockfile/1.1.0:
- resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==}
- dev: true
-
/JSONStream/1.3.5:
resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
hasBin: true
@@ -12117,12 +12111,6 @@ packages:
path-exists: 4.0.0
dev: false
- /find-yarn-workspace-root/2.0.0:
- resolution: {integrity: sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==}
- dependencies:
- micromatch: 4.0.4
- dev: true
-
/flat-cache/3.0.4:
resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==}
engines: {node: ^10.12.0 || >=12.0.0}
@@ -12249,6 +12237,7 @@ packages:
graceful-fs: 4.2.8
jsonfile: 4.0.0
universalify: 0.1.2
+ dev: false
/fs-extra/8.1.0:
resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}
@@ -15048,6 +15037,7 @@ packages:
resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=}
optionalDependencies:
graceful-fs: 4.2.8
+ dev: false
/jsonfile/6.1.0:
resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
@@ -15122,12 +15112,6 @@ packages:
resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}
engines: {node: '>=0.10.0'}
- /klaw-sync/6.0.0:
- resolution: {integrity: sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==}
- dependencies:
- graceful-fs: 4.2.8
- dev: true
-
/kleur/3.0.3:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
@@ -16661,6 +16645,7 @@ packages:
dependencies:
is-docker: 2.2.1
is-wsl: 2.2.0
+ dev: false
/opener/1.5.2:
resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==}
@@ -16733,6 +16718,7 @@ packages:
/os-tmpdir/1.0.2:
resolution: {integrity: sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=}
engines: {node: '>=0.10.0'}
+ dev: false
/osenv/0.1.5:
resolution: {integrity: sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==}
@@ -17049,26 +17035,6 @@ packages:
resolution: {integrity: sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=}
engines: {node: '>=0.10.0'}
- /patch-package/6.4.7:
- resolution: {integrity: sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ==}
- engines: {npm: '>5'}
- hasBin: true
- dependencies:
- '@yarnpkg/lockfile': 1.1.0
- chalk: 2.4.2
- cross-spawn: 6.0.5
- find-yarn-workspace-root: 2.0.0
- fs-extra: 7.0.1
- is-ci: 2.0.0
- klaw-sync: 6.0.0
- minimist: 1.2.5
- open: 7.4.2
- rimraf: 2.7.1
- semver: 5.7.1
- slash: 2.0.0
- tmp: 0.0.33
- dev: true
-
/path-browserify/0.0.1:
resolution: {integrity: sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==}
dev: false
@@ -19702,6 +19668,7 @@ packages:
hasBin: true
dependencies:
glob: 7.2.0
+ dev: false
/rimraf/3.0.2:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
@@ -20226,11 +20193,6 @@ packages:
sax: 1.2.4
dev: false
- /slash/2.0.0:
- resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==}
- engines: {node: '>=6'}
- dev: true
-
/slash/3.0.0:
resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
engines: {node: '>=8'}
@@ -21228,6 +21190,7 @@ packages:
engines: {node: '>=0.6.0'}
dependencies:
os-tmpdir: 1.0.2
+ dev: false
/tmpl/1.0.5:
resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==}