Fix self host application (#18292)

- Fixes self host application
- add new telemetry information
- add serverId to identify a server instance
- remove .twenty from git tracking
- tree-shake "twenty-sdk" usage in built logic functions and front
components
- fix "twenty-sdk" version usage
- fix twenty-zapier cli

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
martmull
2026-03-02 12:06:05 +01:00
committed by GitHub
parent 1b67ba6a75
commit d021f7e369
48 changed files with 5809 additions and 404 deletions
@@ -24,10 +24,14 @@ export const copyYarnEngineAndBuildDependencies = async (
const { NODE_OPTIONS: _nodeOptions, ...cleanEnv } = process.env;
try {
await execFilePromise(process.execPath, [localYarnPath], {
cwd: buildDirectory,
env: cleanEnv,
});
await execFilePromise(
process.execPath,
[localYarnPath, 'workspaces', 'focus', '--all', '--production'],
{
cwd: buildDirectory,
env: cleanEnv,
},
);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (error: any) {
const errorMessage =