Skip to content

build(deps): migrate from electron-store to electron-conf#62

Merged
flexiondotorg merged 2 commits intomainfrom
conf
Mar 27, 2026
Merged

build(deps): migrate from electron-store to electron-conf#62
flexiondotorg merged 2 commits intomainfrom
conf

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

Replaces electron-store v10 with electron-conf v1.3.0, eliminating ESM/CJS compatibility workarounds and enabling native TypeScript generics for type-safe configuration access.

Both libraries use identical on-disk JSON format and near-identical APIs (get, set, has, delete, clear, store, path), so no data migration is required. electron-conf is purpose-built for Electron, dual-publishes CJS+ESM, and removes the require() workaround entirely.

Updated references across config module, test setup, and test mocks.

Replaces electron-store v10 with electron-conf v1.3.0, eliminating
ESM/CJS compatibility workarounds and enabling native TypeScript
generics for type-safe configuration access.

Both libraries use identical on-disk JSON format and near-identical APIs
(get, set, has, delete, clear, store, path), so no data migration is
required. electron-conf is purpose-built for Electron, dual-publishes
CJS+ESM, and removes the require() workaround entirely.

Updated references across config module, test setup, and test mocks.

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 7 files

Requires human review: Migrating a production dependency for configuration storage (electron-store to electron-conf) is a refactor that impacts data persistence and requires human verification.

Update all documentation references from `electron-store` to
`electron-conf`. Includes AGENTS.md, SPECIFICATION.md (with version pin
update to ^1.3.0), SECURITY-REPORT.md, and Sidra-vs-Cider-Comparison.md.
Resolves documentation drift from runtime dependency migration.

Signed-off-by: Martin Wimpress <code@wimpress.io>
@flexiondotorg flexiondotorg merged commit f52d387 into main Mar 27, 2026
7 checks passed
@flexiondotorg flexiondotorg deleted the conf branch March 27, 2026 17:08
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 issues found across 4 files (changes from recent commits).

Requires human review: Migrates a core production dependency (electron-store to electron-conf) responsible for all persistent application state, which requires human verification of library compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant