silgi 0.7.34 → 0.7.35
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,6 +303,7 @@ 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");
|
|
306
307
|
options.alias[`${packageJson.name}/runtime/`] = join(options.rootDir, "src/runtime/");
|
|
307
308
|
}
|
|
308
309
|
if (options.stub) {
|
|
@@ -633,7 +634,6 @@ async function silgiGenerateType(silgi) {
|
|
|
633
634
|
if (m.entryPath) {
|
|
634
635
|
const directory = getDirectory(m.entryPath);
|
|
635
636
|
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