0.1.17 • Published 2 years ago

@sourcegraph/lsif-typescript v0.1.17

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

lsif-typescript

LSIF indexer for TypeScript and JavaScript.

Quick start

Installation

npm install -g @sourcegraph/lsif-typescript

Indexing a TypeScript project

Navigate to the project root, containing tsconfig.json.

npm install # or yarn install
lsif-typescript index

Indexing a JavaScript project

Navigate to the project root, containing package.json.

npm install # or yarn install
lsif-typescript index --infer-tsconfig

To improve the quality of indexing results for JavaScript, consider adding @types/* packages as devDependencies in package.json.

Index a TypeScript project using Yarn workspaces

Navigate to the project root, containing package.json.

npm install # or yarn install
lsif-typescript index --yarn-workspaces

Indexing in CI

Add the following run steps to your CI pipeline:

npm install -g @sourcegraph/lsif-typescript
npm install # or yarn install
lsif-typescript index
# From https://github.com/sourcegraph/src-cli/
curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src
chmod +x /usr/local/bin/src
# Upload index with any necessary tokens (shown here using GitHub workflow syntax)
src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress

For more examples, see the Sourcegraph docs.

Contributing

See Development.md for docs on how to work on this project.

Contributors should follow the Sourcegraph Community Code of Conduct.

0.1.15

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago