Skip to content

Commit 9959a9e

Browse files
Document migration from lsif-node (#156)
* Document migration from lsif-node * docs: Remove incorrect bullets at line start Co-authored-by: Varun Gandhi <varun.gandhi@sourcegraph.com>
1 parent 41b5655 commit 9959a9e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@ src lsif upload -github-token='${{ secrets.GITHUB_TOKEN }}' -no-progress
5757
For more examples, see the
5858
[Sourcegraph docs](https://docs.sourcegraph.com/code_intelligence/how-to/index_a_typescript_and_javascript_repository).
5959

60+
## Migrating from lsif-node
61+
62+
Before creating scip-typescript, we used another TypeScript indexer called
63+
[lsif-node](https://github.com/sourcegraph/lsif-node). We recommend migrating
64+
to scip-typescript if you are using lsif-node.
65+
66+
Follow the steps below to migrate from lsif-node to scip-typescript:
67+
68+
- Replace usages of the `lsif-tsc -p ARGUMENTS` command with `scip-typescript index ARGUMENTS`.
69+
- Upgrade to the latest version of the `src` command-line interface, which you
70+
can install via `yarn global add @sourcegraph/src`. It’s okay if the version
71+
of your `src` command-line interface does not match the version of your
72+
Sourcegraph instance.
73+
6074
## Contributing
6175

6276
See [Development.md](./Development.md) for docs on how to work on this project.

0 commit comments

Comments
 (0)