From 2e448e5823158ad9eeb37e857d556afa4cfb3777 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Tue, 30 Jun 2026 15:57:26 -0700 Subject: [PATCH 1/2] fix: stop export errors from being swallowed --- src/context/directory/index.ts | 2 +- src/context/yaml/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/context/directory/index.ts b/src/context/directory/index.ts index bc5d211c7..94b1e5147 100644 --- a/src/context/directory/index.ts +++ b/src/context/directory/index.ts @@ -153,7 +153,7 @@ export default class DirectoryContext { await handler.dump(this); } catch (err) { log.debug(err.stack); - throw new Error(`Problem exporting ${name}`); + throw new Error(`Problem exporting ${name}`, { cause: err }); } }) ); diff --git a/src/context/yaml/index.ts b/src/context/yaml/index.ts index 5a965cd9f..68a9d324a 100644 --- a/src/context/yaml/index.ts +++ b/src/context/yaml/index.ts @@ -202,7 +202,7 @@ export default class YAMLContext { } } catch (err) { log.debug(err.stack); - throw new Error(`Problem exporting ${name}`); + throw new Error(`Problem exporting ${name}`, { cause: err }); } }) ); From aead24b65b432e44099c352e287a05b552b37860 Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Thu, 30 Jul 2026 11:10:37 -0700 Subject: [PATCH 2/2] fix: bump TS config target --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 3ebe7ac57..d8e35f7fc 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es2020", + "target": "es2022", "experimentalDecorators": true, "module": "nodenext", "moduleResolution": "nodenext",