sveld 0.39.0 → 0.40.0
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/browser.d.ts +1 -1
- package/browser.js +98 -98
- package/{chunk-2n2nej6f.js → chunk-2p18x9at.js} +1 -1
- package/{chunk-bbv5bs84.js → chunk-w75v318p.js} +4 -4
- package/{chunk-rwc4gb17.js → chunk-wfd8yb7b.js} +1 -1
- package/{chunk-yqr2sj7d.js → chunk-xkx28fv0.js} +22 -22
- package/cli-entry.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/cli-entry.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_,n,_t,ge,ye,B,R,j,Q,q,G,Re,$e,Ie}from"./chunk-
|
|
1
|
+
import{_,n,_t,ge,ye,B,R,j,Q,q,G,Re,$e,Ie}from"./chunk-w75v318p.js";import{existsSync as v}from"node:fs";import{join as S}from"node:path";var f="src/index.js",m={SUCCESS:0,USAGE_ERROR:1,GENERATION_FAILURE:2,BREAKING_CHANGE:3,DIAGNOSTICS:4},x=`Usage: sveld [options]
|
|
2
2
|
|
|
3
3
|
Generate TypeScript definitions and component documentation for a Svelte
|
|
4
4
|
library. With no flags, only TypeScript definitions are generated for the
|
package/index.d.ts
CHANGED
|
@@ -472,7 +472,7 @@ interface ParsedComponent {
|
|
|
472
472
|
[PARSED_COMPONENT_PROP_IGNORES]?: Record<string, string[]>;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
export type SveldDiagnosticKind = "prop-unknown-type" | "context-any-type" | "slot-missing-type" | "slot-not-rendered" | "event-no-source" | "dispatch-escapes" | "example-compile-error" | "example-syntax-error" | "syntax-skipped" | "type-syntax-error" | "rest-props-unresolved" | "context-duplicate-key" | "context-key-unresolved" | "context-value-unresolved" | "spread-unresolved" | "export-unresolved" | "module-export-conflict" | "extend-props-target-missing" | "extend-props-duplicate" | "extend-props-override" | "jsdoc-unknown-tag" | "typedef-duplicate" | "property-duplicate" | "generics-conflict" | "event-description-ambiguous" | "jsdoc-tag-dropped" | "internal-typedef-referenced" | "cross-file-unresolved" | "export-ambiguous";
|
|
475
|
+
export type SveldDiagnosticKind = "prop-unknown-type" | "context-any-type" | "bind-this-type-mismatch" | "slot-missing-type" | "slot-not-rendered" | "event-no-source" | "dispatch-escapes" | "example-compile-error" | "example-syntax-error" | "syntax-skipped" | "type-syntax-error" | "rest-props-unresolved" | "context-duplicate-key" | "context-key-unresolved" | "context-value-unresolved" | "spread-unresolved" | "export-unresolved" | "module-export-conflict" | "extend-props-target-missing" | "extend-props-duplicate" | "extend-props-override" | "jsdoc-unknown-tag" | "typedef-duplicate" | "property-duplicate" | "generics-conflict" | "event-description-ambiguous" | "jsdoc-tag-dropped" | "internal-typedef-referenced" | "cross-file-unresolved" | "export-ambiguous";
|
|
476
476
|
|
|
477
477
|
export type SveldDiagnosticSeverity = "error" | "warning";
|
|
478
478
|
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{z,Me,g,Rt,_e,ge,$t,ye,Mt,It,Ft}from"./chunk-
|
|
1
|
+
import{z,Me,g,Rt,_e,ge,$t,ye,Mt,It,Ft}from"./chunk-w75v318p.js";import{ee}from"./chunk-xkx28fv0.js";export{$t as CHECK_REPORT_SCHEMA_VERSION,ee as ComponentParser,Me as DIAGNOSTICS_SCHEMA_VERSION,z as DIAGNOSTIC_CODES,g as buildComponentApiDocument,It as default,Mt as defineConfig,Rt as diffApiDocuments,ge as formatCheckReport,ye as formatCheckReportJson,_e as runCheck,Ft as sveld};
|