@editframe/create 0.6.0-beta.10 → 0.6.0-beta.9
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/package.json +1 -1
- package/dist/index.cjs +0 -16
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -14
- package/dist/project-template/index.html +0 -31
- package/dist/project-template/package.json +0 -21
- package/dist/project-template/src/assets/.gitkeep +0 -0
- package/dist/project-template/src/assets/bars-n-tone.mp4 +0 -0
- package/dist/project-template/src/assets/editframe.png +0 -0
- package/dist/project-template/src/index.js +0 -2
- package/dist/project-template/src/styles.css +0 -30
- package/dist/project-template/tailwind.config.js +0 -8
package/package.json
CHANGED
package/dist/index.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
const promises = require("node:fs/promises");
|
|
4
|
-
const path = require("node:path");
|
|
5
|
-
var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
|
|
6
|
-
async function main() {
|
|
7
|
-
console.log("Creating elements project...");
|
|
8
|
-
console.log(
|
|
9
|
-
"Copying template files into current directory...",
|
|
10
|
-
process.cwd()
|
|
11
|
-
);
|
|
12
|
-
const __dirname = path.dirname(new URL(typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("index.cjs", document.baseURI).href).pathname);
|
|
13
|
-
const templateDir = path.join(__dirname, "project-template");
|
|
14
|
-
await promises.cp(templateDir, process.cwd(), { recursive: true });
|
|
15
|
-
}
|
|
16
|
-
main();
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { cp } from "node:fs/promises";
|
|
3
|
-
import path from "node:path";
|
|
4
|
-
async function main() {
|
|
5
|
-
console.log("Creating elements project...");
|
|
6
|
-
console.log(
|
|
7
|
-
"Copying template files into current directory...",
|
|
8
|
-
process.cwd()
|
|
9
|
-
);
|
|
10
|
-
const __dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
11
|
-
const templateDir = path.join(__dirname, "project-template");
|
|
12
|
-
await cp(templateDir, process.cwd(), { recursive: true });
|
|
13
|
-
}
|
|
14
|
-
main();
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<script type="module" src="./src/index.js"></script>
|
|
6
|
-
<link rel="stylesheet" href="./src/styles.css" />
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<ef-timegroup
|
|
10
|
-
mode="sequence"
|
|
11
|
-
class="w-[500px] h-[500px] bg-slate-500 relative overflow-hidden"
|
|
12
|
-
>
|
|
13
|
-
<ef-timegroup
|
|
14
|
-
mode="fixed"
|
|
15
|
-
duration="5s"
|
|
16
|
-
class="flex items-center flex-col pt-24"
|
|
17
|
-
>
|
|
18
|
-
<ef-image class="w=[200px]" src="/assets/editframe.png"></ef-image>
|
|
19
|
-
<h1 class="text-2xl p-2 text-blue-100">Welcome to Editframe!</h1>
|
|
20
|
-
</ef-timegroup>
|
|
21
|
-
<ef-timegroup mode="contain" class="flex items-center flex-col pt-24">
|
|
22
|
-
<ef-image class="w=[200px]" src="/assets/editframe.png"></ef-image>
|
|
23
|
-
<h1 class="text-2xl p-2 text-blue-100">Welcome to Editframe!</h1>
|
|
24
|
-
<ef-video
|
|
25
|
-
src="/assets/bars-n-tone.mp4"
|
|
26
|
-
style="animation: 4s slide-up, 2s fade-in, 2s spin 6s"
|
|
27
|
-
></ef-video>
|
|
28
|
-
</ef-timegroup>
|
|
29
|
-
</ef-timegroup>
|
|
30
|
-
</body>
|
|
31
|
-
</html>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "card-demo",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [],
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@editframe/cli": "0.6.0-beta.10",
|
|
15
|
-
"@editframe/elements": "0.6.0-beta.10",
|
|
16
|
-
"@editframe/vite-plugin": "0.6.0-beta.10",
|
|
17
|
-
"tailwindcss": "^3.4.3",
|
|
18
|
-
"vite": "^5.2.11",
|
|
19
|
-
"vite-plugin-singlefile": "^2.0.1"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@tailwind base;
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@keyframes slide-up {
|
|
6
|
-
from {
|
|
7
|
-
transform: translateY(100%);
|
|
8
|
-
}
|
|
9
|
-
to {
|
|
10
|
-
transform: translateY(0);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@keyframes fade-in {
|
|
15
|
-
from {
|
|
16
|
-
opacity: 0;
|
|
17
|
-
}
|
|
18
|
-
to {
|
|
19
|
-
opacity: 1;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@keyframes spin {
|
|
24
|
-
from {
|
|
25
|
-
transform: rotate(0deg);
|
|
26
|
-
}
|
|
27
|
-
to {
|
|
28
|
-
transform: rotate(360deg);
|
|
29
|
-
}
|
|
30
|
-
}
|