mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 11:54:33 +03:00
f7b50456ea
no issue
- Adds Sentry to Admin X settings to be able to monitor uncaught errors, etc.
---
<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 76de125</samp>
Added Sentry integration to the admin-x-settings app to improve error
monitoring and reporting. Updated the `ErrorBoundary` and `HtmlEditor`
components, the `useFetchApi` hook, and the app component to use the
`@sentry/react` module. Passed the `sentryDSN` prop from the parent
component to the app component and the services context.
94 lines
2.9 KiB
JSON
94 lines
2.9 KiB
JSON
{
|
|
"name": "@tryghost/admin-x-settings",
|
|
"version": "0.0.20",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/TryGhost/Ghost/tree/main/packages/admin-x-settings"
|
|
},
|
|
"author": "Ghost Foundation",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/"
|
|
],
|
|
"main": "./dist/admin-x-settings.umd.cjs",
|
|
"module": "./dist/admin-x-settings.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/admin-x-settings.js",
|
|
"require": "./dist/admin-x-settings.umd.cjs"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"dev:start": "vite",
|
|
"build": "tsc && vite build",
|
|
"lint": "yarn run lint:js",
|
|
"lint:js": "eslint --ext .js,.ts,.cjs,.tsx --cache src test",
|
|
"test:unit": "yarn build && vitest run",
|
|
"test:e2e": "NODE_OPTIONS='--experimental-specifier-resolution=node --no-warnings' VITE_TEST=true playwright test",
|
|
"test:slowmo": "TIMEOUT=100000 PLAYWRIGHT_SLOWMO=100 yarn test:e2e --headed",
|
|
"test:e2e:full": "ALL_BROWSERS=1 yarn test:e2e",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.4.5",
|
|
"@dnd-kit/core": "6.0.8",
|
|
"@dnd-kit/sortable": "7.0.2",
|
|
"@ebay/nice-modal-react": "1.2.10",
|
|
"@sentry/react": "7.70.0",
|
|
"@tanstack/react-query": "4.35.3",
|
|
"@tryghost/color-utils": "0.1.24",
|
|
"@tryghost/limit-service": "^1.2.10",
|
|
"@tryghost/timezone-data": "0.3.0",
|
|
"@uiw/react-codemirror": "^4.21.9",
|
|
"clsx": "2.0.0",
|
|
"react": "18.2.0",
|
|
"react-colorful": "^5.1.2",
|
|
"react-dom": "18.2.0",
|
|
"validator": "7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.38.0",
|
|
"@storybook/addon-essentials": "7.4.0",
|
|
"@storybook/addon-interactions": "7.4.0",
|
|
"@storybook/addon-links": "7.4.0",
|
|
"@storybook/addon-styling": "1.3.7",
|
|
"@storybook/blocks": "7.4.0",
|
|
"@storybook/react": "7.4.0",
|
|
"@storybook/react-vite": "7.4.0",
|
|
"@storybook/testing-library": "0.2.1",
|
|
"@tailwindcss/forms": "0.5.6",
|
|
"@tailwindcss/line-clamp": "0.4.4",
|
|
"@types/react": "18.2.22",
|
|
"@types/react-dom": "18.2.7",
|
|
"@types/validator": "13.11.1",
|
|
"@vitejs/plugin-react": "4.0.4",
|
|
"autoprefixer": "10.4.16",
|
|
"concurrently": "8.2.1",
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
"eslint-plugin-react-refresh": "0.4.3",
|
|
"eslint-plugin-tailwindcss": "3.13.0",
|
|
"postcss": "8.4.30",
|
|
"postcss-import": "15.1.0",
|
|
"prop-types": "15.8.1",
|
|
"react-hot-toast": "2.4.1",
|
|
"react-select": "5.7.5",
|
|
"rollup-plugin-node-builtins": "2.1.2",
|
|
"storybook": "7.4.0",
|
|
"stylelint": "15.10.3",
|
|
"tailwindcss": "3.3.3",
|
|
"vite": "4.4.9",
|
|
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
"vite-plugin-svgr": "3.3.0",
|
|
"vitest": "0.34.3"
|
|
}
|
|
}
|