silgi 0.7.5 → 0.7.7

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.5";
1
+ const version = "0.7.6";
2
2
  const packageJson = {
3
3
  version: version};
4
4
 
@@ -1209,10 +1209,10 @@ class SchemaParser {
1209
1209
  // if (!item?.declaration?.extends)
1210
1210
  // continue
1211
1211
  // for (const declaration of item?.declaration?.extends) {
1212
- // if (declaration.expression.name === 'SilgiModuleOptions') {
1212
+ // if (declaration.expression.name === 'ModuleOptions') {
1213
1213
  // data.export.push({
1214
1214
  // name: item.declaration.id.name,
1215
- // as: camelCase(`${data.name}SilgiModuleOptions`),
1215
+ // as: camelCase(`${data.name}ModuleOptions`),
1216
1216
  // type: true,
1217
1217
  // })
1218
1218
  // }
@@ -1468,8 +1468,6 @@ async function generateApp(app, options = {}) {
1468
1468
  for (const write of writes) {
1469
1469
  write();
1470
1470
  }
1471
- writeFileSync(resolve(app.options.silgi.serverDir, "index.ts"), `${indexImports.map((i) => `export * from '${i}'`).join("\n")}
1472
- `, "utf8");
1473
1471
  if (changedTemplates.length) {
1474
1472
  await app.callHook("app:templatesGenerated", app, changedTemplates, options);
1475
1473
  }
@@ -1,3 +1,3 @@
1
- const version = "0.7.5";
1
+ const version = "0.7.6";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "0.7.5";
1
+ const version = "0.7.6";
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.5",
4
+ "version": "0.7.7",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -175,8 +175,6 @@
175
175
  "zod": "^3.24.1"
176
176
  },
177
177
  "resolutions": {
178
- "@silgi/graphql": "workspace:^",
179
- "@silgi/module-builder": "workspace:^",
180
178
  "@silgi/openapi": "workspace:^",
181
179
  "@silgi/permission": "workspace:^",
182
180
  "@silgi/scalar": "workspace:^",