All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] Update host-nodejs and build vuejs from source
@ 2022-09-13 17:40 Thomas Claveirole
  2022-09-13 17:40 ` [Buildroot] [PATCH 1/2] package/nodejs: introduce BR2_PACKAGE_HOST_NODEJS_COREPACK Thomas Claveirole
  2022-09-13 17:40 ` [Buildroot] [PATCH 2/2] package/vuejs: bump to version 3.2.39 Thomas Claveirole
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Claveirole @ 2022-09-13 17:40 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Claveirole, Martin Bark, Johan Oudinet, Daniel Price

In order to bump vuejs, I wanted to get rid of the infamous:

VUEJS_SITE = https://registry.npmjs.org/vue/-

in vuejs.mk, and rely instead on host-nodejs to build the JavaScript
library from its source archive on GitHub.  However, it turns out
Vue.js relies on pnpm [1], another package manager...

... Fortunately, Node.js comes with Corepack [2], a transparent
wrapper that takes care of pnpm, but one has to enable it at install
time.  Hence, here is a series of two patches: one to add an option to
host-nodejs to enable and install Corepack, and one to bump vuejs to
its latest version, building it from its official source archive.

[1] https://pnpm.io/
[2] https://nodejs.org/api/corepack.html

Thomas Claveirole (2):
  package/nodejs: introduce BR2_PACKAGE_HOST_NODEJS_COREPACK
  package/vuejs: bump to version 3.2.39

 DEVELOPERS                                    |  1 +
 package/nodejs/Config.in.host                 | 23 ++++++++++++++++---
 package/nodejs/nodejs.mk                      | 21 +++++++++++++----
 ...ode-build-commit-to-v3.2.39-f79c4236.patch | 13 +++++++++++
 package/vuejs/Config.in                       |  4 ++++
 package/vuejs/vuejs.hash                      |  2 +-
 package/vuejs/vuejs.mk                        | 14 +++++++----
 7 files changed, 66 insertions(+), 12 deletions(-)
 create mode 100644 package/vuejs/0001-hardcode-build-commit-to-v3.2.39-f79c4236.patch

--
2.37.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-04-16 19:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13 17:40 [Buildroot] [PATCH 0/2] Update host-nodejs and build vuejs from source Thomas Claveirole
2022-09-13 17:40 ` [Buildroot] [PATCH 1/2] package/nodejs: introduce BR2_PACKAGE_HOST_NODEJS_COREPACK Thomas Claveirole
2022-09-25 19:47   ` Thomas Petazzoni
2022-09-25 19:53     ` Thomas Petazzoni
2022-09-26  9:04       ` Thomas Claveirole
2022-09-26 10:01         ` Thomas Petazzoni
2022-09-26 10:17           ` Johan Oudinet
2022-09-26 10:24             ` Thomas Petazzoni
2023-04-16 19:48   ` Yann E. MORIN
2022-09-13 17:40 ` [Buildroot] [PATCH 2/2] package/vuejs: bump to version 3.2.39 Thomas Claveirole

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.