mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
This PR will merge and update the list of embedded repos we have on sourcegraph.com. It uses the sourcegraph graphQL to pull a list of all embedded repos, filters & sorts the list, and then updates the markdown `embedded-repos.md`. The update workflow will run everyday @ `0:00 UTC` and the automatic merge follows @ `0:05 UTC`. ## Test plan `npm test` run locally: 1. get access from [here](https://start.1password.com/open/i?a=HEDEDSLHPBFGRBTKAKJWE23XX4&v=dnrhbauihkhjs5ag6vszsme45a&i=za6swt25wax766z6pe7wpczxxe&h=team-sourcegraph.1password.com) 2. set access token `set SOURCEGRAPH_DOCS_ACCESS_TOKEN=<access_token>` or hard code `const access_token = <access_token>` 3. run `ts-node src/index.ts` output should be embedded-repos.md <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles --> --------- Co-authored-by: Beatrix <68532117+abeatrix@users.noreply.github.com>
25 lines
516 B
JSON
25 lines
516 B
JSON
{
|
|
"name": "list-embeddings",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start:dev": "npx nodemon",
|
|
"build": "ts-node ./src/index.ts",
|
|
"test": "jest ./src/index.test.ts --forceExit"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@types/node": "^18.16.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.0.4"
|
|
},
|
|
"dependencies": {
|
|
"node-fetch": "^2.6.5",
|
|
"typescript": "^5.0.4",
|
|
"@types/node": "^18.16.1"
|
|
}
|
|
}
|