silgi 0.7.32 → 0.7.34
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
|
@@ -303,7 +303,6 @@ async function resolvePathOptions(options) {
|
|
|
303
303
|
throw new Error("Package name is undefined");
|
|
304
304
|
}
|
|
305
305
|
options.alias ||= {};
|
|
306
|
-
options.alias[packageJson.name] = join(options.rootDir, "src/module.ts");
|
|
307
306
|
options.alias[`${packageJson.name}/runtime/`] = join(options.rootDir, "src/runtime/");
|
|
308
307
|
}
|
|
309
308
|
if (options.stub) {
|
|
@@ -634,6 +633,7 @@ async function silgiGenerateType(silgi) {
|
|
|
634
633
|
if (m.entryPath) {
|
|
635
634
|
const directory = getDirectory(m.entryPath);
|
|
636
635
|
acc[`${m.meta.name}/*`] = [`${relativeWithDot(tsconfigDir, directory)}/*`];
|
|
636
|
+
acc[`${m.meta.name}/types`] = [`${relativeWithDot(tsconfigDir, join(directory, "types"))}`];
|
|
637
637
|
}
|
|
638
638
|
return acc;
|
|
639
639
|
}, {})
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED