Does this need some envvar for a path to the Koha's package.json or so ?
When I ran yarn build_js, I did not have any valuable results.


Van: Koha-devel <koha-devel-bounces@lists.koha-community.org> namens Renvoize, Martin <martin.renvoize@ptfs-europe.com>
Verzonden: woensdag 9 november 2022 18:33
Aan: Koha Devel <koha-devel@lists.koha-community.org>
Onderwerp: Re: [Koha-devel] ERM - workflow change
 
To get up and running fast in k-t-d,

kshell
$ kshell
k$ yarn install
k$ yarn build_js



On Wed, 9 Nov 2022, 3:54 pm Tomas Cohen Arazi, <tomascohen@gmail.com> wrote:
Hi all, we pushed ERM but didn't communicate some decisions made:

- For running the ERM component (and in the future any other Vue-driven thing) a build step needs to happen. Either:

$ yarn build_js

or (the dev-oriented version):

$ yarn watch_js

- We could've gone 'the SCSS' way, in which the RM(aint) compiles the thing and pushes to Git along with the changes. But we decided it would have an impact on the size of the repository pretty fast. So for now, the decision is we will do it at release time. This is also common practice on Vue projects.

- We could add the build as part of the 'reset_all' command KTD users are familiar with. TBD

- Yes, now that running Koha requires a build step, we could just add SCSS there, that's to be discussed early next cycle.

- We need a way to pre-bundle all the dependencies in KTD, so people can fire up KTD while being offline. Agustín is wrapping up a proposal for this. TBD

Please share your thoughts, and sorry for not communicating this earlier.

--
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/