Skip to content

Version 0.20260714.1#529

Merged
agarny merged 4 commits into
opencor:mainfrom
agarny:cleaning-up
Jul 14, 2026
Merged

Version 0.20260714.1#529
agarny merged 4 commits into
opencor:mainfrom
agarny:cleaning-up

Conversation

@agarny

@agarny agarny commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2026 02:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR bumps the application version to 0.20260714.1, updates a few dependencies, and migrates several Bun-run utility scripts from .js usage to .ts, including adding new maintenance scripts for Electron installation, cleaning, and dependency updates.

Changes:

  • Bump root and renderer package versions and update dependency ranges (and lockfiles).
  • Switch build/typecheck/version/archive/maintenance scripts to run the .ts sources directly under Bun.
  • Add new ensure.electron.ts, clean.ts, and a more interactive dependencies.update.ts (and remove the old .js updater).

Reviewed changes

Copilot reviewed 9 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/renderer/scripts/version.new.ts Adds TS typing assertions while keeping the version-bump logic.
src/renderer/scripts/type.check.ts Tightens typings for the Module._resolveFilename hook used by vue-tsc/TS6.
src/renderer/scripts/libopencor.ts Minor adjustment to Bun spawn usage for building the native module.
src/renderer/scripts/generate.version.ts Reads version from package.json with a typed parse and writes version.json.
src/renderer/scripts/ensure.electron.ts New postinstall helper to explicitly run Electron’s installer when using Bun.
src/renderer/scripts/dependencies.update.ts New interactive dependency update checker/updater script for root + renderer.
src/renderer/scripts/dependencies.update.js Removes the old non-interactive dependency update script.
src/renderer/scripts/clean.ts New Bun clean script removing build outputs and node_modules folders.
src/renderer/scripts/archive.web.ts Typed parse for version when generating the web tarball name.
src/renderer/package.json Updates scripts to use .ts, bumps renderer version, updates dependency ranges.
src/renderer/bun.lock Lockfile updates for renderer dependency changes.
package.json Updates scripts to use .ts, bumps root version, updates dependency ranges.
bun.lock Lockfile updates for root dependency changes.
Comments suppressed due to low confidence (1)

src/renderer/scripts/type.check.ts:19

  • Module._resolveFilename can be invoked with a null/undefined parent by Node internals. Typing it as Module is too strict and can hide real call patterns (or force unsafe casts later).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/renderer/scripts/dependencies.update.ts
Comment thread src/renderer/scripts/dependencies.update.ts Outdated
Comment thread src/renderer/scripts/dependencies.update.ts Outdated
Comment thread src/renderer/scripts/dependencies.update.ts Outdated
@agarny
agarny force-pushed the cleaning-up branch 2 times, most recently from 90516fc to de21305 Compare July 14, 2026 05:35
@agarny
agarny merged commit d34b127 into opencor:main Jul 14, 2026
9 checks passed
@agarny
agarny deleted the cleaning-up branch July 14, 2026 05:50
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.

2 participants