slicejs-cli 1.0.0 → 1.0.1
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/postInstall.js +1 -1
package/package.json
CHANGED
package/postInstall.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
|
|
3
3
|
// Ruta al package.json del proyecto que está instalando tu paquete
|
|
4
|
-
const projectPackageJsonPath = './node_modules
|
|
4
|
+
const projectPackageJsonPath = './node_modules/package.json';
|
|
5
5
|
|
|
6
6
|
// Lee el contenido del package.json del proyecto
|
|
7
7
|
fs.promises.readFile(projectPackageJsonPath, 'utf8')
|