@tanstack/cta-engine 0.13.0 → 0.14.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.
@@ -222,12 +222,6 @@ export async function createApp(options, { silent = false, environment, cwd, app
222
222
  let targetDir = cwd || '';
223
223
  if (!targetDir.length) {
224
224
  targetDir = resolve(process.cwd(), options.projectName);
225
- if (environment.exists(targetDir)) {
226
- if (!silent) {
227
- log.error(`Directory "${options.projectName}" already exists`);
228
- }
229
- return;
230
- }
231
225
  }
232
226
  const copyFiles = createCopyFiles(environment, targetDir);
233
227
  const templateFileFromContent = createTemplateFile(environment, options.projectName, options, targetDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/cta-engine",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Tanstack Application Builder Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/create-app.ts CHANGED
@@ -335,13 +335,6 @@ export async function createApp(
335
335
  let targetDir: string = cwd || ''
336
336
  if (!targetDir.length) {
337
337
  targetDir = resolve(process.cwd(), options.projectName)
338
-
339
- if (environment.exists(targetDir)) {
340
- if (!silent) {
341
- log.error(`Directory "${options.projectName}" already exists`)
342
- }
343
- return
344
- }
345
338
  }
346
339
 
347
340
  const copyFiles = createCopyFiles(environment, targetDir)