forked from GitHubMirrors/silverbullet-icalendar
Updated to new conventions
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
deno.lock
|
||||
@@ -4,7 +4,7 @@
|
||||
Insert your plug description here
|
||||
|
||||
## Build
|
||||
To build this plug, make sure you have [SilverBullet installed](https://silverbullet.md/Install). Then, build the plug with:
|
||||
To build this plug, make sure you have [SilverBullet installed with Deno](https://silverbullet.md/Install/Deno). Then, build the plug with:
|
||||
|
||||
```shell
|
||||
deno task build
|
||||
@@ -22,7 +22,7 @@ Then, copy the resulting `.plug.js` file into your space's `_plug` folder. Or bu
|
||||
deno task build && cp *.plug.js /my/space/_plug/
|
||||
```
|
||||
|
||||
SilverBullet will automatically sync and load the new version of the plug (or speed up this process by running the {[Sync: Now]} command).
|
||||
SilverBullet will automatically sync and load the new version of the plug, just watch the logs (browser and server) to see when this happens.
|
||||
|
||||
## Installation
|
||||
If you would like to install this plug straight from Github, make sure you have the `.js` file committed to the repo and simply add
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
{
|
||||
"importMap": "import_map.json",
|
||||
"tasks": {
|
||||
"build": "silverbullet plug:compile --importmap import_map.json hello.plug.yaml",
|
||||
"watch": "silverbullet plug:compile --importmap import_map.json hello.plug.yaml -w"
|
||||
"build": "silverbullet plug:compile -c deno.jsonc hello.plug.yaml",
|
||||
"watch": "silverbullet plug:compile -c deno.jsonc hello.plug.yaml -w"
|
||||
},
|
||||
"lint": {
|
||||
"rules": {
|
||||
@@ -15,5 +14,8 @@
|
||||
"**/*.md",
|
||||
"*.plug.js"
|
||||
]
|
||||
},
|
||||
"imports": {
|
||||
"$sb/": "https://deno.land/x/silverbullet/plug-api/"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"imports": {
|
||||
"$sb/": "https://deno.land/x/silverbullet/plug-api/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user