This project showcases how to setup the plugin to assemble your kotlin project and consume it from a typescript project locally. No publishing required!
- Sample Kotlin/JS library is in kt subdirectory
- The kt project is linked to and consumed from ts project
yarn relink
task in ts project rebuilds kt project and reinstalls it for ts useyarn reinstall
task in ts project assumes prebuilt kt project and only reinstalls it for ts useyarn start
task in ts project executes the ts appyarn build
task in ts project builds the ts appyarn build:start
task in ts project builds the ts app and executes it as a plain js file
cd ts
yarn relink
yarn start