bump JS version and update release process (#643)

Update our release process for JS to avoid missing a fresh build.
This commit is contained in:
Jeff Huber
2023-05-30 16:55:16 -07:00
committed by GitHub
parent 36855ea689
commit bfe9fe7b6a
2 changed files with 4 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ This readme is helpful for local dev.
The goal of the design is that this will be added to our github action releases so that the JS API is always up to date and pinned against the python backend API.
`npm publish` pushes the `package.json` defined packaged to the package manager for authenticated users.
`yarn release` pushes the `package.json` defined packaged to the package manager for authenticated users. It will build, test, and then publish the new version.
### Useful links

View File

@@ -1,6 +1,6 @@
{
"name": "chromadb",
"version": "1.5.0",
"version": "1.5.1",
"description": "A JavaScript interface for chroma",
"keywords": [],
"author": "",
@@ -37,6 +37,7 @@
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"genapi": "./genapi.sh",
"prettier": "prettier --write ."
"prettier": "prettier --write .",
"release": "run-s build test:run && npm publish"
}
}