From 6fc7b7e6f2310c80d2ad52a01d8de2509125f847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kuli=C5=84ski?= <25184202+rkulinski@users.noreply.github.com> Date: Thu, 23 Nov 2023 23:41:57 +0100 Subject: [PATCH] Use pnpm to publish (#74) --- packages/react-ranger/package.json | 8 ++------ scripts/publish.ts | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/react-ranger/package.json b/packages/react-ranger/package.json index 467517e..a6a8e76 100644 --- a/packages/react-ranger/package.json +++ b/packages/react-ranger/package.json @@ -7,16 +7,12 @@ "homepage": "https://github.com/tanstack/ranger#readme", "repository": { "type": "git", - "url": "git+https://github.com/tanstack/ranger.git" + "url": "git+https://github.com/tanstack/ranger.git", + "directory": "packages/react-ranger" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, - "keywords": [ - "react", - "ranger", - "ranger" - ], "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" diff --git a/scripts/publish.ts b/scripts/publish.ts index e3c304d..51247b6 100644 --- a/scripts/publish.ts +++ b/scripts/publish.ts @@ -557,7 +557,7 @@ async function run() { // Publish each package changedPackages.map((pkg) => { const packageDir = path.join(rootDir, 'packages', pkg.packageDir) - const cmd = `cd ${packageDir} && npm publish --tag ${npmTag} --access=public --no-git-checks` + const cmd = `cd ${packageDir} && pnpm publish --tag ${npmTag} --access=public --no-git-checks` console.info( ` Publishing ${pkg.name}@${version} to npm with tag "${npmTag}"...`, )