silgi 0.38.7 → 0.38.9

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,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.38.7";
4
+ const version = "0.38.9";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -110,7 +110,6 @@ const SilgiCLIDefaults = {
110
110
  },
111
111
  // Advanced
112
112
  typescript: {
113
- strict: false,
114
113
  generateTsConfig: true,
115
114
  // generateRuntimeConfigTypes: true,
116
115
  tsconfigPath: ".silgi/types/silgi.tsconfig.json",
@@ -74,8 +74,7 @@ async function silgiGenerateType(silgi) {
74
74
  moduleDetection: "force",
75
75
  isolatedModules: true,
76
76
  verbatimModuleSyntax: true,
77
- /* Strictness */
78
- strict: silgi.options.typescript.strict,
77
+ strict: true,
79
78
  noUncheckedIndexedAccess: true,
80
79
  noImplicitOverride: true,
81
80
  forceConsistentCasingInFileNames: true,
@@ -576,7 +576,7 @@ type ModuleHookContext = Readonly<{
576
576
  success?: boolean;
577
577
  cached?: boolean;
578
578
  }> & {
579
- hookContext?: {
579
+ hookContext: {
580
580
  earlyReturnValue: any | false;
581
581
  };
582
582
  };
@@ -1121,12 +1121,6 @@ interface SilgiCLIOptions extends PresetOptions {
1121
1121
  typescriptBundlerResolution: boolean;
1122
1122
  };
1123
1123
  typescript: {
1124
- /**
1125
- * TypeScript comes with certain checks to give you more safety and analysis of your program. Once you’ve converted your codebase to TypeScript, you can start enabling these checks for greater safety. [Read More](https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html#getting-stricter-checks)
1126
- *
1127
- * @default true
1128
- */
1129
- strict: boolean;
1130
1124
  /**
1131
1125
  * Modules to generate deep aliases for within `compilerOptions.paths`. This does not yet support subpaths. It may be necessary when using Nuxt within a pnpm monorepo with `shamefully-hoist=false`.
1132
1126
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.38.7",
4
+ "version": "0.38.9",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {