silgi 0.19.14 → 0.19.15
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/dist/_chunks/index.mjs +1 -1
- package/dist/cli/types.mjs +1 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/types.mjs
CHANGED
|
@@ -726,7 +726,7 @@ async function silgiGenerateType(silgi) {
|
|
|
726
726
|
);
|
|
727
727
|
}
|
|
728
728
|
const references = [];
|
|
729
|
-
const pkg = await readPackageJSON(silgi.options.rootDir);
|
|
729
|
+
const pkg = await readPackageJSON(resolve(silgi.options.rootDir, "package.json"));
|
|
730
730
|
if (pkg.name && silgi.options.preset === "npm-package") {
|
|
731
731
|
references.push({ types: pkg.name });
|
|
732
732
|
}
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED