From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: Naming of node packages with @ and / Date: Wed, 28 Nov 2018 00:10:17 +0100 Message-ID: References: <6d747c3a-af63-c222-c913-3355be92ac43@riseup.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000782dac057bad8e26" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRmca-0006tw-EA for guix-devel@gnu.org; Tue, 27 Nov 2018 18:18:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRmV0-0005Ng-6Q for guix-devel@gnu.org; Tue, 27 Nov 2018 18:10:35 -0500 Received: from mail-yw1-xc2c.google.com ([2607:f8b0:4864:20::c2c]:41297) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRmV0-0005J1-14 for guix-devel@gnu.org; Tue, 27 Nov 2018 18:10:34 -0500 Received: by mail-yw1-xc2c.google.com with SMTP id f65so9911858ywc.8 for ; Tue, 27 Nov 2018 15:10:33 -0800 (PST) In-Reply-To: <6d747c3a-af63-c222-c913-3355be92ac43@riseup.net> 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel --000000000000782dac057bad8e26 Content-Type: text/plain; charset="UTF-8" Il giorno mar 27 nov 2018 alle ore 21:58 swedebugia ha scritto: > Hi > > There are some crazy naming going on in the node-community. How do we > deal with this? > > Note: there is another package called "babel-core" so just > stripping/replacing the weird characters won't work well. > > Any ideas? > > Look this example: > https://github.com/babel/babel/blob/master/packages/babel-core/package.json > > Extract: > { > "name": "@babel/core", > "version": "7.1.6", > "description": "Babel compiler core.", > "main": "lib/index.js", > "author": "Sebastian McKenzie ", > "homepage": "https://babeljs.io/", > "license": "MIT", > > snip > > "dependencies": { > "@babel/code-frame": "^7.0.0", > "@babel/generator": "^7.1.6", > "@babel/helpers": "^7.1.5", > "@babel/parser": "^7.1.6", > "@babel/template": "^7.1.2", > "@babel/traverse": "^7.1.6", > "@babel/types": "^7.1.6", > "convert-source-map": "^1.1.0", > "debug": "^4.1.0", > "json5": "^2.1.0", > "lodash": "^4.17.10", > "resolve": "^1.3.2", > "semver": "^5.4.1", > "source-map": "^0.5.0" > }, > "devDependencies": { > "@babel/helper-transform-fixture-test-runner": "^7.0.0", > "@babel/register": "^7.0.0" > } > } > > -- > Cheers Swedebugia > > I think those are the so called "scoped packages" https://docs.npmjs.com/misc/scope https://nitayneeman.com/posts/understanding-scoped-packages-in-npm/ --000000000000782dac057bad8e26 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Il giorno mar 27 nov 2018 alle ore 21:58 swedeb= ugia <swedebugia@riseup.net= > ha scritto:
Hi

There are some crazy naming going on in the node-community. How do we
deal with this?

Note: there is another package called "babel-core" so just
stripping/replacing the weird characters won't work well.

Any ideas?

Look this example:
https://github.com/babel/= babel/blob/master/packages/babel-core/package.json

Extract:
{
=C2=A0 =C2=A0"name": "@babel/core",
=C2=A0 =C2=A0"version": "7.1.6",
=C2=A0 =C2=A0"description": "Babel compiler core.",
=C2=A0 =C2=A0"main": "lib/index.js",
=C2=A0 =C2=A0"author": "Sebastian McKenzie <sebmck@gmail.com>", =C2=A0 =C2=A0"homepage": "https://babeljs.io/",
=C2=A0 =C2=A0"license": "MIT",

snip

=C2=A0 =C2=A0"dependencies": {
=C2=A0 =C2=A0 =C2=A0"@babel/code-frame": "^7.0.0",
=C2=A0 =C2=A0 =C2=A0"@babel/generator": "^7.1.6",
=C2=A0 =C2=A0 =C2=A0"@babel/helpers": "^7.1.5",
=C2=A0 =C2=A0 =C2=A0"@babel/parser": "^7.1.6",
=C2=A0 =C2=A0 =C2=A0"@babel/template": "^7.1.2",
=C2=A0 =C2=A0 =C2=A0"@babel/traverse": "^7.1.6",
=C2=A0 =C2=A0 =C2=A0"@babel/types": "^7.1.6",
=C2=A0 =C2=A0 =C2=A0"convert-source-map": "^1.1.0",
=C2=A0 =C2=A0 =C2=A0"debug": "^4.1.0",
=C2=A0 =C2=A0 =C2=A0"json5": "^2.1.0",
=C2=A0 =C2=A0 =C2=A0"lodash": "^4.17.10",
=C2=A0 =C2=A0 =C2=A0"resolve": "^1.3.2",
=C2=A0 =C2=A0 =C2=A0"semver": "^5.4.1",
=C2=A0 =C2=A0 =C2=A0"source-map": "^0.5.0"
=C2=A0 =C2=A0},
=C2=A0 =C2=A0"devDependencies": {
=C2=A0 =C2=A0 =C2=A0"@babel/helper-transform-fixture-test-runner"= : "^7.0.0",
=C2=A0 =C2=A0 =C2=A0"@babel/register": "^7.0.0"
=C2=A0 =C2=A0}
}

--
Cheers Swedebugia


I think those are the so called "= scoped packages"

--000000000000782dac057bad8e26--