[Pkg-javascript-commits] [node-acorn-jsx] 123/484: [package.json] Use 'repository' rather than 'repositories' field

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-acorn-jsx.

commit c979446572e344277875ddffb755cc7846bc264f
Author: Marijn Haverbeke <marijnh at gmail.com>
Date:   Tue May 21 14:36:49 2013 +0200

    [package.json] Use 'repository' rather than 'repositories' field
    
    Apparently the second is no longer supported in npm 1.2 (?).
    
    Closes #42
---
 package.json | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package.json b/package.json
index 76473c6..8be726b 100644
--- a/package.json
+++ b/package.json
@@ -8,10 +8,8 @@
     "maintainers": [{"name": "Marijn Haverbeke",
                      "email": "marijnh at gmail.com",
                      "web": "http://marijnhaverbeke.nl"}],
-    "repositories": [{"type": "git",
-                      "url": "http://marijnhaverbeke.nl/git/acorn"},
-                     {"type": "git",
-                      "url": "https://github.com/marijnh/acorn.git"}],
+    "repository": {"type": "git",
+                   "url": "http://marijnhaverbeke.nl/git/acorn"},
     "licenses": [{"type": "MIT",
                   "url": "http://marijnhaverbeke.nl/acorn/LICENSE"}],
     "scripts": {"test": "node test/run.js"},

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list