forked from GitHubMirrors/silverbullet-icalendar
ts-ics 2.4.0 changed API from parseIcsCalendar to convertIcsCalendar and VCalendar to IcsCalendar. The new API returns Date objects and nested date structures that require recursive conversion to strings for SilverBullet indexing. Recurring events were creating duplicate refs because the hash only used the UID, which is identical across occurrences. Including the start date in the unique key ensures each occurrence gets a distinct ref. Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
25 lines
575 B
JSON
25 lines
575 B
JSON
{
|
|
"tasks": {
|
|
"build": "silverbullet plug:compile -c deno.jsonc icalendar.plug.yaml",
|
|
"build:debug": "silverbullet plug:compile -c deno.jsonc icalendar.plug.yaml --debug",
|
|
"watch": "silverbullet plug:compile -c deno.jsonc icalendar.plug.yaml -w"
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"exclude": [
|
|
"no-explicit-any"
|
|
]
|
|
}
|
|
},
|
|
"fmt": {
|
|
"exclude": [
|
|
"*.md",
|
|
"**/*.md",
|
|
"*.plug.js"
|
|
]
|
|
},
|
|
"imports": {
|
|
"@silverbulletmd/silverbullet": "jsr:@silverbulletmd/silverbullet@^2.0.0",
|
|
"ts-ics": "npm:ts-ics@2.4.0"
|
|
}
|
|
} |