limina 0.0.5 → 0.0.6

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/config.d.ts CHANGED
@@ -83,15 +83,11 @@ interface ResolvedCheckerConfig {
83
83
  * through generated code, runtime strings, or another path that Knip
84
84
  * dependency analysis cannot see.
85
85
  */
86
- interface SourceUnusedDependencyIgnoreEntry {
87
- /**
88
- * Importing package name from package.json.
89
- */
90
- importer: string;
86
+ interface SourceKnipIgnoredDependencyConfig {
91
87
  /**
92
88
  * Declared workspace dependency package name.
93
89
  */
94
- dependency: string;
90
+ dep: string;
95
91
  /**
96
92
  * Why the dependency is safe to keep even when Knip cannot prove it is
97
93
  * reachable from package entries, binaries, or scripts.
@@ -99,24 +95,10 @@ interface SourceUnusedDependencyIgnoreEntry {
99
95
  reason: string;
100
96
  }
101
97
  /**
102
- * Source dependency usage settings.
103
- */
104
- interface SourceUnusedDependenciesConfig {
105
- /**
106
- * Declared workspace dependencies intentionally not visible through Knip's
107
- * entry-reachable dependency graph.
108
- */
109
- ignore?: SourceUnusedDependencyIgnoreEntry[];
110
- }
111
- /**
112
98
  * Explicit exception for a source module that is owned by a package but is
113
99
  * intentionally not reachable from Knip's package entry graph.
114
100
  */
115
- interface SourceUnusedModuleIgnoreEntry {
116
- /**
117
- * Named package owner from package.json.
118
- */
119
- owner: string;
101
+ interface SourceKnipIgnoredFileConfig {
120
102
  /**
121
103
  * Workspace-root-relative source module path.
122
104
  */
@@ -128,55 +110,106 @@ interface SourceUnusedModuleIgnoreEntry {
128
110
  reason: string;
129
111
  }
130
112
  /**
131
- * Additional source module entries for Knip's strict-mode reachability graph.
113
+ * Additional source module entries for Knip's source reachability graph.
114
+ *
115
+ * Default entries come from package exports, package binaries, package scripts,
116
+ * and Knip-supported plugin entries. Packages without package.json#exports are
117
+ * treated as application-style owners: Limina provides the full governed source
118
+ * module set as the entry surface and skips unused-file coverage for that
119
+ * package. Use this only for extra entry modules loaded by test runners, local
120
+ * tools, or build steps that should not become package exports.
132
121
  */
133
- interface SourceUnusedModuleEntryConfig {
122
+ interface SourceKnipEntryConfig {
123
+ /**
124
+ * Workspace-root-relative file or glob patterns that Knip should treat as
125
+ * additional entries for the keyed package.
126
+ */
127
+ files: string[];
128
+ /**
129
+ * Why these modules are legitimate entries even though they are not package
130
+ * exports, binaries, scripts, or plugin-discovered entries.
131
+ */
132
+ reason: string;
133
+ }
134
+ /**
135
+ * Explicit exception for a source module whose nearest bare tsconfig.json
136
+ * cannot identify a unique ordinary typecheck owner.
137
+ */
138
+ interface SourceTsconfigOwnershipIgnoreEntry {
134
139
  /**
135
140
  * Named package owner from package.json.
136
141
  */
137
142
  owner: string;
138
143
  /**
139
- * Workspace-root-relative file or glob patterns that Knip should treat as
140
- * additional entries for this owner.
144
+ * Workspace-root-relative file or glob patterns inside the owner package.
141
145
  */
142
146
  files: string[];
143
147
  /**
144
- * Why these modules are legitimate entries even though they are not package
145
- * exports, binaries, scripts, or plugin-discovered entries.
148
+ * Why these modules may skip nearest-tsconfig ownership enforcement.
146
149
  */
147
150
  reason: string;
148
151
  }
149
152
  /**
150
- * Source module usage settings.
153
+ * Nearest bare tsconfig ownership settings.
154
+ */
155
+ interface SourceTsconfigOwnershipConfig {
156
+ /**
157
+ * Package-owned source modules intentionally exempted from nearest bare
158
+ * tsconfig ownership enforcement.
159
+ */
160
+ ignore?: SourceTsconfigOwnershipIgnoreEntry[];
161
+ }
162
+ /**
163
+ * Package-level Knip source analysis config interpreted by Limina.
151
164
  */
152
- interface SourceUnusedModulesConfig {
165
+ interface SourceKnipWorkspaceConfig {
153
166
  /**
154
- * Additional entry globs for source modules loaded by test runners or local
155
- * tooling rather than package exports.
167
+ * Additional package-owned source modules Knip should treat as reachable
168
+ * roots. Limina disables Knip's implicit index/main/cli entry guessing by
169
+ * default; package manifest entries, scripts, plugin-discovered entries, and
170
+ * Limina virtual entries remain enabled.
156
171
  */
157
- entries?: SourceUnusedModuleEntryConfig[];
172
+ entry?: SourceKnipEntryConfig[];
173
+ /**
174
+ * Declared workspace dependencies intentionally not visible through Knip's
175
+ * entry-reachable dependency graph.
176
+ */
177
+ ignoreDependencies?: SourceKnipIgnoredDependencyConfig[];
158
178
  /**
159
179
  * Package-owned source modules intentionally not visible through Knip's
160
180
  * entry-reachable file graph.
161
181
  */
162
- ignore?: SourceUnusedModuleIgnoreEntry[];
182
+ ignoreFiles?: SourceKnipIgnoredFileConfig[];
183
+ }
184
+ /**
185
+ * Knip-backed source analysis config interpreted by Limina.
186
+ */
187
+ interface SourceKnipCheckConfig {
188
+ /**
189
+ * Package-specific Knip source analysis config keyed by workspace package
190
+ * name, such as "@example/app". Unknown package names fail source checks.
191
+ */
192
+ workspaces?: Record<string, SourceKnipWorkspaceConfig>;
163
193
  }
164
194
  /**
165
195
  * Source-owned dependency usage check settings.
166
196
  */
167
197
  interface SourceCheckConfig {
168
198
  /**
169
- * Checks that workspace package dependencies declared in package.json are
170
- * reachable from package entries, binaries, or scripts owned by that package.
199
+ * Knip-backed unused dependency and unused source module analysis.
200
+ *
201
+ * `true` or omitted uses Limina's generated default config, `false` skips
202
+ * these Knip-backed checks, and an object configures Limina's semantic Knip
203
+ * source rules by workspace package name.
204
+ *
205
+ * @default true
171
206
  */
172
- unusedDependencies?: SourceUnusedDependenciesConfig;
207
+ knip?: boolean | SourceKnipCheckConfig;
173
208
  /**
174
- * Strict-mode exceptions for package-owned source modules that are not
175
- * reachable from package entries, binaries, or scripts owned by that package.
176
- *
177
- * There is no enabled switch: strict: true enables unused module checks.
209
+ * Exceptions for source modules whose nearest bare tsconfig.json cannot
210
+ * resolve a unique ordinary typecheck owner.
178
211
  */
179
- unusedModules?: SourceUnusedModulesConfig;
212
+ tsconfigOwnership?: SourceTsconfigOwnershipConfig;
180
213
  }
181
214
  /**
182
215
  * Global source boundary used by proof checks.
@@ -185,35 +218,38 @@ interface SourceBoundaryConfig {
185
218
  /**
186
219
  * Glob patterns for source files that Limina should govern.
187
220
  *
188
- * When omitted, Limina derives the source boundary from configured checker
189
- * extensions and then applies `exclude`.
221
+ * When omitted, Limina uses TypeScript/JSON source defaults and adds
222
+ * framework extensions from configured checkers, such as `.vue` or
223
+ * `.svelte`.
190
224
  */
191
225
  include?: string[];
192
226
  /**
193
227
  * Glob patterns or directory shorthands to omit from source governance.
194
228
  *
229
+ * When omitted, Limina reads the workspace root `.gitignore` and combines it
230
+ * with the built-in excludes below.
231
+ *
195
232
  * @default: [
196
- * "node_modules",
233
+ * "nx.json",
234
+ * "project.json",
235
+ * "tsconfig.json",
236
+ * "**\/tsconfig.*.json",
197
237
  * "dist",
238
+ * ".nx",
198
239
  * ".git",
199
240
  * ".tsbuild",
200
241
  * "coverage",
201
- * "**\/tsconfig*.json",
202
- * "**\/package.json",
203
- * "**\/project.json",
204
- * ".prettierrc.json",
205
- * ".markdownlint.json",
206
- * "vercel.json",
242
+ * "node_modules",
207
243
  * ]
208
244
  */
209
245
  exclude?: string[];
210
246
  }
211
247
  /**
212
- * Shared project facts used by graph, paths, proof, and related checks.
248
+ * Shared project facts used by graph, proof, and related checks.
213
249
  */
214
250
  interface SharedLiminaConfig {
215
251
  /**
216
- * Checker capabilities shared by graph, proof, paths, and tsc tasks.
252
+ * Checker capabilities shared by graph, proof, and tsc tasks.
217
253
  */
218
254
  checkers?: Record<string, CheckerConfig>;
219
255
  /**
@@ -222,39 +258,6 @@ interface SharedLiminaConfig {
222
258
  source?: SourceBoundaryConfig;
223
259
  }
224
260
  /**
225
- * Options for generated TypeScript `paths` compatibility files.
226
- */
227
- interface PathsConfig {
228
- /**
229
- * Directory names treated as build artifacts when mapping package exports
230
- * back to source files.
231
- */
232
- artifactDirectories?: string[];
233
- /**
234
- * Export condition priority when resolving package exports.
235
- *
236
- * Put more specific conditions earlier when your package exports use several
237
- * entries such as `types`, `import`, `node`, or `default`.
238
- */
239
- conditionPriority?: string[];
240
- /**
241
- * File name used for generated path mapping configs.
242
- *
243
- * @default "tsconfig.dts.paths.generated.json"
244
- */
245
- generatedFileName?: string;
246
- /**
247
- * Header marker written into generated files.
248
- *
249
- * Limina uses this to know which files it is allowed to refresh.
250
- */
251
- generatedFileMarker?: string;
252
- /**
253
- * Source extensions tried when replacing artifact exports with source files.
254
- */
255
- sourceExtensions?: string[];
256
- }
257
- /**
258
261
  * Declaration leaf boundary denied to projects with a matching Limina label.
259
262
  */
260
263
  interface GraphRuleRefDenyEntry {
@@ -338,7 +341,26 @@ interface GraphRule {
338
341
  /**
339
342
  * TypeScript project graph policy.
340
343
  */
344
+ interface GraphConditionDomain {
345
+ /**
346
+ * Human-readable domain name used in graph check reports.
347
+ */
348
+ name: string;
349
+ /**
350
+ * Domain entry `tsconfig*.dts.json` path, relative to the inferred workspace root.
351
+ */
352
+ entry: string;
353
+ /**
354
+ * Bundler/package condition names expected for this declaration reference tree.
355
+ */
356
+ customConditions: string[];
357
+ }
341
358
  interface GraphConfig {
359
+ /**
360
+ * Real declaration resolution domains whose project references should share
361
+ * the configured custom conditions.
362
+ */
363
+ conditionDomains?: GraphConditionDomain[];
342
364
  /**
343
365
  * Label-based package and build-boundary access rules.
344
366
  *
@@ -385,7 +407,12 @@ type PackageAttwProfile = "esm-only" | "node16" | "strict";
385
407
  /**
386
408
  * publint package check settings.
387
409
  */
410
+ type PackagePublintLevel = "error" | "suggestion" | "warning";
388
411
  interface PackagePublintCheckConfig {
412
+ /**
413
+ * Minimum publint message level to report.
414
+ */
415
+ level?: PackagePublintLevel;
389
416
  /**
390
417
  * Whether publint should run in strict mode.
391
418
  *
@@ -396,7 +423,36 @@ interface PackagePublintCheckConfig {
396
423
  /**
397
424
  * Are The Types Wrong package check settings.
398
425
  */
426
+ type PackageAttwLevel = "error" | "warn";
427
+ type PackageAttwIgnoreRule = "cjs-only-exports-default" | "cjs-resolves-to-esm" | "fallback-condition" | "false-cjs" | "false-esm" | "false-export-default" | "internal-resolution-error" | "missing-export-equals" | "named-exports" | "no-resolution" | "unexpected-module-syntax" | "untyped-resolution" | (string & {});
399
428
  interface PackageAttwCheckConfig {
429
+ /**
430
+ * Exhaustive list of package entrypoints to check. The package root is ".".
431
+ */
432
+ entrypoints?: string[];
433
+ /**
434
+ * Whether ATTW should consider all published files as entrypoints when no
435
+ * other entrypoints are detected or configured.
436
+ */
437
+ entrypointsLegacy?: boolean;
438
+ /**
439
+ * Entrypoints to exclude from checking.
440
+ */
441
+ excludeEntrypoints?: (string | RegExp)[];
442
+ /**
443
+ * Problem rule names to ignore.
444
+ */
445
+ ignoreRules?: PackageAttwIgnoreRule[];
446
+ /**
447
+ * Entrypoints to check in addition to automatically discovered ones.
448
+ */
449
+ includeEntrypoints?: string[];
450
+ /**
451
+ * Whether ATTW findings fail the package check or are logged as warnings.
452
+ *
453
+ * @default "error"
454
+ */
455
+ level?: PackageAttwLevel;
400
456
  /**
401
457
  * Problem profile to enforce.
402
458
  *
@@ -444,11 +500,11 @@ interface PackageEntry {
444
500
  /**
445
501
  * publint settings for this package output.
446
502
  */
447
- publint?: PackagePublintCheckConfig;
503
+ publint?: boolean | PackagePublintCheckConfig;
448
504
  /**
449
505
  * Are The Types Wrong settings for this package output.
450
506
  */
451
- attw?: PackageAttwCheckConfig;
507
+ attw?: boolean | PackageAttwCheckConfig;
452
508
  /**
453
509
  * Built package import boundary settings.
454
510
  */
@@ -532,10 +588,6 @@ interface LiminaConfig {
532
588
  */
533
589
  package?: PackageConfig;
534
590
  /**
535
- * Options for generating TypeScript source `paths` compatibility files.
536
- */
537
- paths?: PathsConfig;
538
- /**
539
591
  * Named command pipelines runnable through `limina check <name>`.
540
592
  */
541
593
  pipelines?: Record<string, PipelineStep[]>;
@@ -555,13 +607,13 @@ interface LiminaConfig {
555
607
  /**
556
608
  * CLI command currently loading the config.
557
609
  */
558
- type LiminaCommand = "check" | "graph" | "nx" | "package" | "paths" | "proof" | "release" | "source" | (string & {});
610
+ type LiminaCommand = "check" | "graph" | "nx" | "package" | "proof" | "release" | "source" | (string & {});
559
611
  /**
560
612
  * Environment passed to function-style configs.
561
613
  */
562
614
  interface LiminaConfigEnv {
563
615
  /**
564
- * CLI command family, such as `check`, `graph`, or `paths`.
616
+ * CLI command family, such as `check`, `graph`, or `package`.
565
617
  */
566
618
  command: LiminaCommand;
567
619
  /**
@@ -628,4 +680,4 @@ interface LoadConfigOptions {
628
680
  }
629
681
  declare function loadConfig(options?: LoadConfigOptions): Promise<ResolvedLiminaConfig>;
630
682
  //#endregion
631
- export { BuiltinCheckerPreset, BuiltinTaskName, CheckerConfig, CheckerExecutionKind, CheckerPreset, GraphConfig, GraphRule, GraphRuleAllowConfig, GraphRuleDenyConfig, GraphRuleDepDenyEntry, GraphRuleRefAllowEntry, GraphRuleRefDenyEntry, LiminaCommand, LiminaConfig, LiminaConfigEnv, LiminaConfigExport, LiminaConfigFn, LiminaConfigFnObject, LiminaConfigFnPromise, LoadConfigOptions, PackageAttwCheckConfig, PackageAttwProfile, PackageBoundaryCheckConfig, PackageCheckTool, PackageCheckToolSelection, PackageConfig, PackageEntry, PackagePublintCheckConfig, PathsConfig, PipelineStep, ProofAllowlistEntry, ProofConfig, ReleaseConfig, ReleaseContentHashConfig, ReleaseContentHashConfigArgs, ResolvedCheckerConfig, ResolvedLiminaConfig, RuntimeEnvironment, SharedLiminaConfig, SourceBoundaryConfig, SourceCheckConfig, SourceUnusedDependenciesConfig, SourceUnusedDependencyIgnoreEntry, SourceUnusedModuleEntryConfig, SourceUnusedModuleIgnoreEntry, SourceUnusedModulesConfig, defineConfig, getActiveCheckerExtensions, getActiveCheckers, isStrictConfig, loadConfig, validateLiminaConfig };
683
+ export { BuiltinCheckerPreset, BuiltinTaskName, CheckerConfig, CheckerExecutionKind, CheckerPreset, GraphConditionDomain, GraphConfig, GraphRule, GraphRuleAllowConfig, GraphRuleDenyConfig, GraphRuleDepDenyEntry, GraphRuleRefAllowEntry, GraphRuleRefDenyEntry, LiminaCommand, LiminaConfig, LiminaConfigEnv, LiminaConfigExport, LiminaConfigFn, LiminaConfigFnObject, LiminaConfigFnPromise, LoadConfigOptions, PackageAttwCheckConfig, PackageAttwIgnoreRule, PackageAttwLevel, PackageAttwProfile, PackageBoundaryCheckConfig, PackageCheckTool, PackageCheckToolSelection, PackageConfig, PackageEntry, PackagePublintCheckConfig, PackagePublintLevel, PipelineStep, ProofAllowlistEntry, ProofConfig, ReleaseConfig, ReleaseContentHashConfig, ReleaseContentHashConfigArgs, ResolvedCheckerConfig, ResolvedLiminaConfig, RuntimeEnvironment, SharedLiminaConfig, SourceBoundaryConfig, SourceCheckConfig, SourceKnipCheckConfig, SourceKnipEntryConfig, SourceKnipIgnoredDependencyConfig, SourceKnipIgnoredFileConfig, SourceKnipWorkspaceConfig, SourceTsconfigOwnershipConfig, SourceTsconfigOwnershipIgnoreEntry, defineConfig, getActiveCheckerExtensions, getActiveCheckers, isStrictConfig, loadConfig, validateLiminaConfig };
package/config.js CHANGED
@@ -1,4 +1,3 @@
1
- import "./chunks/dep-lkQg1P9Q.js";
2
- import { a as loadConfig, i as isStrictConfig, n as getActiveCheckerExtensions, o as validateLiminaConfig, r as getActiveCheckers, t as defineConfig } from "./chunks/dep-CBKvJc4Y.js";
1
+ import { a as loadConfig, i as isStrictConfig, n as getActiveCheckerExtensions, o as validateLiminaConfig, r as getActiveCheckers, t as defineConfig } from "./chunks/dep-Ce6cDHmw.js";
3
2
 
4
3
  export { defineConfig, getActiveCheckerExtensions, getActiveCheckers, isStrictConfig, loadConfig, validateLiminaConfig };
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BuiltinCheckerPreset, BuiltinTaskName, CheckerConfig, CheckerExecutionKind, CheckerPreset, GraphConfig, GraphRule, GraphRuleAllowConfig, GraphRuleDenyConfig, GraphRuleDepDenyEntry, GraphRuleRefAllowEntry, GraphRuleRefDenyEntry, LiminaCommand, LiminaConfig, LiminaConfigEnv, LiminaConfigExport, LiminaConfigFn, LiminaConfigFnObject, LiminaConfigFnPromise, LoadConfigOptions, PackageAttwCheckConfig, PackageAttwProfile, PackageBoundaryCheckConfig, PackageCheckTool, PackageCheckToolSelection, PackageConfig, PackageEntry, PackagePublintCheckConfig, PathsConfig, PipelineStep, ProofAllowlistEntry, ProofConfig, ResolvedCheckerConfig, ResolvedLiminaConfig, RuntimeEnvironment, SharedLiminaConfig, SourceBoundaryConfig, SourceCheckConfig, SourceUnusedDependenciesConfig, SourceUnusedDependencyIgnoreEntry, defineConfig, getActiveCheckerExtensions, getActiveCheckers, loadConfig, validateLiminaConfig } from "./config.js";
1
+ import { BuiltinCheckerPreset, BuiltinTaskName, CheckerConfig, CheckerExecutionKind, CheckerPreset, GraphConditionDomain, GraphConfig, GraphRule, GraphRuleAllowConfig, GraphRuleDenyConfig, GraphRuleDepDenyEntry, GraphRuleRefAllowEntry, GraphRuleRefDenyEntry, LiminaCommand, LiminaConfig, LiminaConfigEnv, LiminaConfigExport, LiminaConfigFn, LiminaConfigFnObject, LiminaConfigFnPromise, LoadConfigOptions, PackageAttwCheckConfig, PackageAttwIgnoreRule, PackageAttwLevel, PackageAttwProfile, PackageBoundaryCheckConfig, PackageCheckTool, PackageCheckToolSelection, PackageConfig, PackageEntry, PackagePublintCheckConfig, PackagePublintLevel, PipelineStep, ProofAllowlistEntry, ProofConfig, ResolvedCheckerConfig, ResolvedLiminaConfig, RuntimeEnvironment, SharedLiminaConfig, SourceBoundaryConfig, SourceCheckConfig, SourceKnipCheckConfig, SourceKnipEntryConfig, SourceKnipIgnoredDependencyConfig, SourceKnipIgnoredFileConfig, SourceKnipWorkspaceConfig, defineConfig, getActiveCheckerExtensions, getActiveCheckers, loadConfig, validateLiminaConfig } from "./config.js";
2
2
  //#region src/flow.d.ts
3
3
  interface ClackLogAdapter {
4
4
  error: (message: string) => void;
@@ -166,4 +166,4 @@ declare function runCheckerTypecheck(options: RunCheckerTypecheckOptions): Promi
166
166
  //#region src/tsconfig.d.ts
167
167
  declare function isOrdinaryTypecheckConfigPath(configPath: string): boolean;
168
168
  //#endregion
169
- export { type BuiltinCheckerPreset, type BuiltinTaskName, type CheckerConfig, type CheckerExecutionKind, type CheckerPreset, type GraphConfig, type GraphRule, type GraphRuleAllowConfig, type GraphRuleDenyConfig, type GraphRuleDepDenyEntry, type GraphRuleRefAllowEntry, type GraphRuleRefDenyEntry, type LiminaCommand, type LiminaConfig, type LiminaConfigEnv, type LiminaConfigExport, type LiminaConfigFn, type LiminaConfigFnObject, type LiminaConfigFnPromise, type LiminaFlowFailureOptions, type LiminaFlowMessageOptions, type LiminaFlowOutputOptions, LiminaFlowReporter, type LiminaFlowReporterOptions, type LiminaFlowTask, type LoadConfigOptions, type PackageAttwCheckConfig, type PackageAttwProfile, type PackageBoundaryCheckConfig, type PackageCheckTool, type PackageCheckToolSelection, type PackageConfig, type PackageEntry, type PackagePublintCheckConfig, type PathsConfig, type PipelineStep, type ProofAllowlistEntry, type ProofConfig, type ResolvedCheckerConfig, type ResolvedLiminaConfig, type RunCheckerBuildOptions, type RunCheckerBuildResult, type RunCheckerTypecheckOptions, type RunCheckerTypecheckResult, type RunGraphCheckOptions, type RunGraphSyncOptions, type RunGraphSyncResult, type RunInitOptions, type RunInitResult, type RunSourceCheckOptions, type RuntimeEnvironment, type SharedLiminaConfig, type SourceBoundaryConfig, type SourceCheckConfig, type SourceUnusedDependenciesConfig, type SourceUnusedDependencyIgnoreEntry, type TypecheckRunner, type TypecheckTarget, type TypecheckTargetResult, createLiminaFlowReporter, defineConfig, getActiveCheckerExtensions, getActiveCheckers, isOrdinaryTypecheckConfigPath, loadConfig, runCheckerBuild, runCheckerTypecheck, runGraphCheck, runGraphSync, runInit, runSourceCheck, validateLiminaConfig };
169
+ export { type BuiltinCheckerPreset, type BuiltinTaskName, type CheckerConfig, type CheckerExecutionKind, type CheckerPreset, type GraphConditionDomain, type GraphConfig, type GraphRule, type GraphRuleAllowConfig, type GraphRuleDenyConfig, type GraphRuleDepDenyEntry, type GraphRuleRefAllowEntry, type GraphRuleRefDenyEntry, type LiminaCommand, type LiminaConfig, type LiminaConfigEnv, type LiminaConfigExport, type LiminaConfigFn, type LiminaConfigFnObject, type LiminaConfigFnPromise, type LiminaFlowFailureOptions, type LiminaFlowMessageOptions, type LiminaFlowOutputOptions, LiminaFlowReporter, type LiminaFlowReporterOptions, type LiminaFlowTask, type LoadConfigOptions, type PackageAttwCheckConfig, type PackageAttwIgnoreRule, type PackageAttwLevel, type PackageAttwProfile, type PackageBoundaryCheckConfig, type PackageCheckTool, type PackageCheckToolSelection, type PackageConfig, type PackageEntry, type PackagePublintCheckConfig, type PackagePublintLevel, type PipelineStep, type ProofAllowlistEntry, type ProofConfig, type ResolvedCheckerConfig, type ResolvedLiminaConfig, type RunCheckerBuildOptions, type RunCheckerBuildResult, type RunCheckerTypecheckOptions, type RunCheckerTypecheckResult, type RunGraphCheckOptions, type RunGraphSyncOptions, type RunGraphSyncResult, type RunInitOptions, type RunInitResult, type RunSourceCheckOptions, type RuntimeEnvironment, type SharedLiminaConfig, type SourceBoundaryConfig, type SourceCheckConfig, type SourceKnipCheckConfig, type SourceKnipEntryConfig, type SourceKnipIgnoredDependencyConfig, type SourceKnipIgnoredFileConfig, type SourceKnipWorkspaceConfig, type TypecheckRunner, type TypecheckTarget, type TypecheckTargetResult, createLiminaFlowReporter, defineConfig, getActiveCheckerExtensions, getActiveCheckers, isOrdinaryTypecheckConfigPath, loadConfig, runCheckerBuild, runCheckerTypecheck, runGraphCheck, runGraphSync, runInit, runSourceCheck, validateLiminaConfig };
package/index.js CHANGED
@@ -1,5 +1,4 @@
1
- import "./chunks/dep-lkQg1P9Q.js";
2
- import { a as loadConfig, n as getActiveCheckerExtensions, o as validateLiminaConfig, r as getActiveCheckers, t as defineConfig } from "./chunks/dep-CBKvJc4Y.js";
3
- import { V as isOrdinaryTypecheckConfigPath, a as runCheckerTypecheck, c as runGraphCheck, i as runCheckerBuild, l as runGraphSync, n as createLiminaFlowReporter, o as runSourceCheck, s as runInit, t as LiminaFlowReporter } from "./chunks/dep-DTGmTTL7.js";
1
+ import { L as isOrdinaryTypecheckConfigPath, a as runCheckerTypecheck, c as runGraphCheck, i as runCheckerBuild, l as runGraphSync, n as createLiminaFlowReporter, o as runSourceCheck, s as runInit, t as LiminaFlowReporter } from "./chunks/dep-COZNKoxO.js";
2
+ import { a as loadConfig, n as getActiveCheckerExtensions, o as validateLiminaConfig, r as getActiveCheckers, t as defineConfig } from "./chunks/dep-Ce6cDHmw.js";
4
3
 
5
4
  export { LiminaFlowReporter, createLiminaFlowReporter, defineConfig, getActiveCheckerExtensions, getActiveCheckers, isOrdinaryTypecheckConfigPath, loadConfig, runCheckerBuild, runCheckerTypecheck, runGraphCheck, runGraphSync, runInit, runSourceCheck, validateLiminaConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "limina",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Senao Xi",
@@ -23,7 +23,7 @@
23
23
  "bugs": {
24
24
  "url": "https://github.com/XiSenao/docs-islands/issues"
25
25
  },
26
- "homepage": "https://docs.senao.me/docs-islands",
26
+ "homepage": "https://docs.senao.me/docs-islands/limina",
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
@@ -31,39 +31,38 @@
31
31
  "limina": "./bin/limina.js"
32
32
  },
33
33
  "dependencies": {
34
- "@arethetypeswrong/core": "^0.18.2",
35
- "@clack/prompts": "^1.4.0",
36
- "logaria": "0.0.3",
37
- "@publint/pack": "^0.1.4",
38
- "cac": "^6.7.14",
39
- "es-module-lexer": "^2.0.0",
40
- "knip": "^6.15.0",
41
- "npm-package-json-lint": "^9.1.0",
42
- "oxc-parser": "^0.133.0",
43
- "oxc-resolver": "^11.20.0",
44
- "pathe": "^2.0.3",
45
34
  "picomatch": "^4.0.4",
46
- "publint": "^0.3.17",
47
- "semver": "^7.8.1",
48
35
  "tinyglobby": "^0.2.15",
49
- "yaml": "^2.8.3",
50
- "zod": "^4.3.6"
36
+ "oxc-parser": "^0.133.0",
37
+ "oxc-resolver": "^11.20.0"
51
38
  },
52
39
  "peerDependencies": {
40
+ "@arethetypeswrong/core": "^0.18.2",
53
41
  "@typescript/native-preview": "7.0.0-dev.20260527.1",
54
42
  "@vue/compiler-sfc": "^3.5.28",
43
+ "knip": "^6.15.0",
44
+ "publint": "^0.3.17",
55
45
  "svelte-check": "^4.4.7",
56
46
  "typescript": "~5.9.3",
57
47
  "vue-tsc": "~3.2.4",
58
48
  "vue-tsgo": "0.2.2"
59
49
  },
60
50
  "peerDependenciesMeta": {
51
+ "@arethetypeswrong/core": {
52
+ "optional": true
53
+ },
61
54
  "@typescript/native-preview": {
62
55
  "optional": true
63
56
  },
64
57
  "@vue/compiler-sfc": {
65
58
  "optional": true
66
59
  },
60
+ "knip": {
61
+ "optional": true
62
+ },
63
+ "publint": {
64
+ "optional": true
65
+ },
67
66
  "svelte-check": {
68
67
  "optional": true
69
68
  },