You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kirill Sizov 2240b3f4aa
Replace npm with yarn (#113)
* package.json: private true

* delete package-lock.json

* cvat-core/package.json: fix path for cvat-data

* replace npm with yarn

* replace npm with yarn

* add yarn.lock files

* replace npm with yarn

* remark: replace npm with yarn

* fixes

* fixes

* alligment

* workflows: replace npm with yarn

* revert husky version

* replace npm with yarn on ci image

* add yarn for ci image

* enable debug mode for main workflow

* debug mode

* v0.0.0

* resolve dependencies issues

* update docs

* exit debug mode

* add yarn.lock to the ui image

* fix three version

* resolve conflicts

* [no ci] use yarn instead of npm

* fix src path
4 years ago
..
dist React, Antd, Redux: Left sidebar and top for annotation page (#963) 6 years ago
src Fixed Intel license headers (#119) 4 years ago
.dockerignore User interface with React and antd (#785) 6 years ago
.env Fixed Intel license headers (#119) 4 years ago
.eslintignore Projects (#2255) 5 years ago
.eslintrc.js Typescripted cvat-core, cvat-data (#120) 4 years ago
README.md Replace npm with yarn (#113) 4 years ago
index.d.ts Fixed Intel license headers (#119) 4 years ago
package.json Replace npm with yarn (#113) 4 years ago
react_nginx.conf Don't cache index.html (#4277) 4 years ago
tsconfig.json Reformatted (#2349) 5 years ago
webpack.config.js Typescripted cvat-core, cvat-data (#120) 4 years ago

README.md

cvat-ui module

Description

This is a client UI for Computer Vision Annotation Tool based on React, Redux and Antd

Versioning

If you make changes in this package, please do following:

  • After not important changes (typos, bug fixes, refactoring) do: yarn version --patch
  • After adding new features do: yarn version --minor
  • After significant UI redesign do: yarn version --major

Important: If you have changed versions for cvat-core, cvat-canvas, cvat-data, you also need to do yarn install to update package-lock.json

Commands

  • Installing dependencies:
cd ../cvat-core && yarn --frozen-lockfile && cd - && yarn --frozen-lockfile
  • Running development UI server with autorebuild on change
yarn run start
  • Building the module from sources in the dist directory:
yarn run build
yarn run build --mode=development     # without a minification

Important: You also have to run CVAT REST API server (please read https://openvinotoolkit.github.io/cvat/docs/contributing/) to correct working since UI gets all necessary data (tasks, users, annotations) from there