The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(server): drop twenty-server import from version bump script (#28989)
Etienneed9e8377de2e
diff --git a/packages/twenty-server/scripts/generate-workspace-custom-application-dependencies.ts b/packages/twenty-server/scripts/generate-workspace-custom-application-dependencies.tsindex 97498e73936..f358c927b2a 100644--- a/packages/twenty-server/scripts/generate-workspace-custom-application-dependencies.ts+++ b/packages/twenty-server/scripts/generate-workspace-custom-application-dependencies.ts@@ -9,7 +9,6 @@ import {import { tmpdir } from 'os';import { join, resolve } from 'path';-import { isNonEmptyString } from '@sniptt/guards';import semver from 'semver';import { TWENTY_PREVIOUS_VERSIONS } from '../src/engine/core-modules/upgrade/constants/twenty-previous-versions.constant';@@ -56,7 +55,7 @@ export const generateWorkspaceCustomApplicationDependencies = ({const yarnConfiguration = readFileSync(yarnConfigurationPath, 'utf8');const yarnPath = /^yarnPath:\s*(.+)$/m.exec(yarnConfiguration)?.[1]?.trim();- if (!isNonEmptyString(yarnPath)) {+ if (!yarnPath) {throw new Error('The application Yarn configuration has no yarnPath');}