Skip to content

Commit 32ec976

Browse files
authored
fix: use npm for release (#2339)
1 parent 9441df4 commit 32ec976

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

packages/docsearch-css/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"version": "3.7.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
7-
"repository": "algolia/docsearch",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/algolia/docsearch.git"
10+
},
811
"author": {
912
"name": "Algolia, Inc.",
1013
"url": "https://www.algolia.com"

packages/docsearch-js/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"version": "3.7.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
7-
"repository": "algolia/docsearch",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/algolia/docsearch.git"
10+
},
811
"author": {
912
"name": "Algolia, Inc.",
1013
"url": "https://www.algolia.com"

packages/docsearch-react/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"version": "3.7.0",
55
"license": "MIT",
66
"homepage": "https://docsearch.algolia.com",
7-
"repository": "algolia/docsearch",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/algolia/docsearch.git"
10+
},
811
"author": {
912
"name": "Algolia, Inc.",
1013
"url": "https://www.algolia.com"

ship.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
packagesToPublish: packages,
1212
},
1313
publishCommand({ tag }) {
14-
return `yarn publish --access public --tag ${tag}`;
14+
return `npm publish --tag ${tag}`;
1515
},
1616
versionUpdated({ exec, dir, version }) {
1717
// Update package dependencies

0 commit comments

Comments
 (0)