@remotion/studio 4.0.288 → 4.0.290
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.
- package/.turbo/turbo-make.log +2 -2
- package/dist/helpers/presets-labels.d.ts +1 -1
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/bundle.ts +0 -46
- package/eslint.config.mjs +0 -40
package/bundle.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {buildPackage} from '../.monorepo/builder';
|
|
2
|
-
|
|
3
|
-
const external = [
|
|
4
|
-
'react',
|
|
5
|
-
'remotion',
|
|
6
|
-
'react-dom',
|
|
7
|
-
'react',
|
|
8
|
-
'@remotion/media-utils',
|
|
9
|
-
'@remotion/studio-shared',
|
|
10
|
-
'@remotion/zod-types',
|
|
11
|
-
'@remotion/renderer',
|
|
12
|
-
'@remotion/player',
|
|
13
|
-
'@remotion/renderer/client',
|
|
14
|
-
'@remotion/renderer/pure',
|
|
15
|
-
'@remotion/renderer/error-handling',
|
|
16
|
-
'source-map',
|
|
17
|
-
'zod',
|
|
18
|
-
'remotion/no-react',
|
|
19
|
-
'react/jsx-runtime',
|
|
20
|
-
];
|
|
21
|
-
|
|
22
|
-
await buildPackage({
|
|
23
|
-
formats: {
|
|
24
|
-
esm: 'build',
|
|
25
|
-
cjs: 'use-tsc',
|
|
26
|
-
},
|
|
27
|
-
external,
|
|
28
|
-
entrypoints: [
|
|
29
|
-
{
|
|
30
|
-
path: 'src/index.ts',
|
|
31
|
-
target: 'browser',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
path: 'src/renderEntry.tsx',
|
|
35
|
-
target: 'browser',
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
path: 'src/internals.ts',
|
|
39
|
-
target: 'browser',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
path: 'src/previewEntry.tsx',
|
|
43
|
-
target: 'browser',
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
});
|
package/eslint.config.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {remotionFlatConfig} from '@remotion/eslint-config-internal';
|
|
2
|
-
|
|
3
|
-
const config = remotionFlatConfig({react: true});
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
...config,
|
|
7
|
-
rules: {
|
|
8
|
-
...config.rules,
|
|
9
|
-
'no-console': 'error',
|
|
10
|
-
'no-restricted-imports': [
|
|
11
|
-
'error',
|
|
12
|
-
{
|
|
13
|
-
patterns: [
|
|
14
|
-
'@remotion/*/src',
|
|
15
|
-
'@remotion/*/src/*',
|
|
16
|
-
'@remotion/*/dist/*',
|
|
17
|
-
'remotion/src/*',
|
|
18
|
-
],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
'@typescript-eslint/no-use-before-define': 'off',
|
|
22
|
-
'@typescript-eslint/no-restricted-imports': [
|
|
23
|
-
'error',
|
|
24
|
-
{
|
|
25
|
-
paths: [
|
|
26
|
-
{
|
|
27
|
-
name: 'zod',
|
|
28
|
-
message: 'Can only import zod as a type',
|
|
29
|
-
allowTypeImports: true,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: '@remotion/zod-types',
|
|
33
|
-
message: 'Can only import @remotion/zod-types as a type',
|
|
34
|
-
allowTypeImports: true,
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
};
|