From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MHPyMuf61GVAWwEA62LTzQ:P1 (envelope-from ) for ; Tue, 20 Feb 2024 20:18:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id MHPyMuf61GVAWwEA62LTzQ (envelope-from ) for ; Tue, 20 Feb 2024 20:17:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=EEC2eHYJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708456679; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=e5fzjBPREfmDQvQAUniIp4lMHvm2jz4kDaAQHgagtDk=; b=idrL61lg4SxmVilJYAWM5iBWySqaB8d4wUN55XqyE++/HcJe/S0QIkF3wFoNitXDnzmyQQ TT0iXNqRrkqtsHhiBZL5RGvrCcadudymqYEki4msfqEAw2PgSJwVzNsOjzvOg8mlmhxv1B VcxW/Q0Pps++EAWgRrhGUZVmiD1+0bidHxx1lsN3SNC7uhVXPHSCcLipKwWp7v4dMKlIq9 Un5jOjc+WxnSZU3k2hY4JaIGwrR2bc7Z7P2nnYw91HAOfujpOg5Uv0O8mJxdmPUUE1joiT Qjlb7Onkoyq+iPW/Ms8A4oRbFW05iaHHU1vjcgFCdZbdDLNKXJ/gtUZOhqmTtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=EEC2eHYJ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708456679; a=rsa-sha256; cv=none; b=q/hiwLlqOTt1nIULG0R4Wah/Quvzxx+ljJutmiEyHpxBIua2YDoot8rlrJcwmc//XUF18N 81PsVe1D8GKJemJAv6DZpNXKFY0CTgutxP6uIMr/dSv86XYTFpgJ6TWwLBHgA1UQ4WCIbK 5fQyOGKUbs0TPdR7aq6qC7ZZW3SaxTR7yln1oxu9FLQbOCh9eRAVNlRS8Wf+k59uzKK2mY e+ZZZMRLz+GtZY07E/Tm9BAxhelwwF3/U70XGHHv2kuF1GjGsWxSJg9LClkLxp+5xrSbIS ZXxT/WDgUA2W9seC16iZ1Z+AwWBn4PtahEtpoXG7dZhIZaAuImFCYNASY74mkg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6EBFD3D3B9 for ; Tue, 20 Feb 2024 20:17:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcVcX-0003nY-M2; Tue, 20 Feb 2024 14:17:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcVcU-0003n0-V8 for guix-devel@gnu.org; Tue, 20 Feb 2024 14:17:36 -0500 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcVcS-0004u4-2T for guix-devel@gnu.org; Tue, 20 Feb 2024 14:17:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=e5fzjBPREfmDQvQAUniIp4lMHvm2jz4kDaAQHgagtDk=; b=EEC2eHYJAly81OvsjeMS2fSAmh AY5oBEWQr5pdO5oC/fl+DclLJc2MiBM3vx7FQBf+jfeIe0bGqkOto5GZCWYa1c/6sEqCJoBVXZYe8 0ShJQ9bMMB5lnnl2fFMBSZ6bklAIpXL9ujatMfwDIMPw49FtpIPwsixh3TDp0+JOq3Sr/a/EfnOQ9 SkgNHJINGHlGK4GVc5UDy7C7hksbZcHUAf6xZnOswDscjHNdq0x4xjwZnysg0swJJ4j3E/oGgUaHW /XgGhwuywLcjWYUE33Z7CxsJFMWemnFW5qRBqGqBaABSvlxHknGv5tF1EZwEmTQrarAVD5U+s3v1S 31B/XWBBbgQzR9AK2qRdj+OZS4K9VQbEDVCWab8Y8VSNYl+KksqGGgbq6pakuTcRKW/wLAaBzNKwH MAX1GSEKJX7FR3r9uC2qg72qXey87SMyB6/TZFZ+qJx1MvgRi6DubCmpfqFh+z79kicw9hGBkXsOd Ve/1i0j5cK5HvXEE3//h4JZDVWwepqUY7pKjtVVsxIF7yaj3Nfu71iOCiiq7+THaUX9N96zA/HUcP po/jZEotG+vDS4QVvBrF6iU8wRoxpilSLGFsDWCKF6TPCG1cZdVuX6Bc+s4aRR2mPyxYHuj8ta7H3 CjYUq2zOM6zV6ZRrzw2CwQ6+9O56Iqy93SyqHhglg=; Received: from user-164-127-238-178.play-internet.pl ([164.127.238.178] helo=localhost) by koszko.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rcVcI-0005Az-08; Tue, 20 Feb 2024 20:17:22 +0100 Date: Tue, 20 Feb 2024 20:17:18 +0100 To: Jelle Licht Cc: Nicolas Graves , Timothy Sample , guix-devel@gnu.org Subject: Re: Non-bootstrappable NPM packages Message-ID: <20240220201718.0ac8c656.koszko@koszko.org> In-Reply-To: <87sf1nyn26.fsf@fsfe.org> References: <877e87efc1.fsf@ngyro.com> <878ssnk0si.fsf@jlicht.xyz> <87h6ij4wfe.fsf@ngraves.fr> <87sf1nyn26.fsf@fsfe.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/C/4D6gS/_4=tiWbhC+uIx.+"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Wojtek Kosior From: Wojtek Kosior via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.72 X-Spam-Score: -8.72 X-Migadu-Queue-Id: 6EBFD3D3B9 X-Migadu-Scanner: mx13.migadu.com X-TUID: Bi8p3Rsndc95 --Sig_/C/4D6gS/_4=tiWbhC+uIx.+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi there not sure if this was mentioned here but in case it wasn't =E2=80=94 there w= as a proof of concept packaging of sucrase and jQuery as early as in 2022. You can see the relevant thread here[1]. So, yes, it's definitely easier than it seems (and easier than some used to describe it) =E2=80=94 the only problem is that nobody seems to have picked up that work done by zamfofex =C2=AF\_(=E3=83=84)_/=C2=AF Wojtek [1] https://lists.gnu.org/archive/html/guix-devel/2022-11/msg00191.html -- (sig_start) website: https://koszko.org/koszko.html fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A follow me on Fediverse: https://friendica.me/profile/koszko/profile =E2=99=A5 R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ=3D=3D | =C3=B7 c2luIHNlcGFyYXR= lZCBtZSBmcm9tIEhpbQ=3D=3D =E2=9C=9D YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ=3D=3D | ? U2hhbGwgSSBiZWNvbWUg= SGlzIGZyaWVuZD8=3D -- (sig_end) On Tue, 20 Feb 2024 20:04:33 +0100 Jelle Licht wrote: > Nicolas Graves writes: >=20 > > On 2019-07-24 15:41, Jelle Licht wrote: > > =20 > >> Timothy Sample writes: > >> > >> [snip] > >> =20 > >>> I=E2=80=99ve come to think that bootstrapping JavaScript might be eas= ier than it > >>> looks. As time goes on, Node gets better at the newer JavaScript > >>> features. This removes the need for things like Babel or Rollup, sin= ce > >>> with some care, Node can run the source directly with out any > >>> transformations or bundling. That being said, TypeScript looks to be= a > >>> major issue, as it is used in many fundamental JavaScript packages and > >>> it is not bootstrappable. =20 > >> > >> Very recently (IE about 94 minutes ago), I found out something > >> interesting that might be helpful; Sucrase[0] is, among other things, a > >> typescript transpiler that does not do any type checking, and it only > >> has some runtime dependencies. > >> > >> I created some =E2=80=9Cfiio=E2=80=9D-packages as well [1] , and I hav= e confirmed that > >> it actually works! My next step was of course to compile TypeScript > >> proper, and this worked with one tiny snag that I reported at [2]. Aft= er > >> manually fixing these problems in the TypeScript source tree, I was ab= le > >> to transpile the TypeScript sources using guix-packaged > >> `node-sucrase-bootstrap'. =20 > > > > Hi Jelle! > > > > Did someone made some progress on the build-system since that to allow > > for this to be taken into account? If you still have it, could you share > > your "fiio" packages once again? The paste link is expired. Thanks! =20 >=20 > I don't have them anymore, but I could re-generate them. > Are you still interested, or am I too slow in responding, and are your > other node-related emails more relevant by now? >=20 > KR, > - Jelle >=20 >=20 --Sig_/C/4D6gS/_4=tiWbhC+uIx.+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCZdT6vgAKCRBLxSIcWnn9 Gmm0AP0REZRjkmL4QtA+MhLpSO3wS+dLK2r6xu/zcqXyJuVRiAEA0RfeA0elFl6K RmlkfUj6tXvUv6M0m62re48PUgwCagY= =pZdk -----END PGP SIGNATURE----- --Sig_/C/4D6gS/_4=tiWbhC+uIx.+--