From 449fdb8fa752773e2c8ba481535d46bf66935afa Mon Sep 17 00:00:00 2001 From: tardis <14971857@qq.com> Date: Thu, 26 Dec 2024 21:51:17 +0800 Subject: [PATCH 1/2] Add clerk-clerk-js w/ npm auto-update --- packages/c/clerk-clerk-js.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/c/clerk-clerk-js.json diff --git a/packages/c/clerk-clerk-js.json b/packages/c/clerk-clerk-js.json new file mode 100644 index 000000000..32789a689 --- /dev/null +++ b/packages/c/clerk-clerk-js.json @@ -0,0 +1,33 @@ +{ + "name": "clerk-clerk-js", + "description": "Clerk JS library", + "keywords": [ + "clerk", + "auth", + "authentication", + "passwordless", + "session", + "jwt" + ], + "license": "MIT", + "homepage": "https://clerk.com/", + "repository": { + "type": "git", + "url": "git+https://github.com/clerk/javascript.git", + "directory": "packages/clerk-js" + }, + "filename": "dist/clerk.js", + "autoupdate": { + "source": "npm", + "target": "@clerk/clerk-js", + "fileMap": [ + { + "basePath": "dist", + "files": [ + "*.@(js|cjs|mjs)" + ] + } + ] + }, + "author": "Clerk" +} From 74a412265de7561d5df5b2d7e271b9c4a6f4b667 Mon Sep 17 00:00:00 2001 From: tardis <14971857@qq.com> Date: Thu, 2 Jan 2025 10:09:27 +0800 Subject: [PATCH 2/2] Add clerk-js w/ npm auto-update --- packages/c/{clerk-clerk-js.json => clerk-js.json} | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) rename packages/c/{clerk-clerk-js.json => clerk-js.json} (76%) diff --git a/packages/c/clerk-clerk-js.json b/packages/c/clerk-js.json similarity index 76% rename from packages/c/clerk-clerk-js.json rename to packages/c/clerk-js.json index 32789a689..ad32219d1 100644 --- a/packages/c/clerk-clerk-js.json +++ b/packages/c/clerk-js.json @@ -1,5 +1,5 @@ { - "name": "clerk-clerk-js", + "name": "clerk-js", "description": "Clerk JS library", "keywords": [ "clerk", @@ -13,8 +13,7 @@ "homepage": "https://clerk.com/", "repository": { "type": "git", - "url": "git+https://github.com/clerk/javascript.git", - "directory": "packages/clerk-js" + "url": "https://github.com/clerk/javascript/tree/main/packages/clerk-js" }, "filename": "dist/clerk.js", "autoupdate": { @@ -29,5 +28,9 @@ } ] }, - "author": "Clerk" + "authors": [ + { + "name": "Clerk" + } + ] }