@go1d/retriever
v3.0.57
Published
Explore UI
Downloads
860
Readme
Go1d Retriever
Maintainers
Content Discovery #team-content-discovery
Start
npm ci
npm run dev:setup
pushd ../prospector && npm link ../retriever/build && popd
npm run dev:link ../prospector
npm run dev:watch
Run Storybook
npm run storybook
Run i18n tests
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
.