You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65dbdf2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/runtime-plugins.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,10 @@ bun x wrangler r2 object put artifacts-plugins/plugins/warehouse.json --file war
128
128
```
129
129
130
130
The bundle is one file: the handlers, their dependencies, and the input/output
131
-
validators. Each node uses a new or replaced file within about five seconds. Delete
131
+
validators. It is reproducible: the same plugin source and Artifacts checkout produce
132
+
the same bytes on any machine, so a deployment repository can commit the bundle and
133
+
check it against its source in CI. The plugin may live in another repository; its
134
+
`@sidequery/artifacts/plugins` import resolves to the checkout used for bundling. Each node uses a new or replaced file within about five seconds. Delete
132
135
the object to remove the plugin.
133
136
134
137
A published plugin works like a build-time plugin. It appears in `plugins_list` and
if(plugin!.browser||plugin!.types)thrownewError(`${plugin!.name}: published plugins provide server operations only; browser modules need a deployment build`);
24
-
if(!Object.keys(plugin!.operations??{}).length)thrownewError(`${plugin!.name} has no server operations`);
if(plugin!.browser||plugin!.types)thrownewError(`${plugin!.name}: published plugins provide server operations only; browser modules need a deployment build`);
39
+
if(!Object.keys(plugin!.operations??{}).length)thrownewError(`${plugin!.name} has no server operations`);
0 commit comments