@silgi/module-builder 0.2.0 → 0.2.1

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.
@@ -15,7 +15,7 @@ import { pkgDir } from 'silgi/runtime/meta';
15
15
  import { parse } from 'tsconfck';
16
16
  import { convertCompilerOptionsFromJson } from 'typescript';
17
17
  import { scanExports } from 'unimport';
18
- import { v as version, n as name } from '../shared/silgi-module-builder.Cwe-QusA.mjs';
18
+ import { v as version, n as name } from '../shared/silgi-module-builder.9BS10jZA.mjs';
19
19
 
20
20
  const srcDir = fileURLToPath(new URL("src", import.meta.url));
21
21
  const subpaths = [
@@ -301,11 +301,11 @@ async function writeTypes(options, isStub, _moduleMeta) {
301
301
  }
302
302
  if (hasTypeExport("ModuleOptions")) {
303
303
  moduleImports.push("ModuleOptions");
304
- schemaShims.push(` interface SilgiModuleOptions extends ModuleOptions }`);
304
+ schemaShims.push(` interface SilgiModuleOptions extends ModuleOptions {}`);
305
305
  }
306
306
  if (hasTypeExport("ModuleRuntimeOptions")) {
307
307
  moduleImports.push("ModuleRuntimeOptions");
308
- schemaShims.push(` interface SilgiRuntimeOptions extends ModuleRuntimeOptions }`);
308
+ schemaShims.push(` interface SilgiRuntimeOptions extends ModuleRuntimeOptions {}`);
309
309
  }
310
310
  if (hasTypeExport("ModuleRuntimeShareds")) {
311
311
  moduleImports.push("ModuleRuntimeShareds");
@@ -329,7 +329,7 @@ async function writeTypes(options, isStub, _moduleMeta) {
329
329
  }
330
330
  if (hasTypeExport("ModuleRuntimeActions")) {
331
331
  moduleImports.push("ModuleRuntimeActions");
332
- schemaShims.push(` interface SilgiRuntimeActions extends ModuleRuntimeActions }`);
332
+ schemaShims.push(` interface SilgiRuntimeActions extends ModuleRuntimeActions {}`);
333
333
  }
334
334
  if (hasTypeExport("ModuleRuntimeMethods")) {
335
335
  moduleImports.push("ModuleRuntimeMethods");
@@ -337,11 +337,11 @@ async function writeTypes(options, isStub, _moduleMeta) {
337
337
  }
338
338
  if (hasTypeExport("ModuleRuntimeRouteRules")) {
339
339
  moduleImports.push("ModuleRuntimeRouteRules");
340
- schemaShims.push(` interface SilgiRuntimeRouteRules extends ModuleRuntimeRouteRules }`);
340
+ schemaShims.push(` interface SilgiRuntimeRouteRules extends ModuleRuntimeRouteRules {}`);
341
341
  }
342
342
  if (hasTypeExport("ModuleRuntimeRouteRulesConfig")) {
343
343
  moduleImports.push("ModuleRuntimeRouteRulesConfig");
344
- schemaShims.push(` interface SilgiRuntimeRouteRulesConfig extends ModuleRuntimeRouteRulesConfig }`);
344
+ schemaShims.push(` interface SilgiRuntimeRouteRulesConfig extends ModuleRuntimeRouteRulesConfig {}`);
345
345
  }
346
346
  const dtsContents = `${`
347
347
  ${schemaImports.length ? `import type { ${schemaImports.join(", ")} } from 'silgi/types'` : ""}
package/dist/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
  import { consola } from 'consola';
4
- import { v as version, d as description, n as name } from './shared/silgi-module-builder.Cwe-QusA.mjs';
4
+ import { v as version, d as description, n as name } from './shared/silgi-module-builder.9BS10jZA.mjs';
5
5
 
6
6
  const _rDefault = (r) => r && typeof r === "object" && "default" in r ? r.default : r;
7
7
  const main = defineCommand({
package/dist/index.mjs CHANGED
@@ -16,4 +16,4 @@ import 'silgi/runtime/meta';
16
16
  import 'tsconfck';
17
17
  import 'typescript';
18
18
  import 'unimport';
19
- import './shared/silgi-module-builder.Cwe-QusA.mjs';
19
+ import './shared/silgi-module-builder.9BS10jZA.mjs';
@@ -1,5 +1,5 @@
1
1
  const name = "@silgi/module-builder";
2
- const version = "0.2.0";
2
+ const version = "0.2.1";
3
3
  const description = "Complete solution for building Silgi modules";
4
4
 
5
5
  export { description as d, name as n, version as v };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@silgi/module-builder",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "private": false,
6
6
  "description": "Complete solution for building Silgi modules",
7
7
  "exports": {