Fix: Final unified naming and permissions (v0.3.17)
All checks were successful
Build SilverBullet Plug / build (push) Successful in 26s

This commit is contained in:
2026-02-17 15:03:00 -08:00
parent 1ea0e020f9
commit 2f4499a068
5 changed files with 17 additions and 11 deletions

5
Dockerfile.build Normal file
View File

@@ -0,0 +1,5 @@
FROM denoland/deno:latest
WORKDIR /app
COPY . .
RUN deno run -A https://github.com/silverbulletmd/silverbullet/releases/download/2.4.1/plug-compile.js -c deno.json icalendar.plug.yaml
CMD ["cat", "Library/sstent/icalendar.plug.js"]

View File

@@ -1,8 +1,8 @@
---
name: Library/sstent/icalendar
version: 0.3.16
version: 0.3.17
tags: meta/library
files:
- icalendar.plug.js
---
iCalendar sync plug for SilverBullet.
iCalendar sync plug for SilverBullet.

File diff suppressed because one or more lines are too long

View File

@@ -1,8 +1,7 @@
name: icalendar
version: 0.3.16
name: Library/sstent/icalendar
version: 0.3.17
author: sstent
index: icalendar.ts
# Include both legacy and modern permission names for fetch
permissions:
- fetch
- http
@@ -28,4 +27,4 @@ functions:
path: icalendar.ts:showVersion
command:
name: "iCalendar: Version"
priority: -2
priority: -2

View File

@@ -1,9 +1,11 @@
import { clientStore, config, datastore, editor, index } from "@silverbulletmd/silverbullet/syscalls";
import { convertIcsCalendar } from "https://esm.sh/ts-ics@2.4.0";
const VERSION = "0.3.16";
const VERSION = "0.3.17";
const CACHE_KEY = "icalendar:lastSync";
console.log(`[iCalendar] Plug script executing at top level (Version ${VERSION})`);
const TIMEZONE_OFFSETS: Record<string, number> = {
"GMT Standard Time": 0,
"W. Europe Standard Time": 1,
@@ -104,4 +106,4 @@ export async function clearCache() {
export async function showVersion() {
await editor.flashNotification(`iCalendar Plug ${VERSION}`, "info");
}
}