slicejs-cli 1.0.10 → 1.0.12

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/package.json +1 -1
  2. package/postInstall.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slicejs-cli",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Command client for developing web applications with Slice.js",
5
5
  "main": "client.js",
6
6
  "scripts": {
package/postInstall.js CHANGED
@@ -5,7 +5,7 @@ console.log("prueba")
5
5
  const __dirname = path.dirname(new URL(import.meta.url).pathname);
6
6
 
7
7
  // Retrocede un directorio desde __dirname para llegar al directorio principal del proyecto
8
- const projectPackageJsonPath = path.resolve(__dirname, '../../../package.json');
8
+ const projectPackageJsonPath = path.resolve(__dirname, 'package.json');
9
9
 
10
10
  // Lee el contenido del package.json del proyecto
11
11
  fs.promises.readFile(projectPackageJsonPath, 'utf8')