@hasna/hooks 0.2.1 → 0.2.2
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/bin/index.js +2 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -5457,7 +5457,8 @@ init_registry();
|
|
|
5457
5457
|
init_installer();
|
|
5458
5458
|
import { jsxDEV as jsxDEV8 } from "react/jsx-dev-runtime";
|
|
5459
5459
|
var __dirname4 = dirname3(fileURLToPath3(import.meta.url));
|
|
5460
|
-
var
|
|
5460
|
+
var pkgPath = existsSync3(join3(__dirname4, "..", "package.json")) ? join3(__dirname4, "..", "package.json") : join3(__dirname4, "..", "..", "package.json");
|
|
5461
|
+
var pkg2 = JSON.parse(readFileSync3(pkgPath, "utf-8"));
|
|
5461
5462
|
var program2 = new Command;
|
|
5462
5463
|
function resolveScope(options) {
|
|
5463
5464
|
if (options.project)
|
package/package.json
CHANGED