@sentry/junior-vercel 0.63.0 → 0.65.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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -10,14 +10,18 @@ pnpm add @sentry/junior @sentry/junior-vercel
10
10
 
11
11
  ## Configure
12
12
 
13
- List the plugin in `juniorNitro({ plugins: { packages: [...] } })`:
13
+ Add the package name to the plugin set exported from `plugins.ts`:
14
14
 
15
15
  ```ts
16
- juniorNitro({
17
- plugins: {
18
- packages: ["@sentry/junior-vercel"],
19
- },
20
- });
16
+ import { defineJuniorPlugins } from "@sentry/junior";
17
+
18
+ export const plugins = defineJuniorPlugins(["@sentry/junior-vercel"]);
19
+ ```
20
+
21
+ Point `juniorNitro()` at that plugin module:
22
+
23
+ ```ts
24
+ juniorNitro({ plugins: "./plugins" });
21
25
  ```
22
26
 
23
27
  Set a Vercel token in the Junior deployment environment:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-vercel",
3
- "version": "0.63.0",
3
+ "version": "0.65.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"