@daisy-workflow/plugin-sdk 0.1.2 → 0.1.3
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 +3 -3
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# daisy-plugin-sdk
|
|
1
|
+
# @daisy-workflow/plugin-sdk
|
|
2
2
|
|
|
3
3
|
Tiny helper for authoring Daisy external plugins. Implements
|
|
4
4
|
the four-endpoint HTTP contract (`/manifest`, `/healthz`, `/readyz`,
|
|
@@ -16,7 +16,7 @@ global `fetch`.
|
|
|
16
16
|
```bash
|
|
17
17
|
mkdir my-plugin && cd my-plugin
|
|
18
18
|
npm init -y
|
|
19
|
-
npm install daisy-plugin-sdk
|
|
19
|
+
npm install @daisy-workflow/plugin-sdk
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
```json
|
|
@@ -34,7 +34,7 @@ npm install daisy-plugin-sdk
|
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
// index.js
|
|
37
|
-
import { servePlugin } from "daisy-plugin-sdk";
|
|
37
|
+
import { servePlugin } from "@daisy-workflow/plugin-sdk";
|
|
38
38
|
import manifest from "./manifest.json" with { type: "json" };
|
|
39
39
|
|
|
40
40
|
servePlugin({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daisy-workflow/plugin-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "SDK for authoring Daisy external plugins. Wires the four-endpoint HTTP contract so plugin authors only write execute().",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -25,8 +25,5 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"homepage": "https://github.com/vivekg13186/daisy-plugin-sdk#readme"
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"daisy-plugin-sdk": "file:daisy-plugin-sdk-0.1.0.tgz"
|
|
31
|
-
}
|
|
28
|
+
"homepage": "https://github.com/vivekg13186/daisy-plugin-sdk#readme"
|
|
32
29
|
}
|