8000 Upgrade inkjs to 2.4.0 by itlackey · Pull Request #565 · inkle/inky · GitHub
[go: up one dir, main page]

Skip to content

Upgrade inkjs to 2.4.0 - #565

Open
itlackey wants to merge 1 commit into
inkle:masterfrom
dimm-city:chore/inkjs-2.4
Open

itlackey wants to merge 1 commit into
inkle:masterfrom
dimm-city:chore/inkjs-2.4

Conversation

@itlackey
Copy link
Copy Markdown

Updates the web-export runtime from inkjs 2.2.3 to 2.4.0, along with the lockfile and recorded runtime version. The dependency range is ^2.4.0; the lockfile resolves to 2.4.0.

inkjs 2.4.0 no longer exposes package.json through its package exports. So I resolve the installed inkjs entry point with require.resolve, then read its package metadata using the existing path import. This keeps startup and About working without hardcoding a node_modules location.

Validation

Verified on Linux: development and packaged startup, version lookup, compilation, exports, and browser save/load/restart.

Read the bundled inkjs package metadata directly because 2.4 no longer exports package.json. Keep the existing native compilers and export behavior unchanged.

Verified real Electron startup and About version, native includes and unsaved edits, replay and rewind, JSON/JS/web exports, and Classic Chrome file playback with both routes and save/load/restart against the 2.2.3 baseline.
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

0