Skip to content

Commit e965b58

Browse files
committed
chore: add changesets for env var settings override and fix CLI build
Add bun:sqlite to CLI tsup external packages so esbuild can bundle the CLI without failing on the Bun-specific module.
1 parent 53d6694 commit e965b58

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

.changeset/calm-rivers-flow.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@noormdev/sdk": patch
3+
---
4+
5+
### Fixed
6+
7+
* `fix(settings):` NOORM_* environment variables now override any settings.yml field (e.g. `NOORM_PATHS_SQL` overrides `paths.sql`)

.changeset/swift-clouds-drift.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@noormdev/cli": patch
3+
---
4+
5+
### Fixed
6+
7+
* `fix(settings):` NOORM_* environment variables now override any settings.yml field (e.g. `NOORM_PATHS_SQL` overrides `paths.sql`)

tsup.cli.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const CLI_VERSION = cliPkg.version;
99
const EXTERNAL_PACKAGES = [
1010
// Native C++ bindings - cannot be bundled
1111
'better-sqlite3',
12+
// Bun-specific runtime module
13+
'bun:sqlite',
1214
// Optional native pg driver (pure JS pg is bundled)
1315
'pg-native',
1416
// Optional devtools (not needed at runtime)

0 commit comments

Comments
 (0)