Generate a JSON documentation for a Svelte (https://github.com/sveltejs/svelte) component
MIT License
Bot releases are visible (Hide)
🛠[Fixed] - Add missed dependency.
Published by alexprey almost 3 years ago
self
and trusted
event modifiers [Issue #80].JSDocTypeFunction
to support functions types in variable definitions and provide details about function parameters and methods.JSDocType
to support new JSDocTypeFunction
array
, object
, function
.Published by alexprey over 3 years ago
@type {import('../typings.d.ts').ExternalTypeClass}
. In order to do this, new field importPath
introduced to JSDocType
, in the name property now it returns imported class name, f.ex.: ExternalTypeClass
.typings.d.ts
file.SvelteSlotParameter
definition, to support name
, description
, type
fields, instead of many not relevant fields that was inherited from ISvelteItem
interface.SvelteSlotItem
definition, to improve consistency:
parameters
property to params
to be most likely the same as SvelteMethodItem
. Old field still available until 5.* release.Thanks a lot @soft-decay for contributing in this release!
Published by alexprey over 3 years ago
args
property was renamed to params
;return
item for methods:
desc
property was renamed to description
;type
property now contains the JSDocType
object, instead of string
type with text representation of type. This can be gets from text
property of JSDocType
object;SvelteMethodParamItem
type;loc
property was removed, please use locations
instead, if you late with upgrade;value
property of SvelteComponentItem
was removed, please use importPath
insteadPublished by alexprey about 4 years ago
htmlparser2
to htmlparser2-svelte special fork of htmlparser2 to handle Svelte specific cases to parse markupPublished by alexprey about 4 years ago
round.button.svelte -> RoundButton
Published by alexprey about 4 years ago
[Fixed]
Solve issue #26, support export { variables as var }
statement.[Added]
now interface SvelteDataItem
provides a new property localName
with information about internal name of component property.Published by alexprey about 4 years ago
espree
to 7.2.0
htmlparser2
to 3.9.2
eslint
to fix issues after upgrading to new versions10.0.0
, Node.js v8 now is not supported, this is related with security isssues above. Please let me know if it still required.Published by alexprey almost 5 years ago
Thanks to Hostas for following fixes:
type
property was setup with wrong structure and data, now it fixed.Published by alexprey almost 5 years ago
Published by alexprey about 5 years ago
<script>
blockslocations
was added to items and presents the list of item code locationsloc
for items marked as depricated, see locations
property insteadPublished by alexprey about 5 years ago
bind:proprty={...}
)dispatch(...)
)<button on:click="{() => dispatch(....)}">
)bind:this={...}
)SvelteDataItem.let
changed to SvelteDateItem.kind
, that was named as let
by mistakePublished by alexprey about 5 years ago
Implement basic support of svelte v3 syntax parsing
Published by alexprey almost 6 years ago
Some fixes with @param
and @type
parsings
Published by alexprey almost 6 years ago
Published by alexprey almost 6 years ago
reject(...)
method instead throwing upPublished by alexprey almost 6 years ago
@type {('plain'|'plain-negative')}
was not supported in case of -
symbol