I noticed the frontend plugin disabled the use of ...
# javascript
s
I noticed the frontend plugin disabled the use of
package-lock.json
. Is
package-lock.json
supported in the new javascript plugin ?
i
Now we use Yarn, and
yarn.lock
is created by gradle plugin in
build
folder But for now there is no default possibility to share it, only manually
s
I would want to commit it to my repository so we get repeatable builds. Is it planned ?
i
We have issue on it https://youtrack.jetbrains.com/issue/KT-34014 Additionally, could you please provide more information about your case? Do you use only Kotlin/JS? Or do you consume Kotlin/JS module from plain JavaScript application in monorepo?
s
I think it is unrelated to use case (ie. its really baseline) but to answer your question we build only for the browser but have javascript via a gradle npm plugin, kotlin/js + frontend plugin, kotlin/js/common + frontend plugin.
We just had an issue where we didnt detect an error caused by having different versions of npm packages on diffent computers so it renewed my interest to fix this issue project wide.