From e4514b325121c2b9b72acbeda47cfe47ea62b49e Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Tue, 5 May 2026 07:28:00 +0000 Subject: [PATCH] feat: add pgpm-ltree-helpers to system modules + PGPM_MODULE_MAP - Add ltree and pgpm-ltree-helpers to DB_REQUIRED_EXTENSIONS - Add pgpm-ltree-helpers to PGPM_MODULE_MAP for install resolution --- pgpm/core/src/modules/modules.ts | 3 ++- pgpm/export/src/export-utils.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pgpm/core/src/modules/modules.ts b/pgpm/core/src/modules/modules.ts index e6319f8dc..a8edc19b6 100644 --- a/pgpm/core/src/modules/modules.ts +++ b/pgpm/core/src/modules/modules.ts @@ -19,7 +19,8 @@ export const PGPM_MODULE_MAP: Record = { 'pgpm-stamps': '@pgpm/stamps', 'pgpm-totp': '@pgpm/totp', 'pgpm-types': '@pgpm/types', - 'pgpm-utils': '@pgpm/utils' + 'pgpm-utils': '@pgpm/utils', + 'pgpm-ltree-helpers': '@pgpm/ltree-helpers' }; /** diff --git a/pgpm/export/src/export-utils.ts b/pgpm/export/src/export-utils.ts index 870d99882..4a3f62052 100644 --- a/pgpm/export/src/export-utils.ts +++ b/pgpm/export/src/export-utils.ts @@ -26,6 +26,7 @@ export const DB_REQUIRED_EXTENSIONS = [ 'postgis', 'hstore', 'vector', + 'ltree', 'metaschema-schema', 'pgpm-inflection', 'pgpm-uuid', @@ -35,7 +36,8 @@ export const DB_REQUIRED_EXTENSIONS = [ 'pgpm-stamps', 'pgpm-base32', 'pgpm-totp', - 'pgpm-types' + 'pgpm-types', + 'pgpm-ltree-helpers' ] as const; /**