@sentry/junior-plugin-api 0.118.0 → 0.119.0
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 +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,11 @@ exported TypeScript types and runtime validators are authoritative.
|
|
|
8
8
|
Use `defineJuniorPlugin({ manifest, hooks, tasks, cli, model })`. A plugin name
|
|
9
9
|
is a lowercase identifier and is unique within the enabled app plugin set.
|
|
10
10
|
|
|
11
|
+
Packages with JavaScript registration export one callable factory named
|
|
12
|
+
`<domain>Plugin`, such as `githubPlugin(options?)`. Do not use a public
|
|
13
|
+
`create<Domain>Plugin` alias or export a prebuilt registration. Call the factory
|
|
14
|
+
even when it accepts no options.
|
|
15
|
+
|
|
11
16
|
A plugin may instead be a declarative `plugin.yaml` package when it has no
|
|
12
17
|
host-executed hooks. Do not combine an inline manifest with a second YAML
|
|
13
18
|
definition for the same plugin.
|