@pgpmjs/export 0.26.8 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/export-utils.js CHANGED
@@ -3,13 +3,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.normalizeOutdir = exports.preparePackage = exports.makeReplacer = exports.installMissingModules = exports.detectMissingModules = exports.META_TABLE_CONFIG = exports.META_TABLE_ORDER = exports.META_COMMON_FOOTER = exports.META_COMMON_HEADER = exports.SERVICE_REQUIRED_EXTENSIONS = exports.mapPgTypeToFieldType = exports.DB_REQUIRED_EXTENSIONS = void 0;
6
+ exports.normalizeOutdir = exports.preparePackage = exports.makeReplacer = exports.installMissingModules = exports.detectMissingModules = exports.META_TABLE_CONFIG = exports.META_TABLE_ORDER = exports.META_TABLE_OVERRIDES = exports.META_COMMON_FOOTER = exports.META_COMMON_HEADER = exports.SERVICE_REQUIRED_EXTENSIONS = exports.mapPgTypeToFieldType = exports.DB_REQUIRED_EXTENSIONS = void 0;
7
7
  const fs_1 = require("fs");
8
8
  const glob_1 = require("glob");
9
9
  const inflekt_1 = require("inflekt");
10
10
  const path_1 = __importDefault(require("path"));
11
11
  const core_1 = require("@pgpmjs/core");
12
12
  const type_map_1 = require("./type-map");
13
+ const meta_export_tables_json_1 = __importDefault(require("./meta-export-tables.json"));
13
14
  // =============================================================================
14
15
  // Shared constants
15
16
  // =============================================================================
@@ -88,206 +89,17 @@ $LQLMIGRATION$;`;
88
89
  exports.META_COMMON_FOOTER = `
