From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8ObjJqv0wl5NdQAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 20:48:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EM6kIqv0wl5LXAAAbx9fmQ (envelope-from ) for ; Mon, 18 May 2020 20:48:43 +0000 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 26C0C94050F for ; Mon, 18 May 2020 20:48:43 +0000 (UTC) Received: from localhost ([::1]:51836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jamgi-00051A-Pl for larch@yhetil.org; Mon, 18 May 2020 16:48:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jamgY-00050q-Gn for help-guix@gnu.org; Mon, 18 May 2020 16:48:30 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jamgX-00054k-3R for help-guix@gnu.org; Mon, 18 May 2020 16:48:29 -0400 X-Originating-IP: 90.65.104.217 Received: from gnou.home (lfbn-lyo-1-1672-217.w90-65.abo.wanadoo.fr [90.65.104.217]) (Authenticated sender: d@divoplade.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 3ADB620003; Mon, 18 May 2020 20:48:24 +0000 (UTC) Message-ID: Subject: Re: Is there a NPM importer? From: divoplade To: Julien Lepiller , help-guix@gnu.org Date: Mon, 18 May 2020 22:48:24 +0200 In-Reply-To: <9FA62817-5CEC-491F-9CFA-5DE0FF228834@lepiller.eu> References: <9FA62817-5CEC-491F-9CFA-5DE0FF228834@lepiller.eu> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.200; envelope-from=d@divoplade.fr; helo=relay7-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/18 16:48:25 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: gFjIaZeagGLW Le lundi 18 mai 2020 à 16:21 -0400, Julien Lepiller a écrit : > When considering build-time dependencies, there are many cycles that > makes an importer almost impossible to create. There is some code > that works (at least it used to work) when you don't need a recursive > import, but it would be useless because most packages require > thousands of packages at build time. I am trying to know if it would be feasible to package rdflib and solid-auth-client. Debian has managed to do some work about it https://wiki.debian.org/Javascript/Nodejs/Tasks/rdflib, I don't know how good it is. When I pull them, npm says it 'added 144 packages'. I am not an expert in npm, but if I install whatever is under node_modules, I reach a convergence at 194 packages. I am not sure how to count the build packages, but I like the idea of discarding tests and minifiers. Maybe that would help. So, is the framagit version the latest work?