sourcegraph/client/client-api
Greg Magolan 09d898704a
build: update to Aspect CLI 5.5.2 (#53692)
Required adding a few import ignore directives in
`client/web/BUILD.bazel`. @jbedard is working on a fix for those. Has to
do with tsconfig paths. Fix will land in a future release.

## Test plan

5.4.11 output:

```
$ bazel configure
Updating BUILD files for protobuf, go, javascript
WARN[0000] Failed to load base tsconfig file @sourcegraph/tsconfig: open /Users/greg/aspect/sourcegraph/sourcegraph/@sourcegraph/tsconfig: no such file or directory 
client/app-shell/src/app-shell.tsx parse error(s):
50: Top-level await is currently not supported with the "iife" output format
Failed to parse tsconfig file client/completions-review-tool/tsconfig.json: ERR: position:298 object key must be string pos:298 : 
933 BUILD files visited
0 BUILD files updated
```

5.5.2 output has some new spam as well:

```
$ bazel configure
Updating BUILD files for protobuf, go, javascript
WARN[0000] Failed to load base tsconfig file @sourcegraph/tsconfig: open /Users/greg/aspect/sourcegraph/sourcegraph/@sourcegraph/tsconfig: no such file or directory 
Failed to parse tsconfig file client/completions-review-tool/tsconfig.json: ERR: position:298 object key must be string pos:298 : 
client/web/src/globals.d.ts:
	     17: }
         ^

client/web/src/storm/backend/route-loader.ts:
	     41:     usePreloadedQueryData: () => ReturnType<typeof useSuspenseQuery<D, V>>
                                                    ^
	     41:     usePreloadedQueryData: () => ReturnType<typeof useSuspenseQuery<D, V>>
                                                     ^

934 BUILD files visited
0 BUILD files updated
```
2023-06-22 18:33:15 +02:00
..
src Go to definition: push current location into browser history (#50349) 2023-04-11 15:27:41 +00:00
.eslintignore Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
.eslintrc.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
babel.config.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
BUILD.bazel build: update to Aspect CLI 5.5.2 (#53692) 2023-06-22 18:33:15 +02:00
jest.config.js Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
package.json web: fix pnpm-lock issue (#47478) 2023-02-09 22:04:31 -08:00
README.md Create a client-api package (#31151) 2022-03-17 01:17:26 -07:00
tsconfig.json Revert "revert "bazel: improve ESLint rule" (#52853)" (#52878) 2023-06-04 19:06:39 -07:00

Client API

Sourcegraph Client API