thecore-auth 0.0.22 → 0.0.23

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 +3 -2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "thecore-auth",
3
3
  "private": false,
4
- "version": "0.0.22",
4
+ "version": "0.0.23",
5
5
  "type": "module",
6
6
  "main": "dist/thecore-auth.cjs.js",
7
7
  "module": "dist/thecore-auth.esm.js",
package/postinstall.js CHANGED
@@ -6,11 +6,12 @@ import path from "path";
6
6
  const __filename = fileURLToPath(import.meta.url);
7
7
  const __dirname = path.dirname(__filename);
8
8
 
9
- // Percorso corretto dello script
10
- const scriptPath = path.join(__dirname, "check-peer-dependencies.js");
9
+ // Percorso corretto dello script (aggiungendo "scripts/")
10
+ const scriptPath = path.join(__dirname, "scripts", "check-peer-dependencies.js");
11
11
 
12
12
  try {
13
13
  console.log("📌 Eseguendo check-peer-dependencies.js...");
14
+ console.log("📂 Percorso dello script:", scriptPath); // Debug
14
15
  execSync(`node ${scriptPath}`, { stdio: "inherit" });
15
16
  console.log("✅ check-peer-dependencies.js eseguito con successo!");
16
17
  } catch (error) {