Revision d497bb6a90dd3c9625c3c8e8f73278019e21983d authored by Roman Donchenko on 29 September 2023, 07:03:49 UTC, committed by GitHub on 29 September 2023, 07:03:49 UTC
This functionality has accumulated significant technical debt:

* Most importantly, it does not use the current authorization system,
  rendering it accessible only for admin users.

* It doesn't follow the regular API conventions and is not visible in
the API
  schema. This necessitates a special code in the SDK.

* The initialization code in `base.py` is not safe when multiple
instances of
the server starts at the same time (each instance may end up generating
its
  own key).

The team has decided that the cost of fixing these issues outweighs the benefit of the functionality, so remove it.
1 parent 4a487c3
Raw File
package.json
{
  "name": "cvat",
  "version": "1.0.0",
  "description": "Eslint && remarklint dependencies",
  "main": ".eslintrc.js",
  "private": true,
  "directories": {
    "test": "tests"
  },
  "workspaces": [
    "cvat-data",
    "cvat-core",
    "cvat-canvas",
    "cvat-canvas3d",
    "cvat-ui"
  ],
  "devDependencies": {
    "@babel/cli": "^7.13.16",
    "@babel/core": "^7.6.0",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-proposal-optional-chaining": "^7.11.0",
    "@babel/preset-env": "^7.6.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.6.0",
    "@babel/register": "^7.22.5",
    "@istanbuljs/nyc-config-babel": "^3.0.0",
    "@types/mousetrap": "^1.6.5",
    "@types/node": "^18.0.3",
    "@typescript-eslint/eslint-plugin": "^5.30.5",
    "@typescript-eslint/parser": "^5.30.5",
    "airbnb": "0.0.2",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.6",
    "babel-plugin-import": "^1.12.2",
    "babel-plugin-istanbul": "^6.0.0",
    "bundle-declarations-webpack-plugin": "^3.1.0",
    "copy-webpack-plugin": "^11.0.0",
    "css-loader": "^6.8.1",
    "eslint": "^7.11.0",
    "eslint-config-airbnb": "^18.0.1",
    "eslint-config-airbnb-base": "14.2.1",
    "eslint-config-airbnb-typescript": "^12.0.0",
    "eslint-plugin-cypress": "^2.11.2",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jest": "^26.5.3",
    "eslint-plugin-jsx-a11y": "^6.3.1",
    "eslint-plugin-no-unsanitized": "^3.0.2",
    "eslint-plugin-react": "^7.21.5",
    "eslint-plugin-react-hooks": "^4.2.0",
    "eslint-plugin-security": "^1.4.0",
    "html-webpack-plugin": "^5.5.0",
    "husky": "^6.0.0",
    "lint-staged": "^13.0.3",
    "micromatch": "^4.0.2",
    "nodemon": "^3.0.1",
    "nyc": "^15.1.0",
    "postcss": "8",
    "postcss-loader": "^7.3.3",
    "postcss-preset-env": "^9.0.0",
    "react-svg-loader": "^3.0.3",
    "remark-cli": "^9.0.0",
    "remark-frontmatter": "^3.0.0",
    "remark-gfm": "^1.0.0",
    "remark-lint-emphasis-marker": "^2.0.0",
    "remark-lint-list-item-spacing": "^2.0.0",
    "remark-lint-maximum-heading-length": "^2.0.0",
    "remark-lint-maximum-line-length": "^2.0.0",
    "remark-lint-no-dead-urls": "^1.0.2",
    "remark-lint-no-file-name-irregular-characters": "^1.0.3",
    "remark-lint-ordered-list-marker-style": "^2.0.0",
    "remark-lint-strong-marker": "^2.0.0",
    "remark-lint-unordered-list-marker-style": "^2.0.0",
    "remark-preset-lint-consistent": "^4.0.0",
    "remark-preset-lint-markdown-style-guide": "^4.0.0",
    "remark-preset-lint-recommended": "^5.0.0",
    "sass": "^1.42.1",
    "sass-loader": "^10.0.0",
    "source-map-support": "^0.5.19",
    "style-loader": "^1.0.0",
    "stylelint": "^15.10.2",
    "stylelint-config-standard-scss": "^10.0.0",
    "typescript": "^5.0.2",
    "vfile-reporter-json": "^2.0.2",
    "webpack": "^5.76.0",
    "webpack-cli": "^4.9.2",
    "webpack-dev-server": "4.9",
    "worker-loader": "^3.0.8"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "coverage": "yarn run instrument && yarn run cp && yarn run rm",
    "instrument": "nyc instrument cvat-ui cvat-ui_cov && nyc instrument cvat-canvas cvat-canvas_cov && nyc instrument cvat-canvas3d cvat-canvas3d_cov && nyc instrument cvat-data cvat-data_cov && nyc instrument cvat-core cvat-core_cov",
    "cp": "cp -r cvat-ui_cov/* cvat-ui && cp -r cvat-canvas_cov/* cvat-canvas && cp -r cvat-canvas3d_cov/* cvat-canvas3d && cp -r cvat-data_cov/* cvat-data && cp -r cvat-core_cov/* cvat-core",
    "rm": "rm -rf cvat-ui_cov cvat-canvas_cov cvat-canvas3d_cov cvat-data_cov cvat-core_cov",
    "prepare": "if [ -z \"${DISABLE_HUSKY}\" ]; then yarn run setup:husky; fi",
    "setup:husky": "husky install && rm .husky/pre-commit; npx husky add .husky/pre-commit \"npx lint-staged\"",
    "precommit:cvat-tests": "cd tests && eslint --fix",
    "precommit:cvat-data": "cd cvat-data && eslint --fix",
    "precommit:cvat-core": "cd cvat-core && eslint --fix",
    "precommit:cvat-canvas": "cd cvat-canvas && eslint --fix",
    "precommit:cvat-canvas3d": "cd cvat-canvas3d && eslint --fix",
    "precommit:cvat-ui": "cd cvat-ui && eslint --fix",
    "build:cvat-ui": "yarn workspace cvat-ui run build",
    "build:cvat-canvas": "yarn workspace cvat-canvas run build",
    "build:cvat-canvas3d": "yarn workspace cvat-canvas3d run build",
    "build:cvat-core": "yarn workspace cvat-core run build",
    "build:cvat-data": "yarn workspace cvat-data run build",
    "server:cvat-canvas": "yarn workspace cvat-canvas run server",
    "server:cvat-canvas3d": "yarn workspace cvat-canvas3d run server",
    "server:cvat-data": "yarn workspace cvat-data run server",
    "start:cvat-ui": "yarn workspace cvat-ui run start"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cvat-ai/cvat.git"
  },
  "author": "CVAT.ai",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/cvat-ai/cvat/issues"
  },
  "homepage": "https://github.com/cvat-ai/cvat#readme",
  "resolutions": {
    "@types/react": "^17.0.30",
    "@types/react-dom": "^18.0.5",
    "@types/react-redux": "^7.1.24",
    "@types/react-router-dom": "^5.3.3",
    "@types/prettier": "2.4.1"
  },
  "dependencies": {
    "@types/fabric": "^4.5.7",
    "fabric": "^5.2.1"
  }
}
back to top