slicejs-cli 1.0.15 → 1.0.17
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/package.json +1 -1
- package/post.js +1 -1
package/package.json
CHANGED
package/post.js
CHANGED
|
@@ -6,7 +6,7 @@ import path from 'path';
|
|
|
6
6
|
const __filename = fileURLToPath(import.meta.url);
|
|
7
7
|
const __dirname = path.dirname(__filename);
|
|
8
8
|
// Retrocede un directorio desde __dirname para llegar al directorio principal del proyecto
|
|
9
|
-
const projectPackageJsonPath = path.resolve(__dirname, '
|
|
9
|
+
const projectPackageJsonPath = path.resolve(__dirname, '../../package.json');
|
|
10
10
|
|
|
11
11
|
// Lee el contenido del package.json del proyecto
|
|
12
12
|
fs.promises.readFile(projectPackageJsonPath, 'utf8')
|