Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
103 lines
6.4 KiB
TypeScript
103 lines
6.4 KiB
TypeScript
import { defineConfig } from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
'index': 'index.ts',
|
|
'types/index': 'types/index.ts',
|
|
'core/logger': 'core/logger.ts',
|
|
'core/secretProvider': 'core/secretProvider.ts',
|
|
'db/index': 'db/index.ts',
|
|
'db/admin': 'db/admin.ts',
|
|
'db/connection': 'db/connection.ts',
|
|
'db/tenant': 'db/tenant.ts',
|
|
'events/publisher': 'events/publisher.ts',
|
|
'utils/encryption': 'utils/encryption.ts',
|
|
'utils/retryUtils': 'utils/retryUtils.ts',
|
|
'workflow/index': 'workflow/index.ts',
|
|
'workflow/runtime/index': 'workflow/runtime/index.ts',
|
|
'workflow/persistence/index': 'workflow/persistence/index.ts',
|
|
'workflow/streams/index': 'workflow/streams/index.ts',
|
|
'workflow/streams/eventBusSchema': 'workflow/streams/eventBusSchema.ts',
|
|
'workflow/streams/redisStreamClient': 'workflow/streams/redisStreamClient.ts',
|
|
'workflow/streams/workflowEventPublishHelpers': 'workflow/streams/workflowEventPublishHelpers.ts',
|
|
'workflow/streams/workflowEventSchema': 'workflow/streams/workflowEventSchema.ts',
|
|
'workflow/streams/domainEventBuilders/appointmentEventBuilders': 'workflow/streams/domainEventBuilders/appointmentEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/assetEventBuilders': 'workflow/streams/domainEventBuilders/assetEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/capacityThresholdEventBuilders': 'workflow/streams/domainEventBuilders/capacityThresholdEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/clientEventBuilders': 'workflow/streams/domainEventBuilders/clientEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/contactEventBuilders': 'workflow/streams/domainEventBuilders/contactEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/contractEventBuilders': 'workflow/streams/domainEventBuilders/contractEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/creditNoteEventBuilders': 'workflow/streams/domainEventBuilders/creditNoteEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/crmInteractionNoteEventBuilders': 'workflow/streams/domainEventBuilders/crmInteractionNoteEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/documentAssociationEventBuilders': 'workflow/streams/domainEventBuilders/documentAssociationEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/documentGeneratedEventBuilders': 'workflow/streams/domainEventBuilders/documentGeneratedEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/documentStorageEventBuilders': 'workflow/streams/domainEventBuilders/documentStorageEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/emailFeedbackEventBuilders': 'workflow/streams/domainEventBuilders/emailFeedbackEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/externalMappingEventBuilders': 'workflow/streams/domainEventBuilders/externalMappingEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/inboundEmailReplyEventBuilders': 'workflow/streams/domainEventBuilders/inboundEmailReplyEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/integrationConnectionEventBuilders': 'workflow/streams/domainEventBuilders/integrationConnectionEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/integrationSyncEventBuilders': 'workflow/streams/domainEventBuilders/integrationSyncEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/integrationTokenEventBuilders': 'workflow/streams/domainEventBuilders/integrationTokenEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/integrationWebhookEventBuilders': 'workflow/streams/domainEventBuilders/integrationWebhookEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/mediaEventBuilders': 'workflow/streams/domainEventBuilders/mediaEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/notificationEventBuilders': 'workflow/streams/domainEventBuilders/notificationEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/projectLifecycleEventBuilders': 'workflow/streams/domainEventBuilders/projectLifecycleEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/projectTaskEventBuilders': 'workflow/streams/domainEventBuilders/projectTaskEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/recurringBillingRunEventBuilders': 'workflow/streams/domainEventBuilders/recurringBillingRunEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/scheduleBlockEventBuilders': 'workflow/streams/domainEventBuilders/scheduleBlockEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/surveyEventBuilders': 'workflow/streams/domainEventBuilders/surveyEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/tagEventBuilders': 'workflow/streams/domainEventBuilders/tagEventBuilders.ts',
|
|
'workflow/streams/domainEventBuilders/technicianDispatchEventBuilders': 'workflow/streams/domainEventBuilders/technicianDispatchEventBuilders.ts',
|
|
'workflow/secrets/index': 'workflow/secrets/index.ts',
|
|
'workflow/workers/index': 'workflow/workers/index.ts',
|
|
'workflow/services/index': 'workflow/services/index.ts',
|
|
'extension-utils/index': 'extension-utils/index.ts',
|
|
'models/clientModel': 'models/clientModel.ts',
|
|
'models/contactModel': 'models/contactModel.ts',
|
|
'models/scheduleEntry': 'models/scheduleEntry.ts',
|
|
'models/tagModel': 'models/tagModel.ts',
|
|
'models/ticketModel': 'models/ticketModel.ts',
|
|
'models/userModel': 'models/userModel.ts',
|
|
'utils/recurrenceUtils': 'utils/recurrenceUtils.ts',
|
|
'extensions/domain': 'extensions/domain.ts',
|
|
'extensions/installs': 'extensions/installs.ts',
|
|
'extensions/types': 'extensions/types.ts',
|
|
'billingClients/index': 'billingClients/index.ts',
|
|
'lib/ticketActivity/index': 'lib/ticketActivity/index.ts',
|
|
'lib/ticketActivity/types': 'lib/ticketActivity/types.ts',
|
|
'lib/ticketActivity/writeTicketActivity': 'lib/ticketActivity/writeTicketActivity.ts',
|
|
'lib/ticketActivity/readTicketActivity': 'lib/ticketActivity/readTicketActivity.ts',
|
|
'lib/ticketActivity/curatedTicketDiff': 'lib/ticketActivity/curatedTicketDiff.ts',
|
|
},
|
|
format: ['esm'],
|
|
dts: false,
|
|
bundle: true,
|
|
splitting: true,
|
|
sourcemap: false,
|
|
clean: true,
|
|
outDir: 'dist',
|
|
external: [
|
|
'react',
|
|
'react-dom',
|
|
'knex',
|
|
'pg',
|
|
'redis',
|
|
'winston',
|
|
'winston-daily-rotate-file',
|
|
'uuid',
|
|
'zod',
|
|
'dotenv',
|
|
'axios',
|
|
'jsonata',
|
|
'turndown',
|
|
'node-vault',
|
|
'googleapis',
|
|
'google-auth-library',
|
|
'@js-temporal/polyfill',
|
|
/^@alga-psa\//,
|
|
],
|
|
noExternal: [
|
|
/^@shared\//,
|
|
],
|
|
});
|