@editframe/create 0.20.3-beta.0 → 0.21.0-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/index.js CHANGED
@@ -31,8 +31,7 @@ async function main() {
31
31
  }]);
32
32
  const targetDir = path.join(process.cwd(), answers.directoryName);
33
33
  const templateDir = path.join(__dirname, "templates", answers.templateName);
34
- const exists = await checkDirectoryExists(targetDir);
35
- if (exists) {
34
+ if (await checkDirectoryExists(targetDir)) {
36
35
  process.stderr.write(chalk.yellow(`Directory ${targetDir} already exists.\n`));
37
36
  const { overwrite } = await prompts({
38
37
  type: "confirm",
@@ -56,3 +55,4 @@ async function main() {
56
55
  process.stderr.write("Happy hacking!\n");
57
56
  }
58
57
  main();
58
+ export {};
@@ -11,9 +11,9 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "@editframe/cli": "0.20.3-beta.0",
15
- "@editframe/elements": "0.20.3-beta.0",
16
- "@editframe/vite-plugin": "0.20.3-beta.0",
14
+ "@editframe/cli": "0.21.0-beta.0",
15
+ "@editframe/elements": "0.21.0-beta.0",
16
+ "@editframe/vite-plugin": "0.21.0-beta.0",
17
17
  "tailwindcss": "^3.4.3",
18
18
  "vite": "^6.3.5",
19
19
  "vite-plugin-singlefile": "^2.0.1"
@@ -11,9 +11,9 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "@editframe/cli": "0.20.3-beta.0",
15
- "@editframe/react": "0.20.3-beta.0",
16
- "@editframe/vite-plugin": "0.20.3-beta.0",
14
+ "@editframe/cli": "0.21.0-beta.0",
15
+ "@editframe/react": "0.21.0-beta.0",
16
+ "@editframe/vite-plugin": "0.21.0-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.20.3-beta.0",
15
- "@editframe/elements": "0.20.3-beta.0",
16
- "@editframe/vite-plugin": "0.20.3-beta.0",
14
+ "@editframe/cli": "0.21.0-beta.0",
15
+ "@editframe/elements": "0.21.0-beta.0",
16
+ "@editframe/vite-plugin": "0.21.0-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,6 +1,6 @@
1
1
  {
2
2
  "name": "@editframe/create",
3
- "version": "0.20.3-beta.0",
3
+ "version": "0.21.0-beta.0",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "create-editframe": "dist/index.js"