Skip to content

Commit 6fc7b7e

Browse files
authored
Use pnpm to publish (#74)
1 parent 2dc91b0 commit 6fc7b7e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/react-ranger/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@
77
"homepage": "https://github.com/tanstack/ranger#readme",
88
"repository": {
99
"type": "git",
10-
"url": "git+https://github.com/tanstack/ranger.git"
10+
"url": "git+https://github.com/tanstack/ranger.git",
11+
"directory": "packages/react-ranger"
1112
},
1213
"publishConfig": {
1314
"registry": "https://registry.npmjs.org/"
1415
},
15-
"keywords": [
16-
"react",
17-
"ranger",
18-
"ranger"
19-
],
2016
"funding": {
2117
"type": "github",
2218
"url": "https://github.com/sponsors/tannerlinsley"

scripts/publish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ async function run() {
557557
// Publish each package
558558
changedPackages.map((pkg) => {
559559
const packageDir = path.join(rootDir, 'packages', pkg.packageDir)
560-
const cmd = `cd ${packageDir} && npm publish --tag ${npmTag} --access=public --no-git-checks`
560+
const cmd = `cd ${packageDir} && pnpm publish --tag ${npmTag} --access=public --no-git-checks`
561561
console.info(
562562
` Publishing ${pkg.name}@${version} to npm with tag "${npmTag}"...`,
563563
)

0 commit comments

Comments
 (0)