open-index/open-npm huggingface dataset:
npm package: @go1d/retriever
Description: Explore UI
Latest version: 3.0.59

# Go1d Retriever ![test coverage](https://code.go1.com.au/go1d/retriever/badges/master/coverage.svg)

## Maintainers

Content Discovery `#team-content-discovery`

## Start

```sh
npm ci
npm run dev:setup
pushd ../prospector && npm link ../retriever/build && popd
npm run dev:link ../prospector
npm run dev:watch
```

## Run Storybook

```sh
npm run storybook
```

## Run i18n tests

```sh
npm ci
npm run lingui:extract
npm run lingui:compile
npm run test:i18n -- --coverage
```

## Develop

### Update typings

For who use Windows you can follow this: Update package.json of schema:update script to `set QUERY_ENDPOINT=https://api.qa.go1.cloud/query & sh ./tools/updateSchema.sh`

```

Use 1query on QA environment:

```
export QUERY_ENDPOINT=https://api.qa.go1.cloud/query && npm run schema:update
```

Use 1query on your local machine:

```sh
export QUERY_ENDPOINT=http://localhost:6382 && npm run schema:update
```

## Known issues

### Peer deps

In order to upgrade to latest shared packages which means we need to upgrade to `react@^17.x` however this package `react-apollo@(2|3)x` requires `react@^16.x` so we really need to upgrade this package although looks like there's no issue right now based on `content-selector` consumes this package without issues.

To work with new npm checking deps, we have to hack around by using legacy peer deps in `.npmrc` so this setting should be removed as soon as this package got updated to support `react@^17`.