89
90
  SET session_replication_role TO DEFAULT;`;
90
91
  /**
91
- * Ordered list of meta tables for export.
92
- * Tables are processed in this order to satisfy foreign key dependencies.
92
+ * Hand-authored per-table overrides layered on top of the generated
93
+ * table manifest. Only exceptional exporter behavior lives here:
94
+ * conflict handling, special field types (image, upload, url) that
95
+ * cannot be inferred, GraphQL type name overrides, and columns whose
96
+ * values must come from DDL defaults at deploy time.
93
97
  */
94
- exports.META_TABLE_ORDER = [
95
- 'database',
96
- 'schema',
97
- 'function',
98
- 'table',
99
- 'field',
100
- 'spatial_relation',
101
- 'policy',
102
- 'index',
103
- 'trigger',
104
- 'trigger_function',
105
- 'rls_function',
106
- 'foreign_key_constraint',
107
- 'primary_key_constraint',
108
- 'unique_constraint',
109
- 'check_constraint',
110
- 'full_text_search',
111
- 'schema_grant',
112
- 'table_grant',
113
- 'default_privilege',
114
- 'domains',
115
- 'sites',
116
- 'apis',
117
- 'apps',
118
- 'site_modules',
119
- 'site_themes',
120
- 'site_metadata',
121
- 'api_modules',
122
- 'api_extensions',
123
- 'api_schemas',
124
- 'database_settings',
125
- 'api_settings',
126
- 'rls_settings',
127
- 'cors_settings',
128
- 'pubkey_settings',
129
- 'webauthn_settings',
130
- 'rls_module',
131
- 'user_auth_module',
132
- 'memberships_module',
133
- 'permissions_module',
134
- 'limits_module',
135
- 'levels_module',
136
- 'events_module',
137
- 'users_module',
138
- 'hierarchy_module',
139
- 'membership_types_module',
140
- 'invites_module',
141
- 'emails_module',
142
- 'sessions_module',
143
- 'user_state_module',
144
- 'profiles_module',
145
- 'config_secrets_user_module',
146
- 'user_credentials_module',
147
- 'user_settings_module',
148
- 'connected_accounts_module',
149
- 'phone_numbers_module',
150
- 'crypto_addresses_module',
151
- 'crypto_auth_module',
152
- 'field_module',
153
- 'table_module',
154
- 'secure_table_provision',
155
- 'uuid_module',
156
- 'default_ids_module',
157
- 'denormalized_table_field',
158
- // NOTE: blueprint_template, blueprint, and blueprint_construction are intentionally
159
- // excluded from the export flow — they are runtime-only tables not exported as metadata.
160
- 'relation_provision',
161
- 'entity_type_provision',
162
- 'rate_limits_module',
163
- 'storage_module',
164
- 'billing_module',
165
- 'billing_provider_module',
166
- 'devices_module',
167
- 'identity_providers_module',
168
- 'notifications_module',
169
- 'plans_module',
170
- 'realtime_module',
171
- 'session_secrets_module',
172
- 'infra_secrets_module',
173
- 'infra_config_module',
174
- 'internal_secrets_module',
175
- 'i18n_module',
176
- 'agent_module',
177
- 'function_module',
178
- 'namespace_module',
179
- 'merkle_store_module',
180
- 'graph_module',
181
- 'graph_execution_module',
182
- 'function_deployment_module',
183
- 'function_invocation_module',
184
- 'compute_log_module',
185
- 'db_usage_module',
186
- 'storage_log_module',
187
- 'transfer_log_module',
188
- 'webauthn_auth_module',
189
- 'webauthn_credentials_module',
190
- 'inference_log_module',
191
- 'rate_limit_meters_module'
192
- ];
193
- /**
194
- * Shared metadata table configuration.
195
- *
196
- * Fields are discovered dynamically at runtime via introspection:
197
- * - SQL flow: uses information_schema.columns + mapPgTypeToFieldType()
198
- * - GraphQL flow: uses __type introspection + mapGraphQLTypeToFieldType()
199
- *
200
- * Only `typeOverrides` are hardcoded for special types (image, upload, url)
201
- * that cannot be inferred from database/GraphQL types alone.
202
- *
203
- */
204
- exports.META_TABLE_CONFIG = {
205
- // =============================================================================
206
- // metaschema_public tables
207
- // =============================================================================
208
- database: {
209
- schema: 'metaschema_public',
210
- table: 'database'
211
- },
212
- schema: {
213
- schema: 'metaschema_public',
214
- table: 'schema'
215
- },
216
- function: {
217
- schema: 'metaschema_public',
218
- table: 'function'
219
- },
220
- table: {
221
- schema: 'metaschema_public',
222
- table: 'table'
223
- },
98
+ exports.META_TABLE_OVERRIDES = {
224
99
  field: {
225
- schema: 'metaschema_public',
226
- table: 'field',
227
100
  conflictDoNothing: true
228
101
  },
229
- policy: {
230
- schema: 'metaschema_public',
231
- table: 'policy'
232
- },
233
- index: {
234
- schema: 'metaschema_public',
235
- table: 'index'
236
- },
237
- trigger: {
238
- schema: 'metaschema_public',
239
- table: 'trigger'
240
- },
241
- trigger_function: {
242
- schema: 'metaschema_public',
243
- table: 'trigger_function'
244
- },
245
- rls_function: {
246
- schema: 'metaschema_public',
247
- table: 'rls_function'
248
- },
249
- foreign_key_constraint: {
250
- schema: 'metaschema_public',
251
- table: 'foreign_key_constraint'
252
- },
253
- primary_key_constraint: {
254
- schema: 'metaschema_public',
255
- table: 'primary_key_constraint'
256
- },
257
- unique_constraint: {
258
- schema: 'metaschema_public',
259
- table: 'unique_constraint'
260
- },
261
- check_constraint: {
262
- schema: 'metaschema_public',
263
- table: 'check_constraint'
264
- },
265
- full_text_search: {
266
- schema: 'metaschema_public',
267
- table: 'full_text_search'
268
- },
269
- schema_grant: {
270
- schema: 'metaschema_public',
271
- table: 'schema_grant'
272
- },
273
- table_grant: {
274
- schema: 'metaschema_public',
275
- table: 'table_grant'
276
- },
277
- default_privilege: {
278
- schema: 'metaschema_public',
279
- table: 'default_privilege'
280
- },
281
- // =============================================================================
282
- // services_public tables
283
- // =============================================================================
284
- domains: {
285
- schema: 'services_public',
286
- table: 'domains'
287
- },
288
102
  sites: {
289
- schema: 'services_public',
290
- table: 'sites',
291
103
  typeOverrides: {
292
104
  og_image: 'image',
293
105
  favicon: 'upload',
@@ -299,322 +111,47 @@ exports.META_TABLE_CONFIG = {
299
111
  }
300
112
  },
301
113
  apis: {
302
- schema: 'services_public',
303
- table: 'apis',
304
114
  columnDefaults: {
305
115
  dbname: 'current_database()'
306
116
  }
307
117
  },
308
118
  apps: {
309
- schema: 'services_public',
310
- table: 'apps',
311
119
  typeOverrides: {
312
120
  app_image: 'image',
313
121
  app_store_link: 'url',
314
122
  play_store_link: 'url'
315
123
  }
316
124
  },
317
- site_modules: {
318
- schema: 'services_public',
319
- table: 'site_modules'
320
- },
321
- site_themes: {
322
- schema: 'services_public',
323
- table: 'site_themes'
324
- },
325
125
  site_metadata: {
326
- schema: 'services_public',
327
- table: 'site_metadata',
328
126
  typeOverrides: {
329
127
  og_image: 'image'
330
128
  }
331
129
  },
332
- api_modules: {
333
- schema: 'services_public',
334
- table: 'api_modules'
335
- },
336
- api_extensions: {
337
- schema: 'services_public',
338
- table: 'api_extensions'
339
- },
340
- api_schemas: {
341
- schema: 'services_public',
342
- table: 'api_schemas'
343
- },
344
- database_settings: {
345
- schema: 'services_public',
346
- table: 'database_settings'
347
- },
348
- api_settings: {
349
- schema: 'services_public',
350
- table: 'api_settings'
351
- },
352
- rls_settings: {
353
- schema: 'services_public',
354
- table: 'rls_settings'
355
- },
356
- cors_settings: {
357
- schema: 'services_public',
358
- table: 'cors_settings'
359
- },
360
- pubkey_settings: {
361
- schema: 'services_public',
362
- table: 'pubkey_settings'
363
- },
364
- webauthn_settings: {
365
- schema: 'services_public',
366
- table: 'webauthn_settings'
367
- },
368
- // =============================================================================
369
- // metaschema_modules_public tables
370
- // =============================================================================
371
- rls_module: {
372
- schema: 'metaschema_modules_public',
373
- table: 'rls_module'
374
- },
375
- user_auth_module: {
376
- schema: 'metaschema_modules_public',
377
- table: 'user_auth_module'
378
- },
379
- memberships_module: {
380
- schema: 'metaschema_modules_public',
381
- table: 'memberships_module'
382
- },
383
- permissions_module: {
384
- schema: 'metaschema_modules_public',
385
- table: 'permissions_module'
386
- },
387
- limits_module: {
388
- schema: 'metaschema_modules_public',
389
- table: 'limits_module'
390
- },
391
- levels_module: {
392
- schema: 'metaschema_modules_public',
393
- table: 'levels_module'
394
- },
395
- events_module: {
396
- schema: 'metaschema_modules_public',
397
- table: 'events_module'
398
- },
399
- users_module: {
400
- schema: 'metaschema_modules_public',
401
- table: 'users_module'
402
- },
403
- hierarchy_module: {
404
- schema: 'metaschema_modules_public',
405
- table: 'hierarchy_module'
406
- },
407
- membership_types_module: {
408
- schema: 'metaschema_modules_public',
409
- table: 'membership_types_module'
410
- },
411
- invites_module: {
412
- schema: 'metaschema_modules_public',
413
- table: 'invites_module'
414
- },
415
- emails_module: {
416
- schema: 'metaschema_modules_public',
417
- table: 'emails_module'
418
- },
419
- sessions_module: {
420
- schema: 'metaschema_modules_public',
421
- table: 'sessions_module'
422
- },
423
- user_state_module: {
424
- schema: 'metaschema_modules_public',
425
- table: 'user_state_module'
426
- },
427
- profiles_module: {
428
- schema: 'metaschema_modules_public',
429
- table: 'profiles_module'
430
- },
431
- config_secrets_user_module: {
432
- schema: 'metaschema_modules_public',
433
- table: 'config_secrets_user_module'
434
- },
435
- user_credentials_module: {
436
- schema: 'metaschema_modules_public',
437
- table: 'user_credentials_module'
438
- },
439
- user_settings_module: {
440
- schema: 'metaschema_modules_public',
441
- table: 'user_settings_module'
442
- },
443
- connected_accounts_module: {
444
- schema: 'metaschema_modules_public',
445
- table: 'connected_accounts_module'
446
- },
447
- phone_numbers_module: {
448
- schema: 'metaschema_modules_public',
449
- table: 'phone_numbers_module'
450
- },
451
- crypto_addresses_module: {
452
- schema: 'metaschema_modules_public',
453
- table: 'crypto_addresses_module'
454
- },
455
- crypto_auth_module: {
456
- schema: 'metaschema_modules_public',
457
- table: 'crypto_auth_module'
458
- },
459
- field_module: {
460
- schema: 'metaschema_modules_public',
461
- table: 'field_module'
462
- },
463
- table_module: {
464
- schema: 'metaschema_modules_public',
465
- table: 'table_module'
466
- },
467
- // NOTE: table_template_module has been removed from pgpm-modules (superseded by blueprints)
468
- secure_table_provision: {
469
- schema: 'metaschema_modules_public',
470
- table: 'secure_table_provision'
471
- },
472
- uuid_module: {
473
- schema: 'metaschema_modules_public',
474
- table: 'uuid_module'
475
- },
476
- default_ids_module: {
477
- schema: 'metaschema_modules_public',
478
- table: 'default_ids_module'
479
- },
480
- denormalized_table_field: {
481
- schema: 'metaschema_modules_public',
482
- table: 'denormalized_table_field'
483
- },
484
- relation_provision: {
485
- schema: 'metaschema_modules_public',
486
- table: 'relation_provision'
487
- },
488
- entity_type_provision: {
489
- schema: 'metaschema_modules_public',
490
- table: 'entity_type_provision'
491
- },
492
- rate_limits_module: {
493
- schema: 'metaschema_modules_public',
494
- table: 'rate_limits_module'
495
- },
496
- storage_module: {
497
- schema: 'metaschema_modules_public',
498
- table: 'storage_module'
499
- },
500
- billing_module: {
501
- schema: 'metaschema_modules_public',
502
- table: 'billing_module'
503
- },
504
- billing_provider_module: {
505
- schema: 'metaschema_modules_public',
506
- table: 'billing_provider_module'
507
- },
508
- devices_module: {
509
- schema: 'metaschema_modules_public',
510
- table: 'devices_module'
511
- },
512
- identity_providers_module: {
513
- schema: 'metaschema_modules_public',
514
- table: 'identity_providers_module'
515
- },
516
- notifications_module: {
517
- schema: 'metaschema_modules_public',
518
- table: 'notifications_module'
519
- },
520
- plans_module: {
521
- schema: 'metaschema_modules_public',
522
- table: 'plans_module'
523
- },
524
- realtime_module: {
525
- schema: 'metaschema_modules_public',
526
- table: 'realtime_module'
527
- },
528
- session_secrets_module: {
529
- schema: 'metaschema_modules_public',
530
- table: 'session_secrets_module'
531
- },
532
- infra_secrets_module: {
533
- schema: 'metaschema_modules_public',
534
- table: 'infra_secrets_module'
535
- },
536
- infra_config_module: {
537
- schema: 'metaschema_modules_public',
538
- table: 'infra_config_module'
539
- },
540
- internal_secrets_module: {
541
- schema: 'metaschema_modules_public',
542
- table: 'internal_secrets_module'
543
- },
544
130
  i18n_module: {
545
- schema: 'metaschema_modules_public',
546
- table: 'i18n_module',
547
131
  gqlTypeName: 'I18NModule' // i18n is a well-known abbreviation; PostGraphile inflector capitalizes the N
548
- },
549
- agent_module: {
550
- schema: 'metaschema_modules_public',
551
- table: 'agent_module'
552
- },
553
- function_module: {
554
- schema: 'metaschema_modules_public',
555
- table: 'function_module'
556
- },
557
- namespace_module: {
558
- schema: 'metaschema_modules_public',
559
- table: 'namespace_module'
560
- },
561
- merkle_store_module: {
562
- schema: 'metaschema_modules_public',
563
- table: 'merkle_store_module'
564
- },
565
- graph_module: {
566
- schema: 'metaschema_modules_public',
567
- table: 'graph_module'
568
- },
569
- graph_execution_module: {
570
- schema: 'metaschema_modules_public',
571
- table: 'graph_execution_module'
572
- },
573
- function_deployment_module: {
574
- schema: 'metaschema_modules_public',
575
- table: 'function_deployment_module'
576
- },
577
- function_invocation_module: {
578
- schema: 'metaschema_modules_public',
579
- table: 'function_invocation_module'
580
- },
581
- compute_log_module: {
582
- schema: 'metaschema_modules_public',
583
- table: 'compute_log_module'
584
- },
585
- db_usage_module: {
586
- schema: 'metaschema_modules_public',
587
- table: 'db_usage_module'
588
- },
589
- storage_log_module: {
590
- schema: 'metaschema_modules_public',
591
- table: 'storage_log_module'
592
- },
593
- transfer_log_module: {
594
- schema: 'metaschema_modules_public',
595
- table: 'transfer_log_module'
596
- },
597
- webauthn_auth_module: {
598
- schema: 'metaschema_modules_public',
599
- table: 'webauthn_auth_module'
600
- },
601
- webauthn_credentials_module: {
602
- schema: 'metaschema_modules_public',
603
- table: 'webauthn_credentials_module'
604
- },
605
- inference_log_module: {
606
- schema: 'metaschema_modules_public',
607
- table: 'inference_log_module',
608
- },
609
- rate_limit_meters_module: {
610
- schema: 'metaschema_modules_public',
611
- table: 'rate_limit_meters_module',
612
- },
613
- spatial_relation: {
614
- schema: 'metaschema_public',
615
- table: 'spatial_relation'
616
132
  }
617
133
  };
134
+ /**
135
+ * Ordered list of meta tables for export, derived from the generated
136
+ * manifest. Tables are already topologically sorted by foreign key
137
+ * dependencies at generation time.
138
+ */
139
+ exports.META_TABLE_ORDER = meta_export_tables_json_1.default.tables.map(t => t.key);
140
+ /**
141
+ * Shared metadata table configuration, built from the generated manifest
142
+ * plus META_TABLE_OVERRIDES.
143
+ *
144
+ * Fields are discovered dynamically at runtime via introspection:
145
+ * - SQL flow: uses information_schema.columns + mapPgTypeToFieldType()
146
+ * - GraphQL flow: uses __type introspection + mapGraphQLTypeToFieldType()
147
+ *
148
+ * Only `typeOverrides` are hardcoded for special types (image, upload, url)
149
+ * that cannot be inferred from database/GraphQL types alone.
150
+ */
151
+ exports.META_TABLE_CONFIG = Object.fromEntries(meta_export_tables_json_1.default.tables.map(t => [
152
+ t.key,
153
+ { schema: t.schema, table: t.table, ...exports.META_TABLE_OVERRIDES[t.key] }
154
+ ]));
618
155
  // =============================================================================
619
156
  // Shared functions
620
157
  // =============================================================================
package/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export * from './export-graphql';
4
4
  export * from './export-graphql-meta';
5
5
  export { GraphQLClient } from './graphql-client';
6
6
  export { getGraphQLQueryName, getGraphQLTypeName, graphqlRowToPostgresRow, buildFieldsFragment, mapGraphQLTypeToFieldType, unwrapGraphQLType, GraphQLTypeInfo } from './graphql-naming';
7
- export { DB_REQUIRED_EXTENSIONS, SERVICE_REQUIRED_EXTENSIONS, META_COMMON_HEADER, META_COMMON_FOOTER, META_TABLE_ORDER, META_TABLE_CONFIG, mapPgTypeToFieldType, makeReplacer, preparePackage, normalizeOutdir, detectMissingModules, installMissingModules } from './export-utils';
8
- export type { FieldType, TableConfig, Schema, MakeReplacerOptions, ReplacerResult, PreparePackageOptions, MissingModulesResult } from './export-utils';
7
+ export { DB_REQUIRED_EXTENSIONS, SERVICE_REQUIRED_EXTENSIONS, META_COMMON_HEADER, META_COMMON_FOOTER, META_TABLE_ORDER, META_TABLE_CONFIG, META_TABLE_OVERRIDES, mapPgTypeToFieldType, makeReplacer, preparePackage, normalizeOutdir, detectMissingModules, installMissingModules } from './export-utils';
8
+ export type { FieldType, TableConfig, MetaExportTableEntry, Schema, MakeReplacerOptions, ReplacerResult, PreparePackageOptions, MissingModulesResult } from './export-utils';
9
9
  export { PG_TYPE_MAP, TypeMapEntry, lookupByPgUdt, lookupByGqlType } from './type-map';
10
10
  export { intervalToPostgres, parsePgInterval, PgInterval } from './interval-utils';
package/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.parsePgInterval = exports.intervalToPostgres = exports.lookupByGqlType = exports.lookupByPgUdt = exports.PG_TYPE_MAP = exports.installMissingModules = exports.detectMissingModules = exports.normalizeOutdir = exports.preparePackage = exports.makeReplacer = exports.mapPgTypeToFieldType = exports.META_TABLE_CONFIG = exports.META_TABLE_ORDER = exports.META_COMMON_FOOTER = exports.META_COMMON_HEADER = exports.SERVICE_REQUIRED_EXTENSIONS = exports.DB_REQUIRED_EXTENSIONS = exports.unwrapGraphQLType = exports.mapGraphQLTypeToFieldType = exports.buildFieldsFragment = exports.graphqlRowToPostgresRow = exports.getGraphQLTypeName = exports.getGraphQLQueryName = exports.GraphQLClient = void 0;
17
+ exports.parsePgInterval = exports.intervalToPostgres = exports.lookupByGqlType = exports.lookupByPgUdt = exports.PG_TYPE_MAP = exports.installMissingModules = exports.detectMissingModules = exports.normalizeOutdir = exports.preparePackage = exports.makeReplacer = exports.mapPgTypeToFieldType = exports.META_TABLE_OVERRIDES = exports.META_TABLE_CONFIG = exports.META_TABLE_ORDER = exports.META_COMMON_FOOTER = exports.META_COMMON_HEADER = exports.SERVICE_REQUIRED_EXTENSIONS = exports.DB_REQUIRED_EXTENSIONS = exports.unwrapGraphQLType = exports.mapGraphQLTypeToFieldType = exports.buildFieldsFragment = exports.graphqlRowToPostgresRow = exports.getGraphQLTypeName = exports.getGraphQLQueryName = exports.GraphQLClient = void 0;
18
18
  __exportStar(require("./export-meta"), exports);
19
19
  __exportStar(require("./export-migrations"), exports);
20
20
  __exportStar(require("./export-graphql"), exports);
@@ -35,6 +35,7 @@ Object.defineProperty(exports, "META_COMMON_HEADER", { enumerable: true, get: fu
35
35
  Object.defineProperty(exports, "META_COMMON_FOOTER", { enumerable: true, get: function () { return export_utils_1.META_COMMON_FOOTER; } });
36
36
  Object.defineProperty(exports, "META_TABLE_ORDER", { enumerable: true, get: function () { return export_utils_1.META_TABLE_ORDER; } });
37
37
  Object.defineProperty(exports, "META_TABLE_CONFIG", { enumerable: true, get: function () { return export_utils_1.META_TABLE_CONFIG; } });
38
+ Object.defineProperty(exports, "META_TABLE_OVERRIDES", { enumerable: true, get: function () { return export_utils_1.META_TABLE_OVERRIDES; } });
38
39
  Object.defineProperty(exports, "mapPgTypeToFieldType", { enumerable: true, get: function () { return export_utils_1.mapPgTypeToFieldType; } });
39
40
  Object.defineProperty(exports, "makeReplacer", { enumerable: true, get: function () { return export_utils_1.makeReplacer; } });
40
41
  Object.defineProperty(exports, "preparePackage", { enumerable: true, get: function () { return export_utils_1.preparePackage; } });