sveld 0.35.1 → 0.35.2
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/README.md +0 -4
- package/cli.js +1 -1
- package/lib/ComponentParser.d.ts +139 -401
- package/lib/ast-guards.d.ts +0 -2
- package/lib/browser.js +203 -225
- package/lib/bundle.d.ts +1 -3
- package/lib/chunk-1p4ka68s.js +2 -0
- package/lib/chunk-72hx9e9w.js +20 -0
- package/lib/chunk-7qz0hzgw.js +217 -0
- package/lib/chunk-8xw75w8t.js +10 -0
- package/lib/chunk-cxrw7gzr.js +2 -0
- package/lib/chunk-jdnsv86e.js +1 -0
- package/lib/chunk-pmj8c3yv.js +6 -0
- package/lib/chunk-s9mzxa4y.js +1 -0
- package/lib/chunk-v4q9vw0y.js +62 -0
- package/lib/chunk-xkrgedm4.js +4 -0
- package/lib/chunk-zva3xjwa.js +13 -0
- package/lib/cli-entry.d.ts +12 -0
- package/lib/cli-entry.js +1 -0
- package/lib/get-svelte-entry.d.ts +0 -1
- package/lib/index.js +1 -343
- package/lib/parse-cache.d.ts +1 -1
- package/lib/parse-entry-exports.d.ts +2 -2
- package/lib/parsed-component-metadata.d.ts +13 -0
- package/lib/parser/bindings.d.ts +0 -2
- package/lib/parser/context.d.ts +7 -49
- package/lib/parser/events.d.ts +0 -2
- package/lib/parser/jsdoc.d.ts +0 -4
- package/lib/parser/prop-shared.d.ts +84 -0
- package/lib/parser/props.d.ts +0 -2
- package/lib/parser/rest-props.d.ts +0 -2
- package/lib/parser/runes-detection.d.ts +1 -4
- package/lib/parser/scopes.d.ts +0 -2
- package/lib/parser/slots.d.ts +0 -5
- package/lib/parser/source-position.d.ts +0 -4
- package/lib/parser/type-resolution.d.ts +0 -15
- package/lib/parser/typescript-casts.d.ts +0 -1
- package/lib/parser/utils.d.ts +1 -0
- package/lib/parser/variable-jsdoc.d.ts +12 -0
- package/lib/parser-stack.d.ts +20 -0
- package/lib/path.d.ts +0 -1
- package/lib/svelte-parse.d.ts +4 -0
- package/lib/svelte-version.d.ts +1 -0
- package/lib/writer/Writer.d.ts +7 -29
- package/lib/writer/WriterMarkdown.d.ts +0 -2
- package/lib/writer/markdown-format-utils.d.ts +0 -84
- package/lib/writer/writer-json.d.ts +2 -12
- package/lib/writer/writer-markdown.d.ts +0 -2
- package/lib/writer/writer-ts-definitions-core.d.ts +1 -9
- package/lib/writer/writer-ts-definitions.d.ts +1 -28
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -683,12 +683,8 @@ The `svelte` condition lets bundlers that understand it (Vite, Rollup, webpack v
|
|
|
683
683
|
- **`glob`** (boolean, optional): Enable glob mode to analyze all `*.svelte` files.
|
|
684
684
|
- **`documentExports`** (boolean, optional): Include consts, functions, and types from the entry barrel in JSON (`exports`) and Markdown ("Exports"). Off by default. See [Documenting Entry Exports](#documenting-entry-exports).
|
|
685
685
|
- **`types`** (boolean, optional, default: `true`): Generate TypeScript definitions.
|
|
686
|
-
<<<<<<< HEAD
|
|
687
686
|
- **`typesOptions`** (object, optional): Options for TypeScript definition generation, including `outDir`, `preamble`, and `format`.
|
|
688
687
|
- **`format`** (`"class"` | `"component"`, optional, default: `"class"`): `.d.ts` output shape. `"class"` extends `SvelteComponentTyped`; `"component"` emits the Svelte 5 `Component` type. Also available as `--types-format`. See [`.d.ts` output format](#dts-output-format-typesoptionsformat).
|
|
689
|
-
=======
|
|
690
|
-
- **`typesOptions`** (object, optional): Options for TypeScript definition generation, including `outDir` and `preamble`.
|
|
691
|
-
>>>>>>> 0724225 (feat(writer)!: remove prettier entirely)
|
|
692
688
|
- **`json`** (boolean, optional): Generate component documentation in JSON format.
|
|
693
689
|
- **`jsonOptions`** (object, optional): Options for JSON output.
|
|
694
690
|
- **`markdown`** (boolean, optional): Generate component documentation in Markdown format.
|