The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { basename, sep } from 'node:path';
const IGNORED_DIRECTORIES = new Set(['node_modules', '.git', '.twenty']);
export const isIgnoredWatchPath = (filePath: string) =>
filePath.split(sep).some((part) => IGNORED_DIRECTORIES.has(part)) ||
basename(filePath) === '.DS_Store' ||
/(?:~|\.sw[a-z]|\.tmp)$/.test(basename(filePath));