From a15216330b185977fc4d4f718f0a23ec181caff8 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 13 Apr 2024 20:26:29 +0100 Subject: [PATCH 1/4] Add web-vitals w/ npm auto-update --- packages/w/web-vitals.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 packages/w/web-vitals.json diff --git a/packages/w/web-vitals.json b/packages/w/web-vitals.json new file mode 100644 index 000000000..0591cea12 --- /dev/null +++ b/packages/w/web-vitals.json @@ -0,0 +1,36 @@ +{ + "name": "web-vitals", + "filename": "web-vitals.min.js", + "description": "JavaScript library for measuring Core Web Vitals", + "repository": { + "type": "git", + "url": "https://github.com/GoogleChrome/web-vitals.git" + }, + "license": "Apache-2.0", + "keywords": [ + "analytics", + "google", + "performance", + "web-performance" + ], + "autoupdate": { + "source": "npm", + "target": "web-vitals", + "fileMap": [ + { + "basePath": "dist", + "files": [ + "*" + ] + } + ] + }, + "optimization": { + "js": false + }, + "authors": [ + { + "name": "Google Inc." + } + ], +} From 7a4a7e38d40b5d355fbb094d6d5d0e1d9afaad7e Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 13 Apr 2024 20:39:04 +0100 Subject: [PATCH 2/4] Update description --- packages/w/web-vitals.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/w/web-vitals.json b/packages/w/web-vitals.json index 0591cea12..84c17a03e 100644 --- a/packages/w/web-vitals.json +++ b/packages/w/web-vitals.json @@ -1,7 +1,7 @@ { "name": "web-vitals", "filename": "web-vitals.min.js", - "description": "JavaScript library for measuring Core Web Vitals", + "description": "Easily measure performance metrics in JavaScript", "repository": { "type": "git", "url": "https://github.com/GoogleChrome/web-vitals.git" From 07bb430fe1897e2468347f15c42062177cdc8c71 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 13 Apr 2024 20:54:32 +0100 Subject: [PATCH 3/4] Linting --- packages/w/web-vitals.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/w/web-vitals.json b/packages/w/web-vitals.json index 84c17a03e..a19432676 100644 --- a/packages/w/web-vitals.json +++ b/packages/w/web-vitals.json @@ -32,5 +32,5 @@ { "name": "Google Inc." } - ], + ] } From f812c9624507c60f65f1f08e750c2a428d3bfd69 Mon Sep 17 00:00:00 2001 From: Barry Pollard Date: Sat, 27 Apr 2024 07:16:14 +0100 Subject: [PATCH 4/4] No min in package name --- packages/w/web-vitals.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/w/web-vitals.json b/packages/w/web-vitals.json index a19432676..6aa6dc813 100644 --- a/packages/w/web-vitals.json +++ b/packages/w/web-vitals.json @@ -1,6 +1,6 @@ { "name": "web-vitals", - "filename": "web-vitals.min.js", + "filename": "web-vitals.js", "description": "Easily measure performance metrics in JavaScript", "repository": { "type": "git",