@remotion/promo-pages 4.0.357 → 4.0.358

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+
2
+ $ tsc && eslint src
3
+ =============
4
+
5
+ WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
6
+
7
+ You may find that it works just fine, or you may not.
8
+
9
+ SUPPORTED TYPESCRIPT VERSIONS: >=4.7.4 <5.7.0
10
+
11
+ YOUR TYPESCRIPT VERSION: 5.8.2
12
+
13
+ Please only submit bug reports when using the officially supported version.
14
+
15
+ =============
@@ -1,8 +1,5 @@
1
1
 
2
- 
3
- > @remotion/promo-pages@4.0.357 make /Users/jonathanburger/remotion/packages/promo-pages
4
- > bun --env-file=../.env.bundle bundle.ts
5
-
2
+ $ bun --env-file=../.env.bundle bundle.ts
6
3
  ≈ tailwindcss v4.1.1
7
4
 
8
- Done in 25ms
5
+ Done in 24ms
package/bundle.ts CHANGED
@@ -1,4 +1,5 @@
1
- import {$} from 'bun';
1
+ import {$, build} from 'bun';
2
+
2
3
  import {NoReactInternals} from 'remotion/no-react';
3
4
 
4
5
  if (process.env.NODE_ENV !== 'production') {
@@ -22,12 +23,13 @@ if (nodeVersion.trim() === 'undefined') {
22
23
 
23
24
  await $`bunx tailwindcss -i src/index.css -o dist/tailwind.css`;
24
25
 
25
- const result = await Bun.build({
26
+ const result = await build({
26
27
  entrypoints: [
27
28
  './src/components/Homepage.tsx',
28
29
  './src/components/homepage/Pricing.tsx',
29
30
  './src/components/team.tsx',
30
31
  ],
32
+ outdir: 'dist',
31
33
  format: 'esm',
32
34
  external: [
33
35
  'react',
@@ -40,6 +42,11 @@ const result = await Bun.build({
40
42
  ],
41
43
  });
42
44
 
45
+ if (!result.success) {
46
+ console.log(result.logs.join('\n'));
47
+ process.exit(1);
48
+ }
49
+
43
50
  for (const output of result.outputs) {
44
51
  await Bun.write('dist/' + output.path, await output.text());
45
52
  }