Spaces:
Sleeping
Sleeping
fix: exclude client-only files, add missing packages, fix import paths
Browse files- package.json +9 -0
- pnpm-lock.yaml +0 -0
- remotion/Root.tsx +1 -1
- tsconfig.json +18 -4
package.json
CHANGED
|
@@ -16,8 +16,17 @@
|
|
| 16 |
"@designcombo/timeline": "^5.4.2",
|
| 17 |
"@designcombo/transitions": "^5.4.2",
|
| 18 |
"@designcombo/types": "^5.4.2",
|
|
|
|
|
|
|
| 19 |
"@remotion/bundler": "4.0.407",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"@remotion/renderer": "4.0.407",
|
|
|
|
|
|
|
|
|
|
| 21 |
"cors": "^2.8.5",
|
| 22 |
"express": "^4.18.2",
|
| 23 |
"lodash": "^4.17.21",
|
|
|
|
| 16 |
"@designcombo/timeline": "^5.4.2",
|
| 17 |
"@designcombo/transitions": "^5.4.2",
|
| 18 |
"@designcombo/types": "^5.4.2",
|
| 19 |
+
"@emotion/react": "^11.14.0",
|
| 20 |
+
"@emotion/styled": "^11.14.0",
|
| 21 |
"@remotion/bundler": "4.0.407",
|
| 22 |
+
"@remotion/media": "4.0.407",
|
| 23 |
+
"@remotion/media-utils": "4.0.407",
|
| 24 |
+
"@remotion/paths": "4.0.407",
|
| 25 |
+
"@remotion/player": "4.0.407",
|
| 26 |
"@remotion/renderer": "4.0.407",
|
| 27 |
+
"@remotion/shapes": "4.0.407",
|
| 28 |
+
"@remotion/transitions": "4.0.407",
|
| 29 |
+
"@remotion/web-renderer": "4.0.407",
|
| 30 |
"cors": "^2.8.5",
|
| 31 |
"express": "^4.18.2",
|
| 32 |
"lodash": "^4.17.21",
|
pnpm-lock.yaml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
remotion/Root.tsx
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
|
| 7 |
import React from "react";
|
| 8 |
import { Composition } from "remotion";
|
| 9 |
-
import { SSRComposition } from "../
|
| 10 |
|
| 11 |
// Default design types
|
| 12 |
interface IDesign {
|
|
|
|
| 6 |
|
| 7 |
import React from "react";
|
| 8 |
import { Composition } from "remotion";
|
| 9 |
+
import { SSRComposition } from "../src/player/ssr-composition";
|
| 10 |
|
| 11 |
// Default design types
|
| 12 |
interface IDesign {
|
tsconfig.json
CHANGED
|
@@ -4,11 +4,13 @@
|
|
| 4 |
"module": "commonjs",
|
| 5 |
"lib": [
|
| 6 |
"ES2020",
|
| 7 |
-
"DOM"
|
|
|
|
| 8 |
],
|
| 9 |
"outDir": "./dist",
|
| 10 |
"rootDir": ".",
|
| 11 |
-
"strict":
|
|
|
|
| 12 |
"esModuleInterop": true,
|
| 13 |
"skipLibCheck": true,
|
| 14 |
"forceConsistentCasingInFileNames": true,
|
|
@@ -20,10 +22,22 @@
|
|
| 20 |
},
|
| 21 |
"include": [
|
| 22 |
"src/**/*",
|
| 23 |
-
"
|
| 24 |
],
|
| 25 |
"exclude": [
|
| 26 |
"node_modules",
|
| 27 |
-
"dist"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
]
|
| 29 |
}
|
|
|
|
| 4 |
"module": "commonjs",
|
| 5 |
"lib": [
|
| 6 |
"ES2020",
|
| 7 |
+
"DOM",
|
| 8 |
+
"DOM.Iterable"
|
| 9 |
],
|
| 10 |
"outDir": "./dist",
|
| 11 |
"rootDir": ".",
|
| 12 |
+
"strict": false,
|
| 13 |
+
"noImplicitAny": false,
|
| 14 |
"esModuleInterop": true,
|
| 15 |
"skipLibCheck": true,
|
| 16 |
"forceConsistentCasingInFileNames": true,
|
|
|
|
| 22 |
},
|
| 23 |
"include": [
|
| 24 |
"src/**/*",
|
| 25 |
+
"remotion/**/*"
|
| 26 |
],
|
| 27 |
"exclude": [
|
| 28 |
"node_modules",
|
| 29 |
+
"dist",
|
| 30 |
+
"src/player/composition.tsx",
|
| 31 |
+
"src/player/player.tsx",
|
| 32 |
+
"src/player/items/caption-word.tsx",
|
| 33 |
+
"src/player/renderable-composition.tsx",
|
| 34 |
+
"src/player/lib/audio-data.ts",
|
| 35 |
+
"src/player/transitions/presentations/index.ts",
|
| 36 |
+
"src/player/transitions/presentations/star.tsx",
|
| 37 |
+
"src/utils/filmstrip.ts",
|
| 38 |
+
"src/utils/fonts.ts",
|
| 39 |
+
"src/utils/format.ts",
|
| 40 |
+
"src/utils/timeline.ts",
|
| 41 |
+
"src/utils/web-renderer.ts"
|
| 42 |
]
|
| 43 |
}
|