dynamic-zone 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -12,9 +12,9 @@ if (basePath.includes("node_modules")) {
12
12
  }
13
13
 
14
14
  // Ensure src folder exists
15
- const srcPath = path.join(basePath, "src");
15
+ const srcPath = path.join(basePath, "app");
16
16
  if (!fs.existsSync(srcPath)) {
17
- console.log("⚠️ No src folder found. Please create a 'src' folder first.");
17
+ console.log("⚠️ No app folder found. Please create a 'app' folder first.");
18
18
  process.exit(0);
19
19
  }
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamic-zone",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Dynamic zone scaffolding for Next.js apps",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",