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.
@@ -1,4 +1,4 @@
1
- const version = "0.7.34";
1
+ const version = "0.7.35";
2
2
  const packageJson = {
3
3
  version: version};
4
4
 
@@ -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
  }, {})
@@ -1,3 +1,3 @@
1
- const version = "0.7.34";
1
+ const version = "0.7.35";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "0.7.34";
1
+ const version = "0.7.35";
2
2
 
3
3
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.7.34",
4
+ "version": "0.7.35",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {