slicejs-cli 1.0.38 → 1.0.39

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.
@@ -14,7 +14,8 @@ export default async function initializeProject(projectType) {
14
14
  }
15
15
 
16
16
  // Directorio de destino en la raíz del proyecto
17
- const destinationDir = path.join(__dirname, '../../../../Slice');
17
+ let srcDir = path.join(__dirname,'../../PROJECT_TEMPLATES/Basic/src' )
18
+
18
19
 
19
20
  // Verificar si el directorio de destino ya existe
20
21
  if (fs.existsSync(destinationDir)) {
@@ -24,6 +25,7 @@ export default async function initializeProject(projectType) {
24
25
 
25
26
  // Copiar el contenido del directorio de origen al directorio de destino
26
27
  await fs.copy(sliceDir, destinationDir, { recursive: true });
28
+ await fs.copy(srcDir, destinationDir, {recursive:true})
27
29
 
28
30
  Print.success('Proyecto inicializado correctamente.');
29
31
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-cli",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "Command client for developing web applications with Slice.js framework",
5
5
  "main": "client.js",
6
6
  "scripts": {