create-brainerce-store 1.27.5 → 1.27.6

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,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports2, module2) {
32
32
  module2.exports = {
33
33
  name: "create-brainerce-store",
34
- version: "1.27.5",
34
+ version: "1.27.6",
35
35
  description: "Scaffold a production-ready e-commerce storefront connected to Brainerce",
36
36
  bin: {
37
37
  "create-brainerce-store": "dist/index.js"
@@ -355,20 +355,11 @@ async function scaffold(options) {
355
355
  const appDir = import_path.default.join(targetDir, "src", "app");
356
356
  const localeDir = import_path.default.join(appDir, "[locale]");
357
357
  await import_fs_extra.default.ensureDir(localeDir);
358
- const keepInAppRoot = /* @__PURE__ */ new Set([
359
- "globals.css",
360
- "robots.ts",
361
- "sitemap.ts",
362
- "api",
363
- ".well-known"
364
- ]);
358
+ const keepInAppRoot = /* @__PURE__ */ new Set(["globals.css", "robots.ts", "sitemap.ts", "api", ".well-known"]);
365
359
  const appEntries = await import_fs_extra.default.readdir(appDir, { withFileTypes: true });
366
360
  for (const entry of appEntries) {
367
361
  if (keepInAppRoot.has(entry.name) || entry.name === "[locale]") continue;
368
- await import_fs_extra.default.move(
369
- import_path.default.join(appDir, entry.name),
370
- import_path.default.join(localeDir, entry.name)
371
- );
362
+ await import_fs_extra.default.move(import_path.default.join(appDir, entry.name), import_path.default.join(localeDir, entry.name));
372
363
  }
373
364
  }
374
365
  if (await import_fs_extra.default.pathExists(themeDir)) {