Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Include ignore regexes in forge config
Hakan Shehu159deb3ae3f8
diff --git a/apps/desktop/forge.config.ts b/apps/desktop/forge.config.tsindex c59a6701..a48ea894 100644--- a/apps/desktop/forge.config.ts+++ b/apps/desktop/forge.config.ts@@ -10,6 +10,21 @@ import { FuseV1Options, FuseVersion } from '@electron/fuses';const config: ForgeConfig = {packagerConfig: {asar: true,+ ignore: [+ /^\/src/,+ /^\/test/,+ /^\/tools/,+ /^\/release/,+ /^\/docs/,+ /^\/dist/,+ /\.git/,+ /\.vscode/,+ /\.idea/,+ /^\/\.env/,+ // Don't ignore node_modules+ // /^\/node_modules/+ ],+ extraResource: ['assets'],},rebuildConfig: {},makers: [diff --git a/apps/desktop/src/preload.ts b/apps/desktop/src/preload.tsindex 3ec7558d..7a8ab8ad 100644--- a/apps/desktop/src/preload.ts+++ b/apps/desktop/src/preload.ts@@ -11,7 +11,6 @@ import { Event } from '@/shared/types/events';contextBridge.exposeInMainWorld('colanode', {init: () => ipcRenderer.invoke('init'),- logout: (accountId: string) => ipcRenderer.invoke('logout', accountId),executeMutation: <T extends MutationInput>(input: T