chore(server): run TS files directly (no compilation) (#5134)

* sort of works

* type fixes

* added option to run old way too
This commit is contained in:
Kristaps Fabians Geikins
2025-07-23 12:20:40 +03:00
committed by GitHub
parent e34a44bf66
commit 4b06f42db7
734 changed files with 2713 additions and 2644 deletions
@@ -1,4 +1,4 @@
import { CommandModule } from 'yargs'
import type { CommandModule } from 'yargs'
import { cliLogger as logger } from '@/observability/logging'
import {
getWorkspaceBySlugOrIdFactory,
@@ -11,7 +11,8 @@ import {
upsertWorkspacePlanFactory
} from '@/modules/gatekeeper/repositories/billing'
import { WorkspaceNotFoundError } from '@/modules/workspaces/errors/workspace'
import { WorkspacePlans, WorkspacePlanStatuses } from '@speckle/shared'
import type { WorkspacePlanStatuses } from '@speckle/shared'
import { WorkspacePlans } from '@speckle/shared'
import { getEventBus } from '@/modules/shared/services/eventBus'
import { updateWorkspacePlanFactory } from '@/modules/gatekeeper/services/workspacePlans'