Skip to content

Commit

Permalink
Remove sentry tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
hadynz committed Mar 26, 2023
1 parent 69bd06a commit eab0c97
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 37 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:

- name: Build
id: build
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
npm install
npm run lint
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-kindle-plugin",
"version": "1.8.1",
"version": "1.9.0",
"description": "Sync your Kindle book highlights using your Amazon login or uploading your My Clippings file",
"main": "src/index.ts",
"repository": {
Expand All @@ -27,8 +27,6 @@
},
"dependencies": {
"@hadynz/kindle-clippings": "^2.0.0",
"@sentry/browser": "^6.15.0",
"@sentry/tracing": "^6.15.0",
"cheerio": "1.0.0-rc.6",
"fletcher": "0.0.3",
"gray-matter": "^4.0.3",
Expand All @@ -40,7 +38,6 @@
"typed-emitter": "^1.4.0"
},
"devDependencies": {
"@sentry/webpack-plugin": "^1.18.3",
"@tsconfig/svelte": "^1.0.10",
"@types/faker": "^5.5.8",
"@types/jest": "^26.0.22",
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { SettingsTab } from '~/settings';
import { initializeStores, settingsStore } from '~/store';
import { SyncAmazon, SyncClippings, SyncManager } from '~/sync';

import '~/sentry';

addIcon('kindle', kindleIcon);

export default class KindlePlugin extends Plugin {
Expand Down
16 changes: 0 additions & 16 deletions src/sentry.ts

This file was deleted.

13 changes: 0 additions & 13 deletions webpack.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
import SentryWebpackPlugin from '@sentry/webpack-plugin';
import CopyPlugin from 'copy-webpack-plugin';
import dotenv from 'dotenv';
import path from 'path';
Expand All @@ -15,15 +12,6 @@ dotenv.config();
const isProduction = process.env.NODE_ENV === 'production';
const releaseVersion = pack.version;

const sentryPlugin = new SentryWebpackPlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: 'hadynz',
project: 'kindle-highlights',
release: releaseVersion,
ignore: ['node_modules', 'webpack.config.js'],
include: 'dist',
});

const config: Configuration = {
entry: './src/index.ts',
output: {
Expand Down Expand Up @@ -85,7 +73,6 @@ const config: Configuration = {
VERSION: JSON.stringify(releaseVersion),
PRODUCTION: JSON.stringify(isProduction),
}),
...(isProduction ? [sentryPlugin] : []),
],
resolve: {
alias: {
Expand Down

0 comments on commit eab0c97

Please sign in to comment.