weaviate-client

v3.0.5
JS/TS client for Weaviate
weaviate

docs

typedoc --plugin typedoc-plugin-extras --favicon public/favicon.ico --out docs/ src/

lint

eslint --ext .ts,.js .

test

jest --no-cache --useStderr --runInBand --detectOpenHandles

build

npm run build:node

format

prettier --write --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'

protos

./tools/refresh_protos.sh

schema

./tools/refresh_schema.sh

prepack

npm run build

lint:fix

npm run lint -- --fix

build:cjs

tsc --module commonjs --outDir dist/node/cjs && touch dist/node/cjs/package.json && echo '{"type": "commonjs"}' > dist/node/cjs/package.json

build:esm

tsc --module esnext --outDir dist/node/esm && touch dist/node/esm/package.json && echo '{"type": "module"}' > dist/node/esm/package.json

build:web

tsup

build:node

npm run lint && npm run build:cjs && npm run build:esm && prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'

format:dist

prettier --write --no-error-on-unmatched-pattern '**/dist/**/*.{ts,js}'

format:check

prettier --check --no-error-on-unmatched-pattern '**/*.{ts,js}' '!dist/**'

test:coverage

npm run test -- --coverage

Metadata

Downloads