[Koha-devel] ERM - workflow change

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Thu Nov 10 08:15:33 CET 2022


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 at lists.koha-community.org> namens Renvoize, Martin <martin.renvoize at ptfs-europe.com>
Verzonden: woensdag 9 november 2022 18:33
Aan: Koha Devel <koha-devel at 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 at gmail.com<mailto:tomascohen at 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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftheke.io%2F&data=05%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C2c43473582994a504b4008dac2788dc7%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036120627657344%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ahtU%2BejwbL%2B6rLU2EmweQ94T2zypEqsrJa7yc%2FbBROU%3D&reserved=0>)
✆ +54 9351 3513384
GPG: B2F3C15F
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org<mailto:Koha-devel at lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha-community.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fkoha-devel&data=05%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C2c43473582994a504b4008dac2788dc7%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036120627657344%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=DbMwKPO4VZOnzXVX8Kgsp6dfqI3foWu65gjnqGWoJiU%3D&reserved=0>
website : https://www.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-community.org%2F&data=05%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C2c43473582994a504b4008dac2788dc7%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036120627657344%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6OtlxY%2Fagb74Ew0%2FOsJTjMi%2Bg7yh%2FptPxQr4Xcr9ISA%3D&reserved=0>
git : https://git.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-community.org%2F&data=05%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C2c43473582994a504b4008dac2788dc7%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036120627657344%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KFZGt64e04hrnlWRWbxnRHVbJ2VvMDYVLw%2BBl4fF5JM%3D&reserved=0>
bugs : https://bugs.koha-community.org/<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-community.org%2F&data=05%7C01%7Cm.de.rooy%40rijksmuseum.nl%7C2c43473582994a504b4008dac2788dc7%7C635b05eb66c748e1a94fb4b05a1b058b%7C0%7C0%7C638036120627813579%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zEwntnK%2FhkJem1RIS%2FcJXBDsvDazNlbu8le0oBITaaI%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20221110/00e11b01/attachment-0001.htm>


More information about the Koha-devel mailing list