@editframe/create 0.31.0-beta.0 → 0.31.1-beta.0
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/dist/templates/animejs/package.json +3 -3
- package/dist/templates/card-poetry/package.json +3 -3
- package/dist/templates/html/package.json +3 -3
- package/dist/templates/react/package.json +3 -3
- package/dist/templates/react-demo/package.json +3 -3
- package/dist/templates/simple-demo/package.json +3 -3
- package/package.json +1 -1
- package/dist/templates/blank-html/index.html +0 -21
- package/dist/templates/blank-html/package.json +0 -17
- package/dist/templates/blank-html/postcss.config.cjs +0 -5
- package/dist/templates/blank-html/src/assets/.gitkeep +0 -0
- package/dist/templates/blank-html/src/index.js +0 -2
- package/dist/templates/blank-html/src/styles.css +0 -8
- package/dist/templates/blank-html/tailwind.config.js +0 -8
- package/dist/templates/blank-html/vite.config.ts +0 -14
- package/dist/templates/blank-react/index.html +0 -16
- package/dist/templates/blank-react/package.json +0 -24
- package/dist/templates/blank-react/postcss.config.cjs +0 -5
- package/dist/templates/blank-react/src/Video.tsx +0 -17
- package/dist/templates/blank-react/src/assets/.gitkeep +0 -0
- package/dist/templates/blank-react/src/main.tsx +0 -11
- package/dist/templates/blank-react/src/styles.css +0 -14
- package/dist/templates/blank-react/tailwind.config.js +0 -8
- package/dist/templates/blank-react/tsconfig.json +0 -11
- package/dist/templates/blank-react/vite.config.ts +0 -16
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.31.
|
|
15
|
-
"@editframe/elements": "0.31.
|
|
16
|
-
"@editframe/vite-plugin": "0.31.
|
|
14
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
15
|
+
"@editframe/elements": "0.31.1-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
17
17
|
"animejs": "^4.2.2",
|
|
18
18
|
"prismjs": "^1.30.0",
|
|
19
19
|
"tailwindcss": "^3.4.3",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.31.
|
|
15
|
-
"@editframe/elements": "0.31.
|
|
16
|
-
"@editframe/vite-plugin": "0.31.
|
|
14
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
15
|
+
"@editframe/elements": "0.31.1-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
17
17
|
"tailwindcss": "^3.4.3",
|
|
18
18
|
"vite": "^6.3.5",
|
|
19
19
|
"vite-plugin-singlefile": "^2.0.1"
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"start": "editframe preview"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.31.
|
|
11
|
-
"@editframe/elements": "0.31.
|
|
12
|
-
"@editframe/vite-plugin": "0.31.
|
|
10
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
11
|
+
"@editframe/elements": "0.31.1-beta.0",
|
|
12
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
13
13
|
"tailwindcss": "^3.4.3",
|
|
14
14
|
"vite": "^6.3.5",
|
|
15
15
|
"vite-plugin-singlefile": "^2.0.1"
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"start": "editframe preview"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.31.
|
|
11
|
-
"@editframe/react": "0.31.
|
|
12
|
-
"@editframe/vite-plugin": "0.31.
|
|
10
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
11
|
+
"@editframe/react": "0.31.1-beta.0",
|
|
12
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
13
13
|
"@vitejs/plugin-react": "^4.3.1",
|
|
14
14
|
"tailwindcss": "^3.4.3",
|
|
15
15
|
"vite": "^6.3.5",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.31.
|
|
15
|
-
"@editframe/react": "0.31.
|
|
16
|
-
"@editframe/vite-plugin": "0.31.
|
|
14
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
15
|
+
"@editframe/react": "0.31.1-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
17
17
|
"@vitejs/plugin-react": "^4.3.1",
|
|
18
18
|
"tailwindcss": "^3.4.3",
|
|
19
19
|
"vite": "^6.3.5",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.31.
|
|
15
|
-
"@editframe/elements": "0.31.
|
|
16
|
-
"@editframe/vite-plugin": "0.31.
|
|
14
|
+
"@editframe/cli": "0.31.1-beta.0",
|
|
15
|
+
"@editframe/elements": "0.31.1-beta.0",
|
|
16
|
+
"@editframe/vite-plugin": "0.31.1-beta.0",
|
|
17
17
|
"tailwindcss": "^3.4.3",
|
|
18
18
|
"vite": "^6.3.5",
|
|
19
19
|
"vite-plugin-singlefile": "^2.0.1"
|
package/package.json
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en" class="h-screen w-full">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Editframe Project</title>
|
|
8
|
-
<script type="module" src="./src/index.js"></script>
|
|
9
|
-
<link rel="stylesheet" href="./src/styles.css" />
|
|
10
|
-
</head>
|
|
11
|
-
|
|
12
|
-
<body class="h-full w-full m-0 p-0 bg-slate-900">
|
|
13
|
-
<ef-timegroup workbench mode="sequence" class="w-[1920px] h-[1080px] bg-black relative overflow-hidden">
|
|
14
|
-
<!-- Add your composition here -->
|
|
15
|
-
<ef-timegroup mode="fixed" duration="5s" class="absolute w-full h-full flex items-center justify-center">
|
|
16
|
-
<ef-text duration="5s" class="text-white text-4xl">Your video starts here</ef-text>
|
|
17
|
-
</ef-timegroup>
|
|
18
|
-
</ef-timegroup>
|
|
19
|
-
</body>
|
|
20
|
-
|
|
21
|
-
</html>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "editframe-project",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "editframe preview"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.31.0-beta.0",
|
|
11
|
-
"@editframe/elements": "0.31.0-beta.0",
|
|
12
|
-
"@editframe/vite-plugin": "0.31.0-beta.0",
|
|
13
|
-
"tailwindcss": "^3.4.3",
|
|
14
|
-
"vite": "^6.3.5",
|
|
15
|
-
"vite-plugin-singlefile": "^2.0.1"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
File without changes
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { vitePluginEditframe } from "@editframe/vite-plugin";
|
|
3
|
-
import { defineConfig } from "vite";
|
|
4
|
-
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
5
|
-
|
|
6
|
-
export default defineConfig({
|
|
7
|
-
plugins: [
|
|
8
|
-
vitePluginEditframe({
|
|
9
|
-
root: path.join(__dirname, "src"),
|
|
10
|
-
cacheRoot: path.join(__dirname, "src", "assets"),
|
|
11
|
-
}),
|
|
12
|
-
viteSingleFile(),
|
|
13
|
-
],
|
|
14
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<title>Editframe Project</title>
|
|
8
|
-
<script type="module" src="./src/main.tsx"></script>
|
|
9
|
-
<link rel="stylesheet" href="./src/styles.css" />
|
|
10
|
-
</head>
|
|
11
|
-
|
|
12
|
-
<body>
|
|
13
|
-
<div id="root" class="w-full h-full"></div>
|
|
14
|
-
</body>
|
|
15
|
-
|
|
16
|
-
</html>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "editframe-project",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "editframe preview"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"@editframe/cli": "0.31.0-beta.0",
|
|
11
|
-
"@editframe/react": "0.31.0-beta.0",
|
|
12
|
-
"@editframe/vite-plugin": "0.31.0-beta.0",
|
|
13
|
-
"@vitejs/plugin-react": "^4.3.1",
|
|
14
|
-
"tailwindcss": "^3.4.3",
|
|
15
|
-
"vite": "^6.3.5",
|
|
16
|
-
"vite-plugin-singlefile": "^2.0.1",
|
|
17
|
-
"react": "^18.3.0",
|
|
18
|
-
"react-dom": "^18.3.0"
|
|
19
|
-
},
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@types/react": "^18.3.0",
|
|
22
|
-
"@types/react-dom": "^18.3.0"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Timegroup, Text } from "@editframe/react";
|
|
3
|
-
|
|
4
|
-
export const Video = () => {
|
|
5
|
-
return (
|
|
6
|
-
<Timegroup
|
|
7
|
-
workbench
|
|
8
|
-
className="w-[1920px] h-[1080px] bg-black flex items-center justify-center relative overflow-hidden"
|
|
9
|
-
mode="sequence"
|
|
10
|
-
>
|
|
11
|
-
{/* Add your composition here */}
|
|
12
|
-
<Timegroup mode="fixed" duration="5s" className="absolute w-full h-full flex items-center justify-center">
|
|
13
|
-
<Text duration="5s" className="text-white text-4xl">Your video starts here</Text>
|
|
14
|
-
</Timegroup>
|
|
15
|
-
</Timegroup>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import ReactDOM from "react-dom/client";
|
|
3
|
-
import { Video } from "./Video";
|
|
4
|
-
import "@editframe/elements/styles.css";
|
|
5
|
-
|
|
6
|
-
const root = document.getElementById("root");
|
|
7
|
-
if (!root) {
|
|
8
|
-
throw new Error("Root element not found");
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
ReactDOM.createRoot(root).render(<Video />);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { vitePluginEditframe } from "@editframe/vite-plugin";
|
|
3
|
-
import react from "@vitejs/plugin-react";
|
|
4
|
-
import { defineConfig } from "vite";
|
|
5
|
-
import { viteSingleFile } from "vite-plugin-singlefile";
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
plugins: [
|
|
9
|
-
vitePluginEditframe({
|
|
10
|
-
root: path.join(__dirname, "src"),
|
|
11
|
-
cacheRoot: path.join(__dirname, "src", "assets"),
|
|
12
|
-
}),
|
|
13
|
-
viteSingleFile(),
|
|
14
|
-
react(),
|
|
15
|
-
],
|
|
16
|
-
});
|