silgi 0.19.22 → 0.19.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.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/cli/types.mjs +3 -7
- 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
|
@@ -595,7 +595,6 @@ async function silgiGenerateType(silgi) {
|
|
|
595
595
|
/^(?=[^.])/,
|
|
596
596
|
"./"
|
|
597
597
|
),
|
|
598
|
-
silgi.options.preset === "npm-package" ? join(relativeWithDot(tsconfigDir, silgi.options.rootDir), "dist/moduleTypes.d.ts") : "",
|
|
599
598
|
join(relativeWithDot(tsconfigDir, silgi.options.rootDir), "**/*"),
|
|
600
599
|
...silgi.options.srcDir === silgi.options.rootDir ? [] : [join(relativeWithDot(tsconfigDir, silgi.options.srcDir), "**/*")]
|
|
601
600
|
]);
|
|
@@ -643,9 +642,9 @@ async function silgiGenerateType(silgi) {
|
|
|
643
642
|
module: "Preserve",
|
|
644
643
|
customConditions: silgi.options.typescript.customConditions,
|
|
645
644
|
paths: {
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
],
|
|
645
|
+
// '#silgiImports': [
|
|
646
|
+
// relativeWithDot(tsconfigDir, join(silgi.options.build.typesDir, 'silgi-imports')),
|
|
647
|
+
// ],
|
|
649
648
|
...silgi.scanModules.reduce((acc, m) => {
|
|
650
649
|
if (m.entryPath) {
|
|
651
650
|
acc[m.meta.name] = [relativeWithDot(tsconfigDir, m.entryPath)];
|
|
@@ -717,9 +716,6 @@ async function silgiGenerateType(silgi) {
|
|
|
717
716
|
);
|
|
718
717
|
}
|
|
719
718
|
const references = [];
|
|
720
|
-
if (silgi.options.preset === "npm-package") {
|
|
721
|
-
references.push({ types: relativeWithDot(tsconfigDir, join(silgi.options.rootDir, "dist/moduleTypes.d.ts")) });
|
|
722
|
-
}
|
|
723
719
|
await Promise.all([...silgi.options.modules, ...silgi.options._modules].map(async (id) => {
|
|
724
720
|
if (typeof id !== "string") {
|
|
725
721
|
return;
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED