-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sentry source map tracking and release (#4731)
* Add sentry source map tracking and release * Throw error * Remove old scripts * Remove throw button * Add changeset * Fix sentry in storybook
- Loading branch information
Showing
9 changed files
with
437 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"saleor-dashboard": patch | ||
--- | ||
|
||
Enable sourcemaps export to Senty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ | |
"@saleor/macaw-ui-next": "npm:@saleor/[email protected]", | ||
"@saleor/sdk": "0.6.0", | ||
"@sentry/react": "^7.83.0", | ||
"@sentry/vite-plugin": "^2.15.0", | ||
"@types/faker": "^5.1.6", | ||
"@uiw/react-color-hue": "0.0.34", | ||
"@uiw/react-color-material": "^0.1.0", | ||
|
@@ -317,9 +318,6 @@ | |
"dev": "vite --host", | ||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build", | ||
"preview": "vite preview", | ||
"sentry:inject": "sentry-cli sourcemaps inject build/dashboard", | ||
"sentry:upload": "sentry-cli sourcemaps upload build/dashboard", | ||
"sentry:clean": "node scripts/removeSourcemaps.js", | ||
"build-storybook": "cross-env NODE_OPTIONS=--max-old-space-size=6144 storybook build -o build/storybook", | ||
"build-types": "node scripts/build-types.js", | ||
"build-flags": "node scripts/build-flags.js", | ||
|
@@ -348,7 +346,6 @@ | |
"lint": "eslint \"src/**/*.@(tsx|ts|jsx|js)\" --fix", | ||
"lint:check-progress": "eslint-nibble \"src/**/*.@(tsx|ts|jsx|js)\"", | ||
"prebuild": "npm run build-types", | ||
"postbuild": "./scripts/sentry-upload.sh", | ||
"predev": "npm run build-types", | ||
"release": "echo $npm_package_version | xargs git tag && git push --follow-tags", | ||
"prepare": "is-ci || husky install", | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters