00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build_js' ________________________________ Van: Jonathan Druart <jonathan.druart@gmail.com> Verzonden: donderdag 10 november 2022 08:39 Aan: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl> CC: Koha Devel <koha-devel@lists.koha-community.org> Onderwerp: Re: [Koha-devel] ERM - workflow change Run the yarn commands at the root of the Koha src dir. What's the output of `yarn build_js`? Le jeu. 10 nov. 2022 à 08:15, Marcel de Rooy <M.de.Rooy@rijksmuseum.nl> a écrit :
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 (https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftheke.io%2F...) ✆ +54 9351 3513384 GPG: B2F3C15F _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha... website : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-c... git : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-c... bugs : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-...
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.koha... website : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.koha-c... git : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.koha-c... bugs : https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.koha-...