1
0
Fork 0

fix: use npm for release (#2339)

This commit is contained in:
Pierre Millot 2024-11-05 08:55:57 +01:00 committed by GitHub
parent 9441df4409
commit 32ec9769fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 4 deletions

View file

@ -4,7 +4,10 @@
"version": "3.7.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/docsearch.git"
},
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"

View file

@ -4,7 +4,10 @@
"version": "3.7.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/docsearch.git"
},
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"

View file

@ -4,7 +4,10 @@
"version": "3.7.0",
"license": "MIT",
"homepage": "https://docsearch.algolia.com",
"repository": "algolia/docsearch",
"repository": {
"type": "git",
"url": "git+https://github.com/algolia/docsearch.git"
},
"author": {
"name": "Algolia, Inc.",
"url": "https://www.algolia.com"

View file

@ -11,7 +11,7 @@ export default {
packagesToPublish: packages,
},
publishCommand({ tag }) {
return `yarn publish --access public --tag ${tag}`;
return `npm publish --tag ${tag}`;
},
versionUpdated({ exec, dir, version }) {
// Update package dependencies