Skip to content

v2.2.5

Compare
Choose a tag to compare
@smwhr smwhr released this 03 Aug 22:23
· 32 commits to master since this release
d39664b

What's Changed

All imports should now work nominally 🎉

  • use from 'inkjs' or require('inkjs') to import only Story and Inklist (pure-player)
  • use from 'inkjs/full' or require('inkjs/full') : same as above + Compiler and associated utils in javascript
  • use from 'inkjs/types' in typescript to have everything correctly typed
  • if you need a specific class, you can import {Thing} from 'inkjs/compiler/Deeply/Nested/Thing'

Also :

  • Updated documentation
  • inkjs-compiler is now declared as a bin script allowing npx inkjs to work
  • New templates for typescript project and updated ink.js file in browser templates
  • Fixed arguments error reporting by @floriancargoet in #1066
  • Update README.md with imports by @smwhr in #1071
  • Upgrade TypeScript to v5 by @maetl in #1053

Full Changelog: v2.2.4...v2.2.5