Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ playwright-report/
e2e-recordings/
locales/**/*_old.json
token
.claude/settings.local.json
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"apollo-link-logger": "^2.0.1",
"base64-arraybuffer": "^1.0.2",
"copy-text-to-clipboard": "^3.2.0",
"date-fns": "^2.30.0",
"debounce": "^1.2.1",
"date-fns": "^4",
"debounce": "^2",
"detect-browser": "^5.3.0",
"electron-window-controls": "^1.0.28",
"get-stream": "^6.0.1",
Expand All @@ -83,22 +83,22 @@
"ky": "^1.2.3",
"markdown-to-jsx": "7.4.6",
"md5": "^2.3.0",
"nanoevents": "^6.0.2",
"nanoevents": "^9",
"native-file-system-adapter": "^2.0.4",
"p-limit": "^3.1.0",
"p-map": "^5.5.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.15.4",
"react-router-dom": "^6.0.2",
"semver": "^7.3.5",
"semver": "^7.7",
"source-map-support": "^0.5.21",
"styled-components": "^5.3.3",
"type-guards": "^0.15.0",
"unzipit": "^1.4.3",
"usb": "2.12.1",
"use-media": "^1.5.0",
"uuid": "^9.0.1",
"uuid": "^11",
"web-streams-polyfill": "^3.3.3"
},
"scripts": {
Expand Down Expand Up @@ -142,7 +142,7 @@
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@electron/rebuild": "^3.6.0",
"@electron/rebuild": "^4.0.3",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/gql-tag-operations": "^4.0.6",
"@graphql-codegen/gql-tag-operations-preset": "^2.1.0",
Expand All @@ -159,7 +159,7 @@
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/debounce": "^1.2.1",
"@types/debounce": "^3",
"@types/is-ci": "^3.0.4",
"@types/md5": "^2.3.5",
"@types/node": "^20.12.5",
Expand All @@ -169,7 +169,7 @@
"@types/semver": "^7.5.8",
"@types/styled-components": "^5.1.17",
"@types/testing-library__jest-dom": "5.14.9",
"@types/uuid": "^8.3.4",
"@types/uuid": "^10",
"@types/w3c-web-usb": "^1.0.10",
"@types/wicg-file-system-access": "^2020.9.8",
"@typescript-eslint/eslint-plugin": "^5.6.0",
Expand All @@ -185,9 +185,9 @@
"css-loader": "^6.5.1",
"directory-tree": "^3.0.1",
"dotenv": "^10.0.0",
"electron": "^29.3.0",
"electron-builder": "^24.13.3",
"electron-devtools-installer": "^3.2.0",
"electron": "^35",
"electron-builder": "^26.8.1",
"electron-devtools-installer": "^4",
"esbuild-loader": "^2.21.0",
"eslint": "^8.4.1",
"eslint-config-airbnb": "^19.0.2",
Expand Down
5 changes: 0 additions & 5 deletions src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
if (allowedPermissions.includes(permission)) {
callback(true);
} else {
console.error(

Check warning on line 85 in src/main/index.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
`The application tried to request permission for '${permission}'. This permission was not whitelisted and has been blocked.`
);

Expand All @@ -92,10 +92,10 @@
}

if (!config.isProduction) {
console.log("loading renderer in development");

Check warning on line 95 in src/main/index.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
void mainWindow.loadURL(`http://localhost:8081/index.html`);
} else {
console.log("loading renderer");

Check warning on line 98 in src/main/index.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
void mainWindow.loadFile(path.join(__dirname, "../renderer/index.html"));
}

Expand Down Expand Up @@ -129,17 +129,12 @@
const {
default: installExtension,
REACT_DEVELOPER_TOOLS,
APOLLO_DEVELOPER_TOOLS,
// eslint-disable-next-line import/no-extraneous-dependencies
} = await import("electron-devtools-installer");
installExtension(REACT_DEVELOPER_TOOLS).catch((err) =>
// eslint-disable-next-line no-console
console.log("Error loading React DevTools: ", err)
);
installExtension(APOLLO_DEVELOPER_TOOLS).catch((err) =>
// eslint-disable-next-line no-console
console.log("Error loading Apollo DevTools: ", err)
);
mainWindow?.webContents.openDevTools({ mode: "detach" });
}
});
Expand All @@ -150,7 +145,7 @@
const startBackend = async (): Promise<void> => {
const mocked = config.startParams.isMocked || config.startParams.isE2e;
if (mocked) {
console.log("Creating backend in mocked mode");

Check warning on line 148 in src/main/index.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
}

const busLink = createBusLinkBackend({
Expand Down
Loading
Loading