From 5eaf4fb905810f2d467e2147e3056edb2e6f69c5 Mon Sep 17 00:00:00 2001 From: James Skimming <647706+JSkimming@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:56:36 +0100 Subject: [PATCH] Update date-fns w/ npm auto-update (#1843) * Change date-fns to autoupdate from npm instead of git * Removed ignoreVersions * Update date-fns.json --------- Co-authored-by: Matt Cowley --- packages/d/date-fns.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/d/date-fns.json b/packages/d/date-fns.json index 7013510b4..cc540cf00 100644 --- a/packages/d/date-fns.json +++ b/packages/d/date-fns.json @@ -1,6 +1,6 @@ { "name": "date-fns", - "filename": "date_fns.min.js", + "filename": "cdn.min.js", "description": "Modern JavaScript date utility library", "license": "MIT", "keywords": [ @@ -13,20 +13,20 @@ "url": "https://github.com/date-fns/date-fns.git" }, "autoupdate": { - "source": "git", - "target": "git://github.com/date-fns/date-fns.git", + "source": "npm", + "target": "date-fns", "fileMap": [ { - "basePath": "dist", + "basePath": "", "files": [ - "**/!(*.json)" + "**/cdn.*" ] } - ], - "ignoreVersions": [ - "v.*" ] }, + "optimization": { + "js": false + }, "authors": [ { "name": "Sasha Koss",