From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0L6LAwD41GWiWQEA62LTzQ:P1 (envelope-from ) for ; Tue, 20 Feb 2024 20:05:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0L6LAwD41GWiWQEA62LTzQ (envelope-from ) for ; Tue, 20 Feb 2024 20:05:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=lxDBoqAy; 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"; dmarc=pass (policy=none) header.from=fsfe.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708455936; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=erUGy1nDfdVh7l9xTGqtN4mjrElE+2Y10XztyT0tLjM=; b=qDQcHILou7MvYFZdKqAOheMB04yoNnCN+veulVurjQKfLZo4oWBYdrj1SFmkvV4QQKaj81 5mikKIMLziWezNEra9qYkZBneV5xp/okHYxGlo2EPiq1Id0zC2np4J3NaYaTmpeEhzSk7m jRlHIubyGOQ7aLcrs/Msjp8C9bHskEUvEYw5nqzGmEHg0+0LqjutU4NDqMj6hgwFZ9hS9y 64/6OWRc8THNkJBoLU5dkExZieq1mV2VEoIjl1+VYBL7wg9FQfsK9fbCJEjj4Q1XjEDcO1 JNvJJrSRR6xE29UQRjdTG9YbhngYqAqT7lAYJ7B61XOA1Sgbq9l5eDrApI0/Nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fsfe.org header.s=2021100501 header.b=lxDBoqAy; 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"; dmarc=pass (policy=none) header.from=fsfe.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708455936; a=rsa-sha256; cv=none; b=OzjOcLkD6SMEKxTcYYH3J+ar0FwstIID6FUuWwu5Babo5LEO66E/0ivkFF0bwvDCDKThPM C5L2w9b1Ap83BBh4kLMmNrlAyPhnfH4pYKRb8WpS1DtbyOpfJ4K1SVDASLgfaMQfBs6uOT jC8lKtx2GMDxRu9cPHxdZUzntriajfOrqBvQ22XZY7VxuCJGY0RoAP23a9dwijhBVokt63 klsCi8tJOANyeRSnoGZ54qHmNM2c23z6NLf1vTYRm31hutwFRxnTwfiP57cMcv0Jw/XaRw qIneIPwNBSS7lYBWoyfTBQpqG3fOvDoY6FXlvHAgqrFLJARl/zn/FN8id6JU2g== 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 EC4841714A for ; Tue, 20 Feb 2024 20:05:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcVQD-0006kO-8i; Tue, 20 Feb 2024 14:04:53 -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 1rcVQB-0006iW-5b for guix-devel@gnu.org; Tue, 20 Feb 2024 14:04:51 -0500 Received: from mail1.fsfe.org ([217.69.89.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcVPy-0002B5-9F for guix-devel@gnu.org; Tue, 20 Feb 2024 14:04:50 -0500 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1708455873; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=erUGy1nDfdVh7l9xTGqtN4mjrElE+2Y10XztyT0tLjM=; b=lxDBoqAyv1BNWVkcPmD5O8GytqxOG96Cqbv2lBExVznf/nAtD/BMlPXq9N1mgBnK3wcs9K 8r7ESfVNL3hHoLugVCFFy2JtwJgctR290r6xCaEaelhcaaQHHjMmofZf3eb/Vs9QD4Oe76 JRrGLZYAaElrHouFPLRWq40B9gQS4qo= To: Nicolas Graves , Timothy Sample , guix-devel@gnu.org Subject: Re: Non-bootstrappable NPM packages In-Reply-To: <87h6ij4wfe.fsf@ngraves.fr> References: <877e87efc1.fsf@ngyro.com> <878ssnk0si.fsf@jlicht.xyz> <87h6ij4wfe.fsf@ngraves.fr> Date: Tue, 20 Feb 2024 20:04:33 +0100 Message-ID: <87sf1nyn26.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.69.89.151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -11.09 X-Spam-Score: -11.09 X-Migadu-Queue-Id: EC4841714A X-TUID: 8wCV3WfaT1X2 Nicolas Graves writes: > On 2019-07-24 15:41, Jelle Licht wrote: > >> Timothy Sample writes: >> >> [snip] >> >>> I=E2=80=99ve come to think that bootstrapping JavaScript might be easie= r 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, since >>> 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. >> >> 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 have = 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]. After >> manually fixing these problems in the TypeScript source tree, I was able >> to transpile the TypeScript sources using guix-packaged >> `node-sucrase-bootstrap'. > > 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! 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? KR, - Jelle