This commit is contained in:
MarSeventh
2024-07-19 23:26:06 +08:00
commit 4e0c55d1f9
1401 changed files with 69819 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# @cloudflare/pages-plugin-sentry
## 1.1.3
### Patch Changes
- 567f8c5: Add MIT license
## 1.1.2
### Patch Changes
- 6089299: maintenance: Build Plugins with newer `--outdir` option, actually build the APIs of Plugins, and update `package.json`s to be more complete.
- 34b1707: fix: Correctly type the PluginData (`context.data.sentry`) as a Toucan instance
## 1.1.0
### Minor Changes
- 5d29e41: chore: Bump to using toucan-js@3.0.0
https://github.com/robertcepa/toucan-js/releases/tag/toucan-js%403.0.0

13
node_modules/@cloudflare/pages-plugin-sentry/README.md generated vendored Normal file
View File

@@ -0,0 +1,13 @@
## Pages Plugins
# Sentry Pages Plugin
## Installation
```sh
npm install --save @cloudflare/pages-plugin-sentry
```
## Usage
Documentation available on [Cloudflare's Developer Docs](https://developers.cloudflare.com/pages/platform/functions/plugins/sentry/).

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
import type { Toucan } from "toucan-js";
import type { Options } from "toucan-js/dist/types";
export type PluginArgs = Omit<Options, "context">;
export type PluginData = { sentry: Toucan };
export default function (args: PluginArgs): PagesFunction;

View File

@@ -0,0 +1,40 @@
{
"name": "@cloudflare/pages-plugin-sentry",
"version": "1.1.3",
"homepage": "https://developers.cloudflare.com/pages/platform/functions/plugins/sentry/",
"bugs": {
"url": "https://github.com/cloudflare/pages-plugins/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cloudflare/pages-plugins.git",
"directory": "./packages/sentry"
},
"license": "MIT",
"type": "module",
"exports": {
".": {
"types": "./index.d.ts",
"default": "./dist/functions/index.js"
}
},
"main": "./dist/functions/index.js",
"types": "./index.d.ts",
"files": [
"./CHANGELOG.md",
"./index.d.ts",
"./dist/"
],
"scripts": {
"build": "npm run build:functions",
"build:functions": "npx wrangler pages functions build --plugin --outdir=./dist/functions --sourcemap",
"prepack": "npm run build"
},
"devDependencies": {
"toucan-js": "^3.0.0"
},
"volta": {
"node": "20.11.0",
"npm": "10.2.4"
}
}