Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarvarela committed Jun 20, 2023
1 parent 7647a16 commit 57e434d
Show file tree
Hide file tree
Showing 8 changed files with 6,897 additions and 5,002 deletions.
11,544 changes: 6,882 additions & 4,662 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
}
],
"plugins": [
[
"@electron-forge/plugin-webpack",
{
{
"name": "@electron-forge/plugin-webpack",
"config": {
"mainConfig": "./webpack.main.config.js",
"renderer": {
"config": "./webpack.renderer.config.js",
Expand All @@ -83,12 +83,12 @@
]
}
}
]
}
]
}
},
"devDependencies": {
"@electron-forge/cli": "^6.0.0-beta.59",
"@electron-forge/cli": "^6.2.1",
"@electron-forge/maker-deb": "^6.0.0-beta.59",
"@electron-forge/maker-rpm": "^6.0.0-beta.59",
"@electron-forge/maker-squirrel": "^6.0.0-beta.59",
Expand Down Expand Up @@ -128,12 +128,11 @@
"grommet-theme-hpe": "^2.1.0",
"libnpmsearch": "^3.1.2",
"node-fetch": "^2.6.1",
"node-schedule": "^2.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"stahp-theme-default": "^1.1.0",
"styled-components": "^5.3.0",
"tar": "^6.1.1",
"tslib": "^2.3.0"
}
}
}
2 changes: 1 addition & 1 deletion src/Core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Tray, Menu, app, BrowserWindow, ipcMain, screen, shell, nativeTheme } f
import path from 'path'
import storage from 'electron-json-storage'
import { Display } from 'electron/main';
import Activity from './Activity';
import Activity from './Tracker';
import Themes from './Themes';
import General from './General';
import { fadeWindowIn, fadeWindowOut } from './Fade';
Expand Down
74 changes: 0 additions & 74 deletions src/Scheduler.ts

This file was deleted.

9 changes: 8 additions & 1 deletion src/Activity.ts → src/Tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ export default class Activity {
private onFinishActivity: () => void = null
private onFinishLongBreak: () => void = null

constructor({ onFinishActivity, onFinishLongBreak }: { onFinishActivity: () => void, onFinishLongBreak: () => void, }) {
constructor(
{
onFinishActivity,
onFinishLongBreak
}: {
onFinishActivity: () => void,
onFinishLongBreak: () => void,
}) {

this.onFinishActivity = onFinishActivity
this.onFinishLongBreak = onFinishLongBreak
Expand Down
251 changes: 0 additions & 251 deletions src/components/Scheduled.tsx

This file was deleted.

Loading

0 comments on commit 57e434d

Please sign in to comment.