From 8025896d689f92e6e869edefb2c48e1d48911ca9 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Thu, 20 Feb 2020 09:51:42 +1100 Subject: [PATCH] WIP --- src/apps.json | 9 +++++---- src/drivers/npm/cli.js | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/apps.json b/src/apps.json index 87b034175..16a328547 100644 --- a/src/apps.json +++ b/src/apps.json @@ -4141,7 +4141,7 @@ "
" ], "icon": "GitLab.svg", - "implies": "Ruby on Rails", + "implies": ["Ruby on Rails", "Vue.js"], "js": { "GitLab": "", "gl.dashboardOptions": "" @@ -11152,16 +11152,17 @@ "url": "^https?://(?:www\\.)?[^/]+\\.tumblr\\.com/", "website": "http://www.tumblr.com" }, - "TweenMax": { + "GSAP": { "cats": [ 12 ], "icon": "TweenMax.png", "js": { - "TweenMax.version": "^(.+)$\\;version:\\1" + "TweenMax": "", + "gsapVersions": "" }, "script": "TweenMax(?:\\.min)?\\.js", - "website": "http://greensock.com/tweenmax" + "website": "https://greensock.com/gsap" }, "Twilight CMS": { "cats": [ diff --git a/src/drivers/npm/cli.js b/src/drivers/npm/cli.js index a94023f14..ef63d9815 100755 --- a/src/drivers/npm/cli.js +++ b/src/drivers/npm/cli.js @@ -32,7 +32,7 @@ while (true) { // eslint-disable-line no-constant-condition break; } - const matches = /-?-([^=]+)(?:=(.+)?)?/.exec(arg); + const matches = /^-?-([^=]+)(?:=(.+)?)?/.exec(arg); if (matches) { const key = aliases[matches[1]] || matches[1].replace(/-\w/g, _matches => _matches[1].toUpperCase());