Skip to content

Commit

Permalink
Use pnpm to publish (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkulinski committed Nov 23, 2023
1 parent 2dc91b0 commit 6fc7b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions packages/react-ranger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}"...`,
)
Expand Down

0 comments on commit 6fc7b7e

Please sign in to comment.