Skip to content

Commit

Permalink
Remove old localtunnel share implementation (#457)
Browse files Browse the repository at this point in the history
* Remove dead localtunnel code
  • Loading branch information
Kitenite authored Oct 4, 2024
1 parent 8953f07 commit 284366f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 185 deletions.
Binary file modified app/bun.lockb
Binary file not shown.
4 changes: 0 additions & 4 deletions app/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ export enum MainChannels {
PICK_COMPONENTS_DIRECTORY = 'pick-directory',
GET_COMPONENTS = 'get-components',

// Tunnel
OPEN_TUNNEL = 'open-tunnel',
CLOSE_TUNNEL = 'close-tunnel',

// Analytics
UPDATE_ANALYTICS_PREFERENCE = 'update-analytics-preference',
SEND_ANALYTICS = 'send-analytics',
Expand Down
4 changes: 0 additions & 4 deletions app/common/models/tunnel.ts

This file was deleted.

2 changes: 0 additions & 2 deletions app/electron/main/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ import { listenForAuthMessages } from './auth';
import { listenForCodeMessages } from './code';
import { listenForCreateMessages } from './create';
import { listenForStorageMessages } from './storage';
import { listenForTunnelMessages } from './tunnel';
import { MainChannels } from '/common/constants';
import { WindowCommand } from '/common/models/project';

export function listenForIpcMessages() {
listenForGeneralMessages();
listenForTunnelMessages();
listenForAnalyticsMessages();
listenForCodeMessages();
listenForStorageMessages();
Expand Down
16 changes: 0 additions & 16 deletions app/electron/main/events/tunnel.ts

This file was deleted.

23 changes: 0 additions & 23 deletions app/electron/main/tunnel/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"fix-path": "^4.0.0",
"framer-motion": "^11.5.4",
"js-string-escape": "^1.0.1",
"localtunnel": "^2.0.2",
"lodash.debounce": "^4.0.8",
"mixpanel": "^0.18.0",
"nanoid": "^5.0.7",
Expand Down Expand Up @@ -99,7 +98,6 @@
"@types/css-tree": "^2.3.8",
"@types/culori": "^2.1.0",
"@types/js-string-escape": "^1.0.3",
"@types/localtunnel": "^2.0.4",
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.9",
"@types/react": "^18.2.64",
Expand Down
134 changes: 0 additions & 134 deletions app/src/routes/editor/TopBar/SharePopover/index.tsx

This file was deleted.

0 comments on commit 284366f

Please sign in to comment